org.elite.jdcbot.framework
Class UploadManager
java.lang.Object
org.elite.jdcbot.framework.DCIO
org.elite.jdcbot.framework.UploadManager
public class UploadManager
- extends DCIO
Created on 26-May-08
- Since:
- 0.7
- Version:
- 0.1
- Author:
- AppleGrew
Method Summary |
protected void |
close()
|
protected int |
getAllUHCount()
|
protected void |
tasksComplete(UploadHandler uh)
|
protected void |
upload(java.lang.String user,
java.net.Socket socket,
int N,
java.lang.String key)
Uploads to active user user. |
protected void |
uploadPassive(java.lang.String user)
Uploads to passive user user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allUH
private java.util.Map<java.lang.String,UploadHandler> allUH
jdcbot
private jDCBot jdcbot
UploadManager
public UploadManager(jDCBot bot)
close
protected void close()
tasksComplete
protected void tasksComplete(UploadHandler uh)
getAllUHCount
protected int getAllUHCount()
uploadPassive
protected void uploadPassive(java.lang.String user)
throws BotException
- Uploads to passive user user.
- Parameters:
user
-
- Throws:
BotException
upload
protected void upload(java.lang.String user,
java.net.Socket socket,
int N,
java.lang.String key)
throws BotException
- Uploads to active user user.
- Parameters:
user
- socket
- N
- key
-
- Throws:
BotException