net.sf.jml.protocol.incoming
Class IncomingADC
java.lang.Object
net.sf.jml.protocol.MsnMessage
net.sf.jml.protocol.MsnIncomingMessage
net.sf.jml.protocol.incoming.IncomingADC
public class IncomingADC
- extends MsnIncomingMessage
Add a friend response or other user add you notice. In MSNP10,
it's the response of OutgoingADC or other user add you notice.
In MSNP8/MSNP9, it should be IncomingADD message.
Supported Protocol: MSNP10/MSNP11
Syntax 1: ADC trId AL|BL N=email
Syntax 2: ADC trId FL N=email F=friendlyName C=id
Syntax 3: ADC trId FL C=id groupId
Syntax 4: ADC 0 RL N=email F=displayName
Syntax 1/2/3 is the response of OutgoingADC, Syntax 4 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 |
IncomingADC
public IncomingADC(MsnProtocol protocol)
getList
public MsnList getList()
getId
public String getId()
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