|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.PushManager
Manages state for push upload requests.
| Constructor Summary | |
PushManager()
|
|
| Method Summary | |
void |
acceptPushUpload(java.lang.String file,
java.lang.String host,
int port,
int index,
java.lang.String guid,
boolean forceAllow)
Accepts a new push upload. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PushManager()
| Method Detail |
public void acceptPushUpload(java.lang.String file,
java.lang.String host,
int port,
int index,
java.lang.String guid,
boolean forceAllow)
The thread connects to the other side, waits for a GET/HEAD, and delegates to the UploaderManager.acceptUpload method with the socket it created. Essentially, this is a reverse-Acceptor.
file - the fully qualified pathname of the file to uploadhost - the ip address of the host to upload toport - the port over which the transfer will occurindex - the index of the file in FileManagerguid - the unique identifying client guid of the uploading clientforceAllow - whether or not to force the UploadManager to send
accept this request when it comes back.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||