Package org.kendar.sync.lib.protocol
Class KeepAlive
java.lang.Object
org.kendar.sync.lib.protocol.Message
org.kendar.sync.lib.protocol.KeepAlive
Message sent before transferring a file to describe its metadata.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Messagedeserialize(ByteContainer buffer) Gets the message type for this message.protected voidserialize(ByteContainer buffer) Methods inherited from class org.kendar.sync.lib.protocol.Message
deserialize, deserialize, getConnectionId, getPacketId, getSessionId, initialize, serialize
-
Constructor Details
-
KeepAlive
public KeepAlive()
-
-
Method Details
-
getMessageType
Description copied from class:MessageGets the message type for this message.- Specified by:
getMessageTypein classMessage- Returns:
- The message type
-
deserialize
- Specified by:
deserializein classMessage
-
serialize
-