|
||||||||||
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.IChatConnectMessage
public class IChatConnectMessage
IChat connect message.
Holds information about user being connected to the specific line or common chat.
Field Summary |
---|
Fields inherited from interface com.web_visage.ichat.IChatMessageConstants |
---|
BEGIN_END_MARKER, COMMON_LINE, ICHAT_TAG, PRIVATE_TAG, SEPARATOR, WILDCARD |
Constructor Summary | |
---|---|
IChatConnectMessage(int aMessageId,
IChatSender aSender,
java.lang.String aLogin,
java.lang.String aNickName,
java.lang.String aLine,
java.lang.String aGreetingMessage,
EnumStatus aStatus,
java.lang.String aReceiver,
java.lang.String aVersion)
Constructor. |
Method Summary | |
---|---|
void |
acceptVisitor(IChatMessageVisitor aVisitor)
Accepts the IChatMessageVisitor implementations. |
java.lang.String |
getGreetingMessage()
Returns the greeting message. |
java.lang.String |
getLine()
Returns the line name. |
java.lang.String |
getLogin()
Returns the login. |
java.lang.String |
getNickName()
Returns the nickname. |
java.lang.String |
getReceiver()
Returns the receiver's string representation. |
EnumStatus |
getStatus()
Returns the status. |
java.lang.String |
getVersion()
Returns the version. |
static IChatConnectMessage |
newInstance(int aMessageId,
IChatSender aSender,
IChatParameterAccessor aParameters)
Creates message by raw parameters array. |
IChatConnectMessage |
updateGreetingMessage(java.lang.String message)
|
IChatConnectMessage |
updateNickname(java.lang.String nickname)
|
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 IChatConnectMessage(int aMessageId, IChatSender aSender, java.lang.String aLogin, java.lang.String aNickName, java.lang.String aLine, java.lang.String aGreetingMessage, EnumStatus aStatus, java.lang.String aReceiver, java.lang.String aVersion)
aMessageId
- aSender
- aLogin
- aNickName
- aLine
- aGreetingMessage
- aStatus
- aReceiver
- aVersion
- Method Detail |
---|
public final java.lang.String getLine()
public final java.lang.String getLogin()
public final java.lang.String getNickName()
public final java.lang.String getGreetingMessage()
public final java.lang.String getReceiver()
public final java.lang.String getVersion()
public final EnumStatus getStatus() throws java.lang.NumberFormatException, EnumerationValueNotFoundException
java.lang.NumberFormatException
EnumerationValueNotFoundException
public IChatConnectMessage updateGreetingMessage(java.lang.String message) throws java.lang.NumberFormatException, EnumerationValueNotFoundException
java.lang.NumberFormatException
EnumerationValueNotFoundException
public IChatConnectMessage updateNickname(java.lang.String nickname) throws java.lang.NumberFormatException, EnumerationValueNotFoundException
java.lang.NumberFormatException
EnumerationValueNotFoundException
public static IChatConnectMessage newInstance(int aMessageId, IChatSender aSender, IChatParameterAccessor aParameters) throws java.lang.NumberFormatException, EnumerationValueNotFoundException
aMessageId
- aSender
- aParameters
-
EnumerationValueNotFoundException
java.lang.NumberFormatException
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 |