Uses of Interface
net.i2p.client.streaming.I2PSocketManager
Package
Description
API, interfaces, and factory for a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the IP-like (unreliable, unauthenticated, unordered) I2P
messages.
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the IP-like (unreliable, unauthenticated, unordered) I2P
messages.
Implementation of preconfigured tunnels, both for clients and servers,
and a UI for adding more and editing the configuration.
Filters for the IRC client tunnel, and DCC handlers.
A very simple HTTP server, used only for css and images on HTTP client proxy error pages.
The SAM client API.
I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced
to add a web UI, DHT support, and other features.
-
Uses of I2PSocketManager in net.i2p.client.streaming
Modifier and TypeFieldDescriptionprotected final I2PSocketManager
AcceptingChannel._socketManager
Modifier and TypeMethodDescriptionstatic I2PSocketManager
I2PSocketManagerFactory.createDisconnectedManager
(InputStream myPrivateKeyStream, String i2cpHost, int i2cpPort, Properties opts) Create a disconnected socket manager using the destination loaded from the given private key stream, or null for a transient destination.static I2PSocketManager
I2PSocketManagerFactory.createDisconnectedManager
(InputStream myPrivateKeyStream, String i2cpHost, int i2cpPort, Properties opts, IncomingConnectionFilter filter) Create a disconnected socket manager using the destination loaded from the given private key stream, or null for a transient destination.static I2PSocketManager
I2PSocketManagerFactory.createManager()
Create a socket manager using a brand new destination connected to the I2CP router on the local machine on the default port (7654).static I2PSocketManager
I2PSocketManagerFactory.createManager
(InputStream myPrivateKeyStream) Create a socket manager using the destination loaded from the given private key stream and connected to the default I2CP host and port.static I2PSocketManager
I2PSocketManagerFactory.createManager
(InputStream myPrivateKeyStream, String i2cpHost, int i2cpPort, Properties opts) Create a socket manager using the destination loaded from the given private key stream and connected to the I2CP router on the specified machine on the given port.static I2PSocketManager
I2PSocketManagerFactory.createManager
(InputStream myPrivateKeyStream, String i2cpHost, int i2cpPort, Properties opts, IncomingConnectionFilter filter) Create a socket manager using the destination loaded from the given private key stream and connected to the I2CP router on the specified machine on the given port.static I2PSocketManager
I2PSocketManagerFactory.createManager
(InputStream myPrivateKeyStream, Properties opts) Create a socket manager using the destination loaded from the given private key stream and connected to the default I2CP host and port.static I2PSocketManager
I2PSocketManagerFactory.createManager
(InputStream myPrivateKeyStream, Properties opts, IncomingConnectionFilter filter) Create a socket manager using the destination loaded from the given private key stream and connected to the default I2CP host and port.static I2PSocketManager
I2PSocketManagerFactory.createManager
(InputStream myPrivateKeyStream, IncomingConnectionFilter filter) Create a socket manager using the destination loaded from the given private key stream and connected to the default I2CP host and port with the specified connection filter Blocks for a long time while the router builds tunnels.static I2PSocketManager
I2PSocketManagerFactory.createManager
(String host, int port) Create a socket manager using a brand new destination connected to the I2CP router on the specified host and port.static I2PSocketManager
I2PSocketManagerFactory.createManager
(String i2cpHost, int i2cpPort, Properties opts) Create a socket manager using a brand new destination connected to the I2CP router on the given machine reachable through the given port.static I2PSocketManager
I2PSocketManagerFactory.createManager
(String i2cpHost, int i2cpPort, Properties opts, IncomingConnectionFilter filter) Create a socket manager using a brand new destination connected to the I2CP router on the given machine reachable through the given port with the specified connection filter Blocks for a long time while the router builds tunnels.static I2PSocketManager
I2PSocketManagerFactory.createManager
(String host, int port, IncomingConnectionFilter filter) Create a socket manager using a brand new destination connected to the I2CP router on the specified host and port with the specified connection filter Blocks for a long time while the router builds tunnels.static I2PSocketManager
I2PSocketManagerFactory.createManager
(Properties opts) Create a socket manager using a brand new destination connected to the I2CP router on the local machine on the default port (7654).static I2PSocketManager
I2PSocketManagerFactory.createManager
(Properties opts, IncomingConnectionFilter filter) Create a socket manager using a brand new destination connected to the I2CP router on the local machine on the default port (7654).static I2PSocketManager
I2PSocketManagerFactory.createManager
(IncomingConnectionFilter filter) Create a socket manager using a brand new destination connected to the I2CP router on the local machine on the default port (7654) with the specified incoming connection filter.I2PServerSocket.getManager()
Access the manager which is coordinating the server socketModifierConstructorDescriptionprotected
AcceptingChannel
(I2PSocketManager manager) I2PSocketEepGet
(I2PAppContext ctx, I2PSocketManager mgr, int numRetries, long minSize, long maxSize, String outputFile, OutputStream outputStream, String url) I2PSocketEepGet
(I2PAppContext ctx, I2PSocketManager mgr, int numRetries, String outputFile, String url) -
Uses of I2PSocketManager in net.i2p.client.streaming.impl
Modifier and TypeClassDescriptionclass
Centralize the coordination and multiplexing of the local client's streaming. -
Uses of I2PSocketManager in net.i2p.i2ptunnel
Modifier and TypeFieldDescriptionprotected I2PSocketManager
I2PTunnelClientBase.sockMgr
protected final I2PSocketManager
I2PTunnelServer.sockMgr
Modifier and TypeMethodDescriptionprotected I2PSocketManager
I2PTunnelClientBase.buildSocketManager()
For NON-SHARED clients (ownDest = true).protected static I2PSocketManager
I2PTunnelClientBase.buildSocketManager
(I2PTunnel tunnel) As of 0.9.20 this is fast, and does NOT connect the manager to the router.protected static I2PSocketManager
I2PTunnelClientBase.buildSocketManager
(I2PTunnel tunnel, String pkf) As of 0.9.20 this is fast, and does NOT connect the manager to the router.protected static I2PSocketManager
I2PTunnelClientBase.buildSocketManager
(I2PTunnel tunnel, String pkf, Logging log) As of 0.9.20 this is fast, and does NOT connect the manager to the router.protected I2PSocketManager
I2PTunnelClientBase.getSocketManager()
This is ONLY for shared clients.protected static I2PSocketManager
I2PTunnelClientBase.getSocketManager
(I2PTunnel tunnel) This is ONLY for shared clients.protected static I2PSocketManager
I2PTunnelClientBase.getSocketManager
(I2PTunnel tunnel, String pkf) This is ONLY for shared clients.ModifierConstructorDescriptionI2PTunnelClientBase
(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.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.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, Logging l, I2PSocketManager sktMgr, I2PTunnel tunnel, EventDispatcher notifyThis, long clientId) This constructor always starts the tunnel (ignoring the i2cp.delayOpen option).I2PTunnelServer
(InetAddress host, int port, I2PSocketManager sktMgr, Logging l, EventDispatcher notifyThis, I2PTunnel tunnel) Non-blocking -
Uses of I2PSocketManager in net.i2p.i2ptunnel.irc
ModifierConstructorDescriptionDCCClientManager
(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 I2PSocketManager in net.i2p.i2ptunnel.localServer
Modifier and TypeMethodDescriptionstatic void
LocalHTTPServer.serveLocalFile
(I2PAppContext context, I2PSocketManager sockMgr, OutputStream out, String method, String targetRequest, String query, String proxyNonce, boolean allowGzip) Very simple web server. -
Uses of I2PSocketManager in net.i2p.sam
ModifierConstructorDescriptionprotected
SAMStreamSession
(I2PSocketManager mgr, Properties props, SAMStreamReceiver recv, int listenport) Create a new SAM STREAM session on an existing socket manager.SAMv3StreamSession
(String login, Properties props, SAMv3Handler handler, I2PSocketManager mgr, int listenPort) Build a Stream Session on an existing I2P session registered with the given nickname Caller MUST call start(). -
Uses of I2PSocketManager in org.klomp.snark