Class MessageSendByteArray

java.lang.Object
marauroa.common.net.message.Message
marauroa.common.net.message.MessageSendByteArray
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MessageC2SLoginSendNonceNameAndPassword, MessageC2SLoginSendNonceNamePasswordAndSeed, MessageC2SLoginSendPromise, MessageC2SLoginSendUsernameAndPassword, MessageS2CLoginSendNonce

public class MessageSendByteArray extends Message
This message is a generic message that send a byte array.
See Also:
Message
  • Field Details

    • hash

      protected byte[] hash
  • Constructor Details

    • MessageSendByteArray

      public MessageSendByteArray(Message.MessageType type)
      Constructor for allowing creation of an empty message
      Parameters:
      type - tpye of message
    • MessageSendByteArray

      public MessageSendByteArray(Message.MessageType type, Channel source, byte[] hash)
      Constructor with a TCP/IP source/destination of the message and the byte array to send.
      Parameters:
      type - tpye of message
      source - The TCP/IP address associated to this message
      hash - The byte array you want to send.
  • Method Details