Sink, Source, EventDispatcherpublic class SOCKSUDPTunnel extends I2PTunnelUDPClientBase
open_clientId, _context, l| Constructor | Description |
|---|---|
SOCKSUDPTunnel(I2PTunnel tunnel) |
Set up a tunnel with no UDP side yet.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
add(InetAddress host,
int port) |
|
boolean |
close(boolean forced) |
I2PTunnelTask Methods
Classes should override to close UDP side as well
|
void |
remove(Integer port) |
|
void |
startRunning() |
Actually start working on outgoing connections.
|
attachEventDispatcher, detachEventDispatcher, getEventDispatcher, getEvents, getEventValue, ignoreEvents, notifyEvent, unIgnoreEvents, waitEventValueconnected, destroy, disconnected, errorOccurred, getId, getTunnel, isOpen, optionsUpdated, reportAbuse, routerDisconnected, setId, setName, setTunnel, toStringsend, setSink, startpublic SOCKSUDPTunnel(I2PTunnel tunnel)
public int add(InetAddress host, int port)
public void remove(Integer port)
public final void startRunning()
I2PTunnelUDPClientBasestartRunning in class I2PTunnelUDPClientBasepublic boolean close(boolean forced)
I2PTunnelUDPClientBaseclose in class I2PTunnelUDPClientBase