|
||||||||||
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.IChatStatusMessage
public class IChatStatusMessage
iChat status 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 | |
---|---|
IChatStatusMessage(int aMsgNumber,
IChatSender aSender,
EnumStatus aStatus,
java.lang.String aGreetingMessage)
Constructor. |
Method Summary | |
---|---|
void |
acceptVisitor(IChatMessageVisitor aVisitor)
Accepts the IChatMessageVisitor implementations. |
java.lang.String |
getGreetingMessage()
Returns the greeting message. |
EnumStatus |
getStatus()
Returns the status. |
static IChatStatusMessage |
newInstance(int aMsgNumber,
IChatSender aSender,
IChatParameterAccessor aParameters)
Creates a message by the given raw parameters array. |
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 IChatStatusMessage(int aMsgNumber, IChatSender aSender, EnumStatus aStatus, java.lang.String aGreetingMessage)
aMsgNumber
- aCommand
- aSender
- aParameters
- Method Detail |
---|
public final EnumStatus getStatus() throws java.lang.NumberFormatException, EnumerationValueNotFoundException
java.lang.NumberFormatException
EnumerationValueNotFoundException
public final java.lang.String getGreetingMessage()
public static IChatStatusMessage newInstance(int aMsgNumber, IChatSender aSender, IChatParameterAccessor aParameters) throws EnumerationValueNotFoundException
aMsgNumber
- aSender
- aParameters
-
EnumerationValueNotFoundException
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 |