Sink
, Source
, EventDispatcher
public class SOCKSUDPTunnel extends I2PTunnelUDPClientBase
open
_clientId, _context, l
コンストラクタ | 説明 |
---|---|
SOCKSUDPTunnel(I2PTunnel tunnel) |
Set up a tunnel with no UDP side yet.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
int |
add(java.net.InetAddress host,
int port) |
|
boolean |
close(boolean forced) |
I2PTunnelTask Methods
Classes should override to close UDP side as well
|
void |
remove(java.lang.Integer port) |
|
void |
startRunning() |
Actually start working on outgoing connections.
|
attachEventDispatcher, detachEventDispatcher, getEventDispatcher, getEvents, getEventValue, ignoreEvents, notifyEvent, unIgnoreEvents, waitEventValue
connected, destroy, disconnected, errorOccurred, getId, getTunnel, isOpen, optionsUpdated, reportAbuse, routerDisconnected, setId, setName, setTunnel, toString
send, setSink, start
public SOCKSUDPTunnel(I2PTunnel tunnel)
public int add(java.net.InetAddress host, int port)
public void remove(java.lang.Integer port)
public final void startRunning()
I2PTunnelUDPClientBase
startRunning
クラス内 I2PTunnelUDPClientBase
public boolean close(boolean forced)
I2PTunnelUDPClientBase
close
クラス内 I2PTunnelUDPClientBase