JML

net.sf.jml.protocol.msnftp
Class MsnftpBYE

java.lang.Object
  extended by net.sf.jml.protocol.MsnMessage
      extended by net.sf.jml.protocol.msnftp.MsnftpMessage
          extended by net.sf.jml.protocol.msnftp.MsnftpBYE

public class MsnftpBYE
extends MsnftpMessage

File transfer completed or canceled.

Syntax: BYE result

Supported Protocol: MSNC0

Author:
Roger Chen

Field Summary
static long RESULT_OUT_OF_DISK_SPACE
           
static long RESULT_RECEIVER_CANCELLED_TRANSFER
           
static long RESULT_SENDER_CANCELLED_TRANSFER
           
static long RESULT_SUCCESS
           
 
Fields inherited from class net.sf.jml.protocol.MsnMessage
protocol
 
Constructor Summary
MsnftpBYE(MsnProtocol protocol)
           
 
Method Summary
 long getResult()
           
protected  void messageReceived(MsnftpSession session)
           
protected  void messageSent(MsnftpSession session)
           
 void setResult(long result)
           
 
Methods inherited from class net.sf.jml.protocol.msnftp.MsnftpMessage
isSupportTransactionId
 
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
 

Field Detail

RESULT_SUCCESS

public static final long RESULT_SUCCESS
See Also:
Constant Field Values

RESULT_OUT_OF_DISK_SPACE

public static final long RESULT_OUT_OF_DISK_SPACE
See Also:
Constant Field Values

RESULT_RECEIVER_CANCELLED_TRANSFER

public static final long RESULT_RECEIVER_CANCELLED_TRANSFER
See Also:
Constant Field Values

RESULT_SENDER_CANCELLED_TRANSFER

public static final long RESULT_SENDER_CANCELLED_TRANSFER
See Also:
Constant Field Values
Constructor Detail

MsnftpBYE

public MsnftpBYE(MsnProtocol protocol)
Method Detail

setResult

public void setResult(long result)

getResult

public long getResult()

messageReceived

protected void messageReceived(MsnftpSession session)
Overrides:
messageReceived in class MsnftpMessage

messageSent

protected void messageSent(MsnftpSession session)
Overrides:
messageSent in class MsnftpMessage

JML