|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.i2p.i2ptunnel.irc.EventReceiver
net.i2p.i2ptunnel.irc.DCCClientManager
public class DCCClientManager
Start, track, and expire the I2PTunnelDCCClients.
direct conn
<---> I2PTunnelDCCServer <--------------->I2PTunnelDCCClient <---->
originating responding
chat client chat client
CHAT ---> I2PTunnelIRCClient --> IRC server --> I2TunnelIRCClient ----->
SEND ---> I2PTunnelIRCClient --> IRC server --> I2TunnelIRCClient ----->
RESUME <--- I2PTunnelIRCClient <-- IRC server <-- I2TunnelIRCClient <-----
ACCEPT ---> I2PTunnelIRCClient --> IRC server --> I2TunnelIRCClient ----->
| Constructor Summary | |
|---|---|
DCCClientManager(I2PSocketManager sktMgr,
Logging logging,
EventDispatcher dispatch,
I2PTunnel tunnel)
|
|
| Method Summary | |
|---|---|
int |
acceptIncoming(int port)
An incoming ACCEPT response |
boolean |
close(boolean forced)
|
int |
newIncoming(String b32,
int port,
String type)
An incoming DCC request |
void |
notifyEvent(String eventName,
Object args)
The EventReceiver callback |
int |
resumeOutgoing(int port)
An outgoing RESUME request |
| Methods inherited from class net.i2p.i2ptunnel.irc.EventReceiver |
|---|
attachEventDispatcher, detachEventDispatcher, getEventDispatcher, getEvents, getEventValue, ignoreEvents, unIgnoreEvents, waitEventValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DCCClientManager(I2PSocketManager sktMgr,
Logging logging,
EventDispatcher dispatch,
I2PTunnel tunnel)
| Method Detail |
|---|
public boolean close(boolean forced)
public int newIncoming(String b32,
int port,
String type)
b32 - remote dcc server b32 addressport - remote dcc server I2P porttype - ignored
public int resumeOutgoing(int port)
port - local DCC client tunnel port
public int acceptIncoming(int port)
port - remote dcc server I2P port
public void notifyEvent(String eventName,
Object args)
notifyEvent in interface EventDispatchernotifyEvent in class EventReceivereventName - name of the eventargs - data being stored for that event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||