|
||||||||||
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.IChatBoardMessage
public class IChatBoardMessage
IChat board message.
Holds board message text of some board's block.
Field Summary |
---|
Fields inherited from interface com.web_visage.ichat.IChatMessageConstants |
---|
BEGIN_END_MARKER, COMMON_LINE, ICHAT_TAG, PRIVATE_TAG, SEPARATOR, WILDCARD |
Constructor Summary | |
---|---|
IChatBoardMessage(int aMsgNumber,
IChatSender aSender,
int aBlockNumber,
java.lang.String aText)
Constructor. |
Method Summary | |
---|---|
void |
acceptVisitor(IChatMessageVisitor aVisitor)
Accepts the IChatMessageVisitor implementations. |
int |
getBlockNumber()
Returns message block number. |
java.lang.String |
getText()
Returns board message body. |
static IChatBoardMessage |
newInstance(int aMsgNumber,
IChatSender aSender,
IChatParameterAccessor anAccessor)
Returns message instance by given raw parameters array. |
IChatBoardMessage |
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 IChatBoardMessage(int aMsgNumber, IChatSender aSender, int aBlockNumber, java.lang.String aText)
aMsgNumber
- aCommand
- aSender
- aBlockNumber
- aText
- Method Detail |
---|
public int getBlockNumber()
public java.lang.String getText()
public IChatBoardMessage updateText(java.lang.String text)
text
-
public static IChatBoardMessage newInstance(int aMsgNumber, IChatSender aSender, IChatParameterAccessor anAccessor)
aMsgNumber
- aSender
- aBlockNumber
- aText
-
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 |