com.web_visage.ichat
Class IChatForwardMessage

java.lang.Object
  extended by 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

Constructor Summary
IChatForwardMessage(IChatSender aSender, java.lang.String aReceiver, byte[] aCryptedMessage)
          Constructor.
 
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
 

Constructor Detail

IChatForwardMessage

public IChatForwardMessage(IChatSender aSender,
                           java.lang.String aReceiver,
                           byte[] aCryptedMessage)
Constructor.

Parameters:
aSender - - a sender
aReceiver - - a receiver
aCryptedMessage - - crypted message
Method Detail

asByteArray

public byte[] asByteArray()
Converts message into a raw byte form.

Specified by:
asByteArray in interface ByteRepresentable
Returns: