net.sf.jml.protocol.incoming
Class IncomingADD
java.lang.Object
net.sf.jml.protocol.MsnMessage
net.sf.jml.protocol.MsnIncomingMessage
net.sf.jml.protocol.incoming.IncomingADD
public class IncomingADD
- extends MsnIncomingMessage
Add a friend response or other user add you notice. In MSNP8/MSNP9,
it's the response of OutgoingADC or other user add you notice.
In MSNP10, it should be IncomingADC message.
Supported Protocol: MSNP8/MSNP9
Syntax 1: ADD trId AL|BL|FL versionNum email friendlyName( groupId)
Syntax 2: ADD 0 RL versionNum email displayName
Syntax 1 is the response of OutgoingADD, Syntax 2 is the
notice that other user add you.
- Author:
- Roger Chen
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 |
IncomingADD
public IncomingADD(MsnProtocol protocol)
getList
public MsnList getList()
getEmail
public Email getEmail()
getFriendlyName
public String getFriendlyName()
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