net.sf.jml.protocol.incoming
Class IncomingQNG
java.lang.Object
net.sf.jml.protocol.MsnMessage
net.sf.jml.protocol.MsnIncomingMessage
net.sf.jml.protocol.incoming.IncomingQNG
public class IncomingQNG
- extends MsnIncomingMessage
The response of OutgoingPNG, indicate the connection is OK.
Supported Protocol: All
MSNP8 Syntax: QNG
MSNP9/MSNP10 Syntax: QNG waitSeconds
- Author:
- Roger Chen
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 |
IncomingQNG
public IncomingQNG(MsnProtocol protocol)
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
getWaitSeconds
public int getWaitSeconds()
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