org.xnap.plugin.opennap.net
Class DownloadSocket

java.lang.Object
  extended by org.xnap.plugin.opennap.net.IncomingSocket
      extended by org.xnap.plugin.opennap.net.DownloadSocket

public class DownloadSocket
extends IncomingSocket


Field Summary
 java.lang.String filename
           
 long filesize
           
 java.lang.String nick
           
 
Fields inherited from class org.xnap.plugin.opennap.net.IncomingSocket
in, logger, socket
 
Constructor Summary
DownloadSocket(java.net.Socket socket, java.io.InputStream in)
           
DownloadSocket(java.lang.String nick, java.lang.String filename, long filesize)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class org.xnap.plugin.opennap.net.IncomingSocket
close
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filename

public java.lang.String filename

filesize

public long filesize

nick

public java.lang.String nick
Constructor Detail

DownloadSocket

public DownloadSocket(java.net.Socket socket,
                      java.io.InputStream in)
               throws java.io.IOException
Throws:
java.io.IOException

DownloadSocket

public DownloadSocket(java.lang.String nick,
                      java.lang.String filename,
                      long filesize)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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