Package marauroa.common.net.message
Class MessageS2CLoginSendNonce
java.lang.Object
marauroa.common.net.message.Message
marauroa.common.net.message.MessageSendByteArray
marauroa.common.net.message.MessageS2CLoginSendNonce
- All Implemented Interfaces:
Serializable
This message indicate the client the choosen server NONCE value by sending it a
hash of it.
- See Also:
Message
-
Nested Class Summary
Nested classes/interfaces inherited from class marauroa.common.net.message.Message
Message.MessageType
-
Field Summary
Fields inherited from class marauroa.common.net.message.MessageSendByteArray
hash
Fields inherited from class marauroa.common.net.message.Message
channel, clientid, CLIENTID_INVALID, protocolVersion, timestampMessage, type
-
Constructor Summary
ConstructorDescriptionConstructor for allowing creation of an empty messageMessageS2CLoginSendNonce(Channel source, byte[] hash)
Constructor with a TCP/IP source/destination of the message and the name of the choosen character. -
Method Summary
Methods inherited from class marauroa.common.net.message.MessageSendByteArray
getHash, writeObject
Methods inherited from class marauroa.common.net.message.Message
getAddress, getChannel, getClientID, getMessageTimestamp, getProtocolVersion, getType, internalToString, isPerception, isSkippable, readFromMap, requiresPerception, setChannel, setClientID, setProtocolVersion, writeToJson
-
Constructor Details
-
MessageS2CLoginSendNonce
public MessageS2CLoginSendNonce()Constructor for allowing creation of an empty message -
MessageS2CLoginSendNonce
Constructor with a TCP/IP source/destination of the message and the name of the choosen character.- Parameters:
source
- The TCP/IP address associated to this messagehash
- The nonce to send to the client.
-
-
Method Details
-
toString
-
readObject
Description copied from class:Message
Serialize the object from an ObjectInput- Specified by:
readObject
in interfaceSerializable
- Overrides:
readObject
in classMessageSendByteArray
- Parameters:
in
- the input serializer- Throws:
IOException
- if the serializations fails
-