JML

net.sf.jml.protocol.msnftp
Class MsnftpMessage

java.lang.Object
  extended by net.sf.jml.protocol.MsnMessage
      extended by net.sf.jml.protocol.msnftp.MsnftpMessage
Direct Known Subclasses:
MsnftpBYE, MsnftpCCL, MsnftpContent, MsnftpFIL, MsnftpTFR, MsnftpUSR, MsnftpVER

public abstract class MsnftpMessage
extends MsnMessage

MSNFTP Message. All MSNFTP Message have no trId, no chunkdata, only have command and params, used for P2P file transfer. Because a MsnMessenger may act as server or client, so all MSNFTP may be incoming or outgoing. See: http://www.hypothetic.org/docs/msn/client/file_transfer.php

Author:
Roger Chen

Field Summary
 
Fields inherited from class net.sf.jml.protocol.MsnMessage
protocol
 
Constructor Summary
MsnftpMessage(MsnProtocol protocol)
           
 
Method Summary
 boolean isSupportTransactionId()
          If support transaction id, then can set transaction id.
protected  void messageReceived(MsnftpSession session)
           
protected  void messageSent(MsnftpSession session)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MsnftpMessage

public MsnftpMessage(MsnProtocol protocol)
Method Detail

isSupportTransactionId

public final 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

messageReceived

protected void messageReceived(MsnftpSession session)

messageSent

protected void messageSent(MsnftpSession session)

JML