com.web_visage.ichat
Class IChatMessageReceiverPair

java.lang.Object
  extended by com.web_visage.ichat.IChatMessageReceiverPair

public class IChatMessageReceiverPair
extends java.lang.Object

Wrapper for holding both message and receiver to which this message should be delivered to.

Immutable, thread safe.

Author:
K.Baturytski

Constructor Summary
IChatMessageReceiverPair(IChatMessage aMessage, java.lang.String aReceiver)
          Constructor.
 
Method Summary
 IChatMessage getMessage()
          Returns the message.
 java.lang.String getReceiver()
          Returns the receiver.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IChatMessageReceiverPair

public IChatMessageReceiverPair(IChatMessage aMessage,
                                java.lang.String aReceiver)
Constructor.

Parameters:
aMessage -
aReceiver -
Method Detail

getMessage

public IChatMessage getMessage()
Returns the message.

Returns:

getReceiver

public java.lang.String getReceiver()
Returns the receiver.

Returns: