Uses of Class
org.kendar.sync.lib.protocol.Message
Packages that use Message
-
Uses of Message in org.kendar.sync.lib.network
Methods in org.kendar.sync.lib.network that return MessageMethods in org.kendar.sync.lib.network with parameters of type MessageModifier and TypeMethodDescriptionvoidTcpConnection.sendMessage(Message message) Sends a message. -
Uses of Message in org.kendar.sync.lib.protocol
Subclasses of Message in org.kendar.sync.lib.protocolModifier and TypeClassDescriptionclassMessage sent by the client to connect to the server.classMessage sent by the server in response to a connection request.classMessage used to report errors during the synchronization process.classMessage sent before transferring a file to describe its metadata.classMessage containing a chunk of file data.classMessage sent in response to a file descriptor message to acknowledge that the receiver is ready to receive the file data.classMessage sent before transferring a file to describe its metadata.classMessage sent in response to a file end message to acknowledge that the file has been successfully received.classMessage sent after all blocks of a file have been transferred to signal the end of the file transfer.classMessage sent by the client to the server with a list of files in the source directory.classMessage sent by the server to the client in response to a file list message.classMessage sent by the client to the server with a list of files in the source directory.classMessage sent in response to a file end message to acknowledge that the file has been successfully received.classMessage sent before transferring a file to describe its metadata.classMessage sent before transferring a file to describe its metadata.classMessage sent before transferring a file to describe its metadata.classMessage sent by the server to the client in response to a sync end message to acknowledge the end of the synchronization session.classMessage sent by the client to the server to signal the end of a synchronization session.Methods in org.kendar.sync.lib.protocol with type parameters of type MessageModifier and TypeMethodDescriptionstatic <T extends Message>
TMessage.deserialize(byte[] data, Class<T> clazz) Deserializes a message from a JSON byte array.Methods in org.kendar.sync.lib.protocol that return MessageModifier and TypeMethodDescriptionMessageType.createInstance()protected MessageConnectMessage.deserialize(ByteContainer buffer) protected MessageConnectResponseMessage.deserialize(ByteContainer buffer) protected MessageErrorMessage.deserialize(ByteContainer buffer) protected MessageFileDataAck.deserialize(ByteContainer buffer) protected MessageFileDataMessage.deserialize(ByteContainer buffer) protected MessageFileDescriptorAckMessage.deserialize(ByteContainer buffer) protected MessageFileDescriptorMessage.deserialize(ByteContainer buffer) protected MessageFileEndAckMessage.deserialize(ByteContainer buffer) protected MessageFileEndMessage.deserialize(ByteContainer buffer) protected MessageFileListMessage.deserialize(ByteContainer buffer) protected MessageFileListResponseMessage.deserialize(ByteContainer buffer) protected MessageFileSyncMessage.deserialize(ByteContainer buffer) protected MessageFileSyncMessageAck.deserialize(ByteContainer buffer) protected MessageKeepAlive.deserialize(ByteContainer buffer) static MessageMessage.deserialize(byte[] data) Deserializes a message from a JSON byte array.protected abstract MessageMessage.deserialize(ByteContainer buffer) protected MessageStartRestore.deserialize(ByteContainer buffer) protected MessageStartRestoreAck.deserialize(ByteContainer buffer) protected MessageSyncEndAckMessage.deserialize(ByteContainer buffer) protected MessageSyncEndMessage.deserialize(ByteContainer buffer)