|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.web_visage.ichat.IChatMessage com.web_visage.ichat.messages.IChatTextMessage
public class IChatTextMessage
IChat text message.
Field Summary |
---|
Fields inherited from interface com.web_visage.ichat.IChatMessageConstants |
---|
BEGIN_END_MARKER, COMMON_LINE, ICHAT_TAG, PRIVATE_TAG, SEPARATOR, WILDCARD |
Constructor Summary | |
---|---|
IChatTextMessage(int aMsgNumber,
IChatSender aSender,
java.lang.String aLineName,
java.lang.String aText,
java.lang.String aReceiver)
Constructor. |
Method Summary | |
---|---|
void |
acceptVisitor(IChatMessageVisitor aVisitor)
Accepts the IChatMessageVisitor implementations. |
java.lang.String |
getLineName()
Returns the line name. |
java.lang.String |
getReceiver()
Returns the string representation of the receiver. |
java.lang.String |
getText()
Returns the message text. |
static IChatTextMessage |
newInstance(int aMsgNumber,
IChatSender aSender,
IChatParameterAccessor aParameters)
Creates new message by raw parameters array. |
IChatTextMessage |
updateText(java.lang.String text)
Creates IChatTextMessage object with updated text. |
Methods inherited from class com.web_visage.ichat.IChatMessage |
---|
asByteArray, equals, getCmd, getMsgNumber, getParameter, getParameters, getSender, getSize, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IChatTextMessage(int aMsgNumber, IChatSender aSender, java.lang.String aLineName, java.lang.String aText, java.lang.String aReceiver)
aMsgNumber
- aSender
- aLineName
- aText
- aReceiver
- Method Detail |
---|
public final java.lang.String getLineName()
public final java.lang.String getText()
public final java.lang.String getReceiver()
public static IChatTextMessage newInstance(int aMsgNumber, IChatSender aSender, IChatParameterAccessor aParameters)
aMsgNumber
- aSender
- aParameters
-
public void acceptVisitor(IChatMessageVisitor aVisitor)
IChatMessage
IChatMessageVisitor
implementations.
acceptVisitor
in class IChatMessage
IChatMessage.acceptVisitor(com.web_visage.ichat.IChatMessageVisitor)
public IChatTextMessage updateText(java.lang.String text)
text
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |