JML

net.sf.jml.protocol.incoming
Class IncomingREM

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

public class IncomingREM
extends MsnIncomingMessage

The notice message of other user remove you from his contact list or the response message of OutgoingREM.

Supported Protocol: All

MSNP8/MSNP9 Syntax 1: REM trId AL|BL|FL versionNum id( groupId)

MSNP8/MSNP9 Syntax 2: REM 0 RL versionNum email

MSNP10 Syntax 1: REM trId AL|BL|FL id( groupId)

MSNP10 Syntax 2: REM 0 RL email

Syntax 1 is the response of OutgoingREM. For example: REM 32 FL 1203 principal@msn.com 1

Syntax 2 is the notice when other user remove you. For example: REM 0 RL 3050 example@passport.com

Author:
Roger Chen

Field Summary
 
Fields inherited from class net.sf.jml.protocol.MsnMessage
protocol
 
Constructor Summary
IncomingREM(MsnProtocol protocol)
           
 
Method Summary
 Email getEmail()
           
 String getGroupId()
           
 String getId()
           
 MsnList getList()
           
 int getVersion()
           
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

IncomingREM

public IncomingREM(MsnProtocol protocol)
Method Detail

getList

public MsnList getList()

getEmail

public Email getEmail()

getVersion

public int getVersion()

getId

public String getId()

getGroupId

public String getGroupId()

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