|
||||||||||
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.IChatMeMessage
public class IChatMeMessage
iChat me 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 | |
---|---|
IChatMeMessage(int aMsgNumber,
IChatSender aSender,
java.lang.String aLine,
java.lang.String aText,
java.lang.String aRecepient)
Constructor. |
Method Summary | |
---|---|
void |
acceptVisitor(IChatMessageVisitor aVisitor)
Accepts the IChatMessageVisitor implementations. |
java.lang.String |
getLine()
Returns the line name. |
java.lang.String |
getRecepient()
Returns the receiver. |
java.lang.String |
getText()
Returns "me" message text. |
static IChatMeMessage |
newInstance(int aMsgNumber,
IChatSender aSender,
IChatParameterAccessor aParameters)
Returns new message instance by the given raw parameters array. |
IChatMeMessage |
updateText(java.lang.String text)
Creates new message 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 IChatMeMessage(int aMsgNumber, IChatSender aSender, java.lang.String aLine, java.lang.String aText, java.lang.String aRecepient)
aMsgNumber
- aCommand
- aSender
- aParameters
- Method Detail |
---|
public java.lang.String getLine()
public java.lang.String getText()
public IChatMeMessage updateText(java.lang.String text)
text
-
public java.lang.String getRecepient()
public static IChatMeMessage 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 |