com.web_visage.ichat
Class IChatForwardMessage
java.lang.Object
com.web_visage.ichat.IChatForwardMessage
- All Implemented Interfaces:
- ByteRepresentable
public class IChatForwardMessage
- extends java.lang.Object
- implements ByteRepresentable
Public "transport" command.
Public (not encrypted) part of the message. Used to wrap "real" commands
- Author:
- K.Baturytski
Method Summary |
byte[] |
asByteArray()
Converts message into a raw byte form. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IChatForwardMessage
public IChatForwardMessage(IChatSender aSender,
java.lang.String aReceiver,
byte[] aCryptedMessage)
- Constructor.
- Parameters:
aSender
- -
a senderaReceiver
- -
a receiveraCryptedMessage
- -
crypted message
asByteArray
public byte[] asByteArray()
- Converts message into a raw byte form.
- Specified by:
asByteArray
in interface ByteRepresentable
- Returns: