org.xnap.plugin.opennap.net
Class UploadSocket

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

public class UploadSocket
extends IncomingSocket


Field Summary
 java.lang.String nick
           
 long offset
           
 java.lang.String requestFilename
           
 
Fields inherited from class org.xnap.plugin.opennap.net.IncomingSocket
in, logger, socket
 
Constructor Summary
UploadSocket(java.net.Socket socket, java.io.InputStream in)
          This is a bit ugly since we have to read in the file offset too and pass it on to the actual upload.
 
Method Summary
 
Methods inherited from class org.xnap.plugin.opennap.net.IncomingSocket
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requestFilename

public java.lang.String requestFilename

nick

public java.lang.String nick

offset

public long offset
Constructor Detail

UploadSocket

public UploadSocket(java.net.Socket socket,
                    java.io.InputStream in)
             throws java.io.IOException
This is a bit ugly since we have to read in the file offset too and pass it on to the actual upload.

Throws:
java.io.IOException


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