JML

net.sf.jml.protocol.outgoing
Class OutgoingCHG

java.lang.Object
  extended by net.sf.jml.protocol.MsnMessage
      extended by net.sf.jml.protocol.MsnOutgoingMessage
          extended by net.sf.jml.protocol.outgoing.OutgoingCHG

public class OutgoingCHG
extends MsnOutgoingMessage

Change user status.

Supported Protocol: All

Syntax: CHG trId userStatus clientId

Author:
Roger Chen

Field Summary
 
Fields inherited from class net.sf.jml.protocol.MsnMessage
protocol
 
Constructor Summary
OutgoingCHG(MsnProtocol protocol)
           
 
Method Summary
 MsnClientId getClientId()
           
 MsnUserStatus getStatus()
           
 boolean isFirstSend()
           
 void setClientId(MsnClientId clientId)
           
 void setDisplayPicture(MsnObject msnObj)
           
 void setFirstSend(boolean firstSend)
          When first send, will received some init status messages.
 void setStatus(MsnUserStatus status)
           
 
Methods inherited from class net.sf.jml.protocol.MsnOutgoingMessage
messageSent, receivedResponse
 
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

OutgoingCHG

public OutgoingCHG(MsnProtocol protocol)
Method Detail

isFirstSend

public boolean isFirstSend()

setFirstSend

public void setFirstSend(boolean firstSend)
When first send, will received some init status messages.

Parameters:
firstSend - is first send

setStatus

public void setStatus(MsnUserStatus status)

setDisplayPicture

public void setDisplayPicture(MsnObject msnObj)

setClientId

public void setClientId(MsnClientId clientId)

getStatus

public MsnUserStatus getStatus()

getClientId

public MsnClientId getClientId()

JML