JML

net.sf.jml.protocol.incoming
Class IncomingLST

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

public class IncomingLST
extends MsnIncomingMessage

One of responses of OutgoingSYN, list contact list.

Supported Protocol: All

MSNP8/MSNP9 Syntax: LST email friendlyName listNum (comma-separated groupId)

MSNP10 Syntax 1: LST N=email F=friendlyName C=id listNum (comma-separated groupId)

MSNP10 Syntax 2: LST N=email listNum

MSNP10 Syntax2 is used when the user is not in FL.

Author:
Roger Chen

Field Summary
 
Fields inherited from class net.sf.jml.protocol.MsnMessage
protocol
 
Constructor Summary
IncomingLST(MsnProtocol protocol)
           
 
Method Summary
 Email getEmail()
           
 String getFriendlyName()
           
 String[] getGroupId()
           
 String getId()
           
 int getListNum()
           
 Telephone getTelephone()
           
protected  boolean isSupportTransactionId()
          If support transaction id, then can set transaction id.
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, 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

IncomingLST

public IncomingLST(MsnProtocol protocol)
Method Detail

isSupportTransactionId

protected boolean isSupportTransactionId()
Description copied from class: MsnMessage
If support transaction id, then can set transaction id.

Overrides:
isSupportTransactionId in class MsnMessage
Returns:
is support transaction id

getEmail

public Email getEmail()

getTelephone

public Telephone getTelephone()

getFriendlyName

public String getFriendlyName()

getId

public String getId()

getListNum

public int getListNum()

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