net.sf.jml.protocol.incoming
Class IncomingGTC
java.lang.Object
net.sf.jml.protocol.MsnMessage
net.sf.jml.protocol.MsnIncomingMessage
net.sf.jml.protocol.incoming.IncomingGTC
public class IncomingGTC
- extends MsnIncomingMessage
The notice of OutgoingSYN or the response of OutgoingGTC,
indicate what to do when someone adds you to their contact
list.
Supported Protocol: All
Syntax 1: GTC A|N
Syntax 2: GTC trId versionNum A|N
Syntax 1 is the notice of OutgoingSYN, Syntax 2 is the
response of OutgoingGTC.
- 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 |
IncomingGTC
public IncomingGTC(MsnProtocol protocol)
isNotifyMeWhenSomeoneAddedMe
public boolean isNotifyMeWhenSomeoneAddedMe()
getVersion
public int getVersion()
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