Class WhoAreYouMessage

java.lang.Object
zleurtor.scanmanager.model.messages.AbstractMessage
zleurtor.scanmanager.model.messages.WhoAreYouMessage
All Implemented Interfaces:
Serializable

public class WhoAreYouMessage extends AbstractMessage
The message sent by the server to ask a slave to identify itself.
Author:
Zleurtor
See Also:
  • Constructor Details

    • WhoAreYouMessage

      public WhoAreYouMessage()
      Constructs an empty message.
    • WhoAreYouMessage

      public WhoAreYouMessage(int theHeartbeatPort, int theHeartbeatPeriod)
      Constructs message with the given heartbeat port and period.
      Parameters:
      theHeartbeatPort - The port on which heartbeat messages are accepted.
      theHeartbeatPeriod - The period between two heartbeat messages.
  • Method Details