Sink
, Source
, EventDispatcher
public class StreamrConsumer extends I2PTunnelUDPClientBase
open
_clientId, _context, l
Constructor | Description |
---|---|
StreamrConsumer(InetAddress host,
int port,
String destination,
Logging l,
EventDispatcher notifyThis,
I2PTunnel tunnel) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
close(boolean forced) |
I2PTunnelTask Methods
Classes should override to close UDP side as well
|
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 StreamrConsumer(InetAddress host, int port, String destination, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
public final void startRunning()
I2PTunnelUDPClientBase
startRunning
in class I2PTunnelUDPClientBase
public boolean close(boolean forced)
I2PTunnelUDPClientBase
close
in class I2PTunnelUDPClientBase