Class MessageC2SKeepAlive

java.lang.Object
marauroa.common.net.message.Message
marauroa.common.net.message.MessageC2SKeepAlive
All Implemented Interfaces:
Serializable

public class MessageC2SKeepAlive extends Message
This message is sent from client to server to indicate that he is still there and that wants to be considered connected.

There are strange situations on TCP that cause a considerable amount of time to be ellapsed until the stack realized that a timeout happens.

  • Constructor Details

    • MessageC2SKeepAlive

      public MessageC2SKeepAlive()
      Constructor for allowing creation of an empty message
    • MessageC2SKeepAlive

      public MessageC2SKeepAlive(Channel source)
      Constructor with a TCP/IP source/destination of the message
      Parameters:
      source - The TCP/IP address associated to this message
  • Method Details