JML

net.sf.jml.message.invitation
Class MsnftpInviteMessage

java.lang.Object
  extended by net.sf.jml.message.MsnMimeMessage
      extended by net.sf.jml.message.MsnPropMessage
          extended by net.sf.jml.message.invitation.MsnInvitationMessage
              extended by net.sf.jml.message.invitation.MsnInviteMessage
                  extended by net.sf.jml.message.invitation.MsnftpInviteMessage

public class MsnftpInviteMessage
extends MsnInviteMessage

File transfer invite.

Author:
Roger Chen

Field Summary
 
Fields inherited from class net.sf.jml.message.MsnPropMessage
properties
 
Fields inherited from class net.sf.jml.message.MsnMimeMessage
headers
 
Constructor Summary
MsnftpInviteMessage()
           
 
Method Summary
 String getApplicationFile()
           
 long getApplicationFileSize()
           
 MsnConnectionType getConnectionType()
           
protected  void messageReceived(MsnSession session, MsnContact contact)
          The message have received, invoked by dispatch thread
 void setApplicationFile(String applicationFile)
           
 void setApplicationFileSize(long applicationFileSize)
           
 void setConnectionType(MsnConnectionType type)
           
 void setFile(File file)
           
 
Methods inherited from class net.sf.jml.message.invitation.MsnInviteMessage
cancelled, getApplicationGUID, getApplicationName, messageSent, setApplicationGUID, setApplicationName
 
Methods inherited from class net.sf.jml.message.invitation.MsnInvitationMessage
getInvitationCommand, getInvitationCookie, setInvitationCommand, setInvitationCookie, toOutgoingMsg
 
Methods inherited from class net.sf.jml.message.MsnPropMessage
getProperties, parseBuffer, toString
 
Methods inherited from class net.sf.jml.message.MsnMimeMessage
getCharset, getContentType, getHeaders, getMimeVersion, parseMessage, setContentType, setMimeVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MsnftpInviteMessage

public MsnftpInviteMessage()
Method Detail

getApplicationFile

public String getApplicationFile()

getApplicationFileSize

public long getApplicationFileSize()

setApplicationFile

public void setApplicationFile(String applicationFile)

setApplicationFileSize

public void setApplicationFileSize(long applicationFileSize)

setConnectionType

public void setConnectionType(MsnConnectionType type)

getConnectionType

public MsnConnectionType getConnectionType()

setFile

public void setFile(File file)
             throws IllegalArgumentException
Throws:
IllegalArgumentException

messageReceived

protected void messageReceived(MsnSession session,
                               MsnContact contact)
Description copied from class: MsnMimeMessage
The message have received, invoked by dispatch thread

Overrides:
messageReceived in class MsnInviteMessage
Parameters:
session - the MsnSession which received the message
contact - the user who sent this message

JML