org.xnap.plugin.opennap.net.msg.server
Class DownloadAckMessage

java.lang.Object
  extended by org.xnap.plugin.opennap.net.msg.Message
      extended by org.xnap.plugin.opennap.net.msg.server.ServerMessage
          extended by org.xnap.plugin.opennap.net.msg.server.DownloadAckMessage
All Implemented Interfaces:
FilenameMessage

public class DownloadAckMessage
extends ServerMessage
implements FilenameMessage


Field Summary
 java.lang.String filename
           
 java.lang.String ip
           
 java.lang.String linkSpeed
           
 java.lang.String md5
           
 java.lang.String nick
           
 int port
           
static int TYPE
           
 
Fields inherited from class org.xnap.plugin.opennap.net.msg.server.ServerMessage
consumed, data, server
 
Fields inherited from class org.xnap.plugin.opennap.net.msg.Message
type
 
Constructor Summary
DownloadAckMessage(java.lang.String data)
           
 
Method Summary
 java.lang.String getFilename()
           
 java.lang.String getNick()
           
protected  void parse(QuotedStringTokenizer t)
           
 
Methods inherited from class org.xnap.plugin.opennap.net.msg.server.ServerMessage
consume, getServer, isConsumed, received, setServer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final int TYPE
See Also:
Constant Field Values

nick

public java.lang.String nick

ip

public java.lang.String ip

port

public int port

filename

public java.lang.String filename

md5

public java.lang.String md5

linkSpeed

public java.lang.String linkSpeed
Constructor Detail

DownloadAckMessage

public DownloadAckMessage(java.lang.String data)
                   throws InvalidMessageException
Throws:
InvalidMessageException
Method Detail

parse

protected void parse(QuotedStringTokenizer t)
Overrides:
parse in class ServerMessage

getFilename

public java.lang.String getFilename()
Specified by:
getFilename in interface FilenameMessage

getNick

public java.lang.String getNick()
Specified by:
getNick in interface FilenameMessage


Copyright © 2001-2005 XNap Team. All Rights Reserved.