JML

net.sf.jml.protocol.outgoing
Class OutgoingADC

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

public class OutgoingADC
extends MsnOutgoingMessage

Add user to contact list. In MSNP8/MSNP9 is OutgoingADD.

Supported Protocol: MSNP10

Syntax 1: ADC trId AL|BL N=email

Syntax 2: ADC trId FL N=email F=friendlyName

Syntax 3: ADC trId FL C=id groupId

Can't add user to RL, can't set email and id both in a message, and can't set friendlyName and groupId both in a message.

Author:
Roger Chen

Field Summary
 
Fields inherited from class net.sf.jml.protocol.MsnMessage
protocol
 
Constructor Summary
OutgoingADC(MsnProtocol protocol)
           
 
Method Summary
 void setAddtoList(MsnList list)
           
 void setEmail(Email email)
           
 void setFriendlyName(String friendlyName)
           
 void setGroupId(String groupId)
           
 void setId(String id)
           
 
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

OutgoingADC

public OutgoingADC(MsnProtocol protocol)
Method Detail

setAddtoList

public void setAddtoList(MsnList list)

setEmail

public void setEmail(Email email)

setId

public void setId(String id)

setFriendlyName

public void setFriendlyName(String friendlyName)

setGroupId

public void setGroupId(String groupId)

JML