com.web_visage.ichat.messages
Class IChatRenameMessage
java.lang.Object
com.web_visage.ichat.IChatMessage
com.web_visage.ichat.messages.IChatRenameMessage
- All Implemented Interfaces:
- ByteRepresentable, IChatMessageConstants
public class IChatRenameMessage
- extends IChatMessage
iChat rename message.
- Author:
- K.Baturytski
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
IChatRenameMessage
public IChatRenameMessage(int aMsgNumber,
IChatSender aSender,
java.lang.String aNewNickname)
- Constructor.
- Parameters:
aMsgNumber
- aCommand
- aSender
- aParameters
-
getNickName
public java.lang.String getNickName()
- Returns the nickname.
- Returns:
newInstance
public static IChatRenameMessage newInstance(int aMsgNumber,
IChatSender aSender,
IChatParameterAccessor aParameters)
- Creates new message instance by a given raw parameters array.
- Parameters:
aMsgNumber
- aSender
- aParameters
-
- Returns:
acceptVisitor
public void acceptVisitor(IChatMessageVisitor aVisitor)
- Description copied from class:
IChatMessage
- Accepts the
IChatMessageVisitor
implementations.
- Specified by:
acceptVisitor
in class IChatMessage
- See Also:
IChatMessage.acceptVisitor(com.web_visage.ichat.IChatMessageVisitor)