JML

net.sf.jml.protocol.incoming
Class IncomingCHG

java.lang.Object
  extended by net.sf.jml.protocol.MsnMessage
      extended by net.sf.jml.protocol.MsnIncomingMessage
          extended by net.sf.jml.protocol.incoming.IncomingCHG

public class IncomingCHG
extends MsnIncomingMessage

OutgoingCHG's response message. User changes status.

Supported Protocol: All

MSNP8 Syntax: CHG trId userStatus clientId

MSNP9/MSNP10 Syntax: CHG trId userStatus clientId( msnObject)

Author:
Roger Chen

Field Summary
 
Fields inherited from class net.sf.jml.protocol.MsnMessage
protocol
 
Constructor Summary
IncomingCHG(MsnProtocol protocol)
           
 
Method Summary
 int getClientId()
           
 String getMsnObject()
           
 MsnUserStatus getStatus()
           
protected  void messageReceived(MsnSession session)
          The message have received.
 
Methods inherited from class net.sf.jml.protocol.MsnIncomingMessage
getOutgoingMessage
 
Methods inherited from class net.sf.jml.protocol.MsnMessage
addParam, asString, clearParams, getChunkData, getCommand, getParam, getParamCount, getProtocol, getTransactionId, isSupportChunkData, isSupportTransactionId, load, save, setChunkData, setChunkData, setCommand, setParam, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncomingCHG

public IncomingCHG(MsnProtocol protocol)
Method Detail

getStatus

public MsnUserStatus getStatus()

getClientId

public int getClientId()

getMsnObject

public String getMsnObject()

messageReceived

protected void messageReceived(MsnSession session)
Description copied from class: MsnIncomingMessage
The message have received.

Overrides:
messageReceived in class MsnIncomingMessage
Parameters:
session - the MsnSession which received the message

JML