|
||||||||||
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.IChatReceivedMessage
public class IChatReceivedMessage
iChat received 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 | |
---|---|
IChatReceivedMessage(int aMsgNumber,
IChatSender aSender,
java.lang.String aLine,
java.lang.String aText)
Constructor. |
Method Summary | |
---|---|
void |
acceptVisitor(IChatMessageVisitor aVisitor)
Accepts the IChatMessageVisitor implementations. |
java.lang.String |
getLine()
Returns the line name. |
java.lang.String |
getText()
Returns the message text. |
static IChatReceivedMessage |
newInstance(int aMsgNumber,
IChatSender aSender,
IChatParameterAccessor aParameters)
Creates new message instance by a given raw parameters array. |
IChatReceivedMessage |
updateText(java.lang.String text)
Creates new message with updated text. |
Methods inherited from class com.web_visage.ichat.IChatMessage |
---|
equals, getCmd, getMsgNumber, getParameter, getParameters, getSender, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IChatReceivedMessage(int aMsgNumber, IChatSender aSender, java.lang.String aLine, java.lang.String aText)
aMsgNumber
- aSender
- aParameters
- Method Detail |
---|
public java.lang.String getLine()
public java.lang.String getText()
public IChatReceivedMessage updateText(java.lang.String text)
text
-
public static IChatReceivedMessage 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |