Uses of Interface
net.i2p.util.EventDispatcher
Package | Description |
---|---|
net.i2p.i2ptunnel |
Implementation of preconfigured tunnels, both for clients and servers,
and a UI for adding more and editing the configuration.
|
net.i2p.i2ptunnel.irc |
Filters for the IRC client tunnel, and DCC handlers.
|
net.i2p.i2ptunnel.socks |
SOCKS 4, 4a, and 5 client tunnels.
|
net.i2p.i2ptunnel.streamr |
Special-purpose client and server tunnels for streaming UDP clients and servers,
generally for audio and video streaming.
|
net.i2p.i2ptunnel.udpTunnel | |
net.i2p.util |
These classes define the several useful utilities used
throughout the router and applications.
|
-
Uses of EventDispatcher in net.i2p.i2ptunnel
Classes in net.i2p.i2ptunnel that implement EventDispatcher Modifier and Type Class Description class
I2Ping
Warning - not necessarily a stable API.class
I2PTunnel
An I2PTunnel tracks one or more I2PTunnelTasks and one or more I2PSessions.class
I2PTunnelClient
class
I2PTunnelClientBase
class
I2PTunnelConnectClient
Supports the following:class
I2PTunnelHTTPBidirProxy
Reuse HTTP server's I2PSocketManager for a proxy with no outproxy capability.class
I2PTunnelHTTPBidirServer
class
I2PTunnelHTTPClient
Act as a mini HTTP proxy, handling various different types of requests, forwarding them through I2P appropriately, and displaying the reply.class
I2PTunnelHTTPClientBase
Common things for HTTPClient and ConnectClient Retrofit over them in 0.8.2class
I2PTunnelHTTPServer
Simple extension to the I2PTunnelServer that filters the HTTP headers sent from the client to the server, replacing the Host header with whatever this instance has been configured with, and if the browser set Accept-Encoding: x-i2p-gzip, gzip the http message body and set Content-Encoding: x-i2p-gzip.class
I2PTunnelIRCClient
Todo: Can we extend I2PTunnelClient instead and remove some duplicated code?class
I2PTunnelIRCServer
Simple extension to the I2PTunnelServer that filters the registration sequence to pass the destination hash of the client through as the hostname, so an IRC Server may track users across nick changes.class
I2PTunnelServer
class
I2PTunnelTask
Either a Server or a Client.Constructors in net.i2p.i2ptunnel with parameters of type EventDispatcher Constructor Description I2Ping(Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel)
tunnel.getOptions must contain "command".I2PTunnelClient(int localPort, String destinations, Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel, String pkf)
As of 0.9.20 this is fast, and does NOT connect the manager to the router, or open the local socket.I2PTunnelClientBase(int localPort, boolean ownDest, Logging l, EventDispatcher notifyThis, String handlerName, I2PTunnel tunnel)
The main constructor.I2PTunnelClientBase(int localPort, boolean ownDest, Logging l, EventDispatcher notifyThis, String handlerName, I2PTunnel tunnel, String pkf)
Use this to build a client with a persistent private key.I2PTunnelClientBase(int localPort, Logging l, I2PSocketManager sktMgr, I2PTunnel tunnel, EventDispatcher notifyThis, long clientId)
This constructor is used to add a client to an existing socket manager.I2PTunnelConnectClient(int localPort, Logging l, boolean ownDest, String wwwProxy, EventDispatcher notifyThis, I2PTunnel tunnel)
As of 0.9.20 this is fast, and does NOT connect the manager to the router, or open the local socket.I2PTunnelHTTPBidirProxy(int localPort, Logging l, I2PSocketManager sockMgr, I2PTunnel tunnel, EventDispatcher notifyThis, long clientId)
As of 0.9.20 this is fast, and does NOT connect the manager to the router, or open the local socket.I2PTunnelHTTPBidirServer(InetAddress host, int port, int proxyport, File privkey, String privkeyname, String spoofHost, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
I2PTunnelHTTPBidirServer(InetAddress host, int port, int proxyport, InputStream privData, String privkeyname, String spoofHost, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
I2PTunnelHTTPBidirServer(InetAddress host, int port, int proxyport, String privData, String spoofHost, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
I2PTunnelHTTPClient(int localPort, Logging l, boolean ownDest, String wwwProxy, EventDispatcher notifyThis, I2PTunnel tunnel)
As of 0.9.20 this is fast, and does NOT connect the manager to the router, or open the local socket.I2PTunnelHTTPClient(int localPort, Logging l, I2PSocketManager sockMgr, I2PTunnel tunnel, EventDispatcher notifyThis, long clientId)
This constructor always starts the tunnel (ignoring the i2cp.delayOpen option).I2PTunnelHTTPClientBase(int localPort, boolean ownDest, Logging l, EventDispatcher notifyThis, String handlerName, I2PTunnel tunnel)
I2PTunnelHTTPClientBase(int localPort, Logging l, I2PSocketManager sktMgr, I2PTunnel tunnel, EventDispatcher notifyThis, long clientId)
This constructor always starts the tunnel (ignoring the i2cp.delayOpen option).I2PTunnelHTTPServer(InetAddress host, int port, File privkey, String privkeyname, String spoofHost, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
I2PTunnelHTTPServer(InetAddress host, int port, InputStream privData, String privkeyname, String spoofHost, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
I2PTunnelHTTPServer(InetAddress host, int port, String privData, String spoofHost, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
I2PTunnelIRCClient(int localPort, String destinations, Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel, String pkf)
As of 0.9.20 this is fast, and does NOT connect the manager to the router, or open the local socket.I2PTunnelIRCServer(InetAddress host, int port, File privkey, String privkeyname, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
I2PTunnelServer(InetAddress host, int port, File privkey, String privkeyname, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
Non-blockingI2PTunnelServer(InetAddress host, int port, InputStream privData, String privkeyname, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
Non-blockingI2PTunnelServer(InetAddress host, int port, String privData, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
Non-blockingI2PTunnelServer(InetAddress host, int port, I2PSocketManager sktMgr, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
Non-blockingI2PTunnelTask(String name, EventDispatcher notifyThis, I2PTunnel tunnel)
-
Uses of EventDispatcher in net.i2p.i2ptunnel.irc
Classes in net.i2p.i2ptunnel.irc that implement EventDispatcher Modifier and Type Class Description class
DCCClientManager
Start, track, and expire the I2PTunnelDCCClients.class
EventReceiver
An implementation of the EventDispatcher interface for receiving events via in-line notifyEvent() only.class
I2PTunnelDCCClient
A standard client, using an existing socket manager.class
I2PTunnelDCCServer
A standard server that only answers for registered ports, and each port can only be used once.Methods in net.i2p.i2ptunnel.irc that return EventDispatcher Modifier and Type Method Description EventDispatcher
EventReceiver. getEventDispatcher()
Methods in net.i2p.i2ptunnel.irc with parameters of type EventDispatcher Modifier and Type Method Description void
EventReceiver. attachEventDispatcher(EventDispatcher ev)
void
EventReceiver. detachEventDispatcher(EventDispatcher ev)
Constructors in net.i2p.i2ptunnel.irc with parameters of type EventDispatcher Constructor Description DCCClientManager(I2PSocketManager sktMgr, Logging logging, EventDispatcher dispatch, I2PTunnel tunnel)
I2PTunnelDCCClient(String dest, int localPort, int remotePort, Logging l, I2PSocketManager sktMgr, EventDispatcher notifyThis, I2PTunnel tunnel, long clientId)
As of 0.9.20 this is fast, and does NOT connect the manager to the router, or open the local socket.I2PTunnelDCCServer(I2PSocketManager sktMgr, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
There's no support for unsolicited incoming I2P connections, so there's no server host or port parameters. -
Uses of EventDispatcher in net.i2p.i2ptunnel.socks
Classes in net.i2p.i2ptunnel.socks that implement EventDispatcher Modifier and Type Class Description class
I2PSOCKSIRCTunnel
class
I2PSOCKSTunnel
class
SOCKSUDPTunnel
A Datagram Tunnel that can have multiple bidirectional ports on the UDP side.Constructors in net.i2p.i2ptunnel.socks with parameters of type EventDispatcher Constructor Description I2PSOCKSIRCTunnel(int localPort, Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel, String pkf)
I2PSOCKSTunnel(int localPort, Logging l, boolean ownDest, EventDispatcher notifyThis, I2PTunnel tunnel, String pkf)
As of 0.9.20 this is fast, and does NOT connect the manager to the router, or open the local socket. -
Uses of EventDispatcher in net.i2p.i2ptunnel.streamr
Classes in net.i2p.i2ptunnel.streamr that implement EventDispatcher Modifier and Type Class Description class
StreamrConsumer
Compared to a standard I2PTunnel, this acts like a client on the I2P side (no privkey file) but a server on the UDP side (sends to a configured host/port)class
StreamrProducer
Compared to a standard I2PTunnel, this acts like a server on the I2P side (persistent privkey file) but a client on the UDP side (receives on a configured port)Constructors in net.i2p.i2ptunnel.streamr with parameters of type EventDispatcher Constructor Description StreamrConsumer(InetAddress host, int port, String destination, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
StreamrProducer(int port, File privkey, String privkeyname, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
-
Uses of EventDispatcher in net.i2p.i2ptunnel.udpTunnel
Classes in net.i2p.i2ptunnel.udpTunnel that implement EventDispatcher Modifier and Type Class Description class
I2PTunnelUDPClientBase
Base client class that sets up an I2P Datagram client destination.class
I2PTunnelUDPServerBase
Base client class that sets up an I2P Datagram server destination.Constructors in net.i2p.i2ptunnel.udpTunnel with parameters of type EventDispatcher Constructor Description I2PTunnelUDPClientBase(String destination, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
I2PTunnelUDPServerBase(boolean verify, File privkey, String privkeyname, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel)
-
Uses of EventDispatcher in net.i2p.util
Classes in net.i2p.util that implement EventDispatcher Modifier and Type Class Description class
EventDispatcherImpl
An implementation of the EventDispatcher interface.Methods in net.i2p.util that return EventDispatcher Modifier and Type Method Description EventDispatcher
EventDispatcher. getEventDispatcher()
Get an object to be used to deliver events (usuallythis
, but YMMV).EventDispatcher
EventDispatcherImpl. getEventDispatcher()
Methods in net.i2p.util with parameters of type EventDispatcher Modifier and Type Method Description void
EventDispatcher. attachEventDispatcher(EventDispatcher iev)
Attach an EventDispatcher object to the events dispatching chain.void
EventDispatcherImpl. attachEventDispatcher(EventDispatcher ev)
void
EventDispatcher. detachEventDispatcher(EventDispatcher iev)
Detach the specified EventDispatcher object from the events dispatching chain.void
EventDispatcherImpl. detachEventDispatcher(EventDispatcher ev)