com.web_visage.ichat.messages
Class IChatDisconnectMessage

java.lang.Object
  extended by com.web_visage.ichat.IChatMessage
      extended by com.web_visage.ichat.messages.IChatDisconnectMessage
All Implemented Interfaces:
ByteRepresentable, IChatMessageConstants

public class IChatDisconnectMessage
extends IChatMessage

IChat disconnect message.

Author:
K.Baturytski

Field Summary
 
Fields inherited from interface com.web_visage.ichat.IChatMessageConstants
BEGIN_END_MARKER, COMMON_LINE, ICHAT_TAG, PRIVATE_TAG, SEPARATOR, WILDCARD
 
Constructor Summary
IChatDisconnectMessage(int aMsgNumber, IChatSender aSender, java.lang.String aLineName)
          Constructor.
 
Method Summary
 void acceptVisitor(IChatMessageVisitor aVisitor)
          Accepts the IChatMessageVisitorimplementations.
 java.lang.String getLine()
          Returns the line name.
static IChatDisconnectMessage newInstance(int aMsgNumber, IChatSender aSender, IChatParameterAccessor aParameters)
          Creates a message instance 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

IChatDisconnectMessage

public IChatDisconnectMessage(int aMsgNumber,
                              IChatSender aSender,
                              java.lang.String aLineName)
Constructor.

Parameters:
aMsgNumber -
aSender -
aLineName -
Method Detail

getLine

public final java.lang.String getLine()
Returns the line name.

Returns:

newInstance

public static IChatDisconnectMessage newInstance(int aMsgNumber,
                                                 IChatSender aSender,
                                                 IChatParameterAccessor aParameters)
Creates a message instance by the given raw parameters array.

Parameters:
aMsgNumber -
aSender -
aParameters -
Returns:

acceptVisitor

public void acceptVisitor(IChatMessageVisitor aVisitor)
Description copied from class: IChatMessage
Accepts the IChatMessageVisitorimplementations.

Specified by:
acceptVisitor in class IChatMessage
See Also:
IChatMessage.acceptVisitor(com.web_visage.ichat.IChatMessageVisitor)