Uses of Interface
net.i2p.client.streaming.I2PSocket
Packages that use I2PSocket
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.
SOCKS 4, 4a, and 5 client tunnels.
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 I2PSocket in net.i2p.client.streaming
Methods in net.i2p.client.streaming that return I2PSocketModifier and TypeMethodDescriptionprotected abstract I2PSocket
AcceptingChannel.accept()
I2PServerSocket.accept()
Waits for the next socket connecting.I2PSocketManager.connect
(Destination peer) Create a new connected socket (block until the socket is created)I2PSocketManager.connect
(Destination peer, I2PSocketOptions options) Create a new connected socket (block until the socket is created)Methods in net.i2p.client.streaming that return types with arguments of type I2PSocketModifier and TypeMethodDescriptionI2PSocketManager.listSockets()
Retrieve a set of currently connected I2PSockets, either initiated locally or remotely. -
Uses of I2PSocket in net.i2p.client.streaming.impl
Classes in net.i2p.client.streaming.impl that implement I2PSocketModifier and TypeClassDescription(package private) class
Bridge between the full streaming lib and the I2PSocket APIMethods in net.i2p.client.streaming.impl that return I2PSocketModifier and TypeMethodDescriptionI2PServerSocketFull.accept()
Waits for the next socket connecting.I2PSocketManagerFull.connect
(Destination peer) Create a new connected socket.I2PSocketManagerFull.connect
(Destination peer, I2PSocketOptions options) Create a new connected socket.I2PSocketManagerFull.receiveSocket()
The accept() call.Methods in net.i2p.client.streaming.impl that return types with arguments of type I2PSocketModifier and TypeMethodDescriptionI2PSocketManagerFull.listSockets()
Retrieve a set of currently connected I2PSockets, either initiated locally or remotely.Constructors in net.i2p.client.streaming.impl with parameters of type I2PSocket -
Uses of I2PSocket in net.i2p.i2ptunnel
Fields in net.i2p.i2ptunnel with type parameters of type I2PSocketMethods in net.i2p.i2ptunnel that return I2PSocketModifier and TypeMethodDescriptionI2PTunnelClientBase.createI2PSocket
(Destination dest) Create a new I2PSocket towards to the specified destination, adding it to the list of connections actually managed by this tunnel.I2PTunnelClientBase.createI2PSocket
(Destination dest, int port) Create a new I2PSocket towards to the specified destination, adding it to the list of connections actually managed by this tunnel.I2PTunnelClientBase.createI2PSocket
(Destination dest, I2PSocketOptions opt) Create a new I2PSocket towards to the specified destination, adding it to the list of connections actually managed by this tunnel.Methods in net.i2p.i2ptunnel with parameters of type I2PSocketModifier and TypeMethodDescriptionprotected void
I2PTunnelHTTPServer.blockingHandle
(I2PSocket socket) Called by the thread pool of I2PSocket handlersprotected void
I2PTunnelIRCServer.blockingHandle
(I2PSocket socket) protected void
I2PTunnelServer.blockingHandle
(I2PSocket socket) This is run in a thread from a limited-size thread pool via Handler.run(), except for a standard server (this class, no extension, as determined in getUsePool()), it is run directly in the acceptor thread (see run()).protected void
I2PTunnelHTTPClientRunner.close
(OutputStream out, InputStream in, OutputStream i2pout, InputStream i2pin, Socket s, I2PSocket i2ps, Thread t1, Thread t2) Why is this overridden? Why flush in super but not here? Why do things in different order than in super?protected void
I2PTunnelRunner.close
(OutputStream out, InputStream in, OutputStream i2pout, InputStream i2pin, Socket s, I2PSocket i2ps, Thread t1, Thread t2) I2PTunnelHTTPServer.readHeaders
(I2PSocket socket, InputStream in, StringBuilder command, String[] skipHeaders, I2PAppContext ctx) From I2P to server: socket non-null, in null.Constructors in net.i2p.i2ptunnel with parameters of type I2PSocketModifierConstructorDescriptionI2PTunnelHTTPClientRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, List<I2PSocket> sockList, I2PTunnelRunner.FailCallback onFail) Does NOT start itself.I2PTunnelRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, byte[] initialSocketData, List<I2PSocket> sockList) Deprecated.use FailCallback constructorI2PTunnelRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, byte[] initialSocketData, List<I2PSocket> sockList, Runnable onTimeout) Deprecated.use FailCallback constructorI2PTunnelRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, byte[] initialSocketData, List<I2PSocket> sockList, I2PTunnelRunner.FailCallback onFail) Recommended new constructor.I2PTunnelRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, List<I2PSocket> sockList) Deprecated.use FailCallback constructorI2PTunnelRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, List<I2PSocket> sockList, Runnable onTimeout) Deprecated.use FailCallback constructorConstructor parameters in net.i2p.i2ptunnel with type arguments of type I2PSocketModifierConstructorDescriptionI2PTunnelHTTPClientRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, List<I2PSocket> sockList, I2PTunnelRunner.FailCallback onFail) Does NOT start itself.I2PTunnelRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, byte[] initialSocketData, List<I2PSocket> sockList) Deprecated.use FailCallback constructorI2PTunnelRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, byte[] initialSocketData, List<I2PSocket> sockList, Runnable onTimeout) Deprecated.use FailCallback constructorI2PTunnelRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, byte[] initialSocketData, List<I2PSocket> sockList, I2PTunnelRunner.FailCallback onFail) Recommended new constructor.I2PTunnelRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, List<I2PSocket> sockList) Deprecated.use FailCallback constructorI2PTunnelRunner
(Socket s, I2PSocket i2ps, Object slock, byte[] initialI2PData, List<I2PSocket> sockList, Runnable onTimeout) Deprecated.use FailCallback constructor -
Uses of I2PSocket in net.i2p.i2ptunnel.irc
Methods in net.i2p.i2ptunnel.irc with parameters of type I2PSocketModifier and TypeMethodDescriptionprotected void
I2PTunnelDCCServer.blockingHandle
(I2PSocket socket) An incoming DCC connection, only accept for a known port.Constructors in net.i2p.i2ptunnel.irc with parameters of type I2PSocketModifierConstructorDescriptionIrcInboundFilter
(Socket lcl, I2PSocket rem, StringBuffer pong, Log log) IrcInboundFilter
(Socket lcl, I2PSocket rem, StringBuffer pong, Log log, DCCHelper helper) IrcOutboundFilter
(Socket lcl, I2PSocket rem, StringBuffer pong, Log log) IrcOutboundFilter
(Socket lcl, I2PSocket rem, StringBuffer pong, Log log, DCCHelper helper) -
Uses of I2PSocket in net.i2p.i2ptunnel.socks
Classes in net.i2p.i2ptunnel.socks that implement I2PSocketModifier and TypeClassDescription(package private) class
Wrapper around the Socket obtained from the Outproxy, which is a wrapper around the Orchid Stream.Methods in net.i2p.i2ptunnel.socks that return I2PSocketModifier and TypeMethodDescriptionSOCKS4aServer.getDestinationI2PSocket
(I2PSOCKSTunnel t) Get an I2PSocket that can be used to send/receive 8-bit clean data to/from the destination of the SOCKS connection.SOCKS5Server.getDestinationI2PSocket
(I2PSOCKSTunnel t) Get an I2PSocket that can be used to send/receive 8-bit clean data to/from the destination of the SOCKS connection.abstract I2PSocket
SOCKSServer.getDestinationI2PSocket
(I2PSOCKSTunnel t) Get an I2PSocket that can be used to send/receive 8-bit clean data to/from the destination of the SOCKS connection.Methods in net.i2p.i2ptunnel.socks with parameters of type I2PSocketModifier and TypeMethodDescriptionvoid
SOCKS5Server.httpsConnect
(I2PSocket destSock, OutputStream pout, String connHostName, int connPort, String configUser, String configPW) Act as a https client to connect to a CONNECT outproxy. -
Uses of I2PSocket in net.i2p.sam
Fields in net.i2p.sam declared as I2PSocketModifier and TypeFieldDescriptionprotected final I2PSocket
SAMStreamSession.SAMStreamSessionSocketReader.i2pSocket
protected final I2PSocket
SAMStreamSession.StreamSender.i2pSocket
Methods in net.i2p.sam with parameters of type I2PSocketModifier and TypeMethodDescriptionprotected int
SAMStreamSession.createSocketHandler
(I2PSocket s, int id) Create a new SAM STREAM session socket handler, detaching its thread.SAMStreamSession.newSAMStreamSessionSocketReader
(I2PSocket s, int id) SAMv2StreamSession.newSAMStreamSessionSocketReader
(I2PSocket s, int id) protected SAMStreamSession.StreamSender
SAMStreamSession.newStreamSender
(I2PSocket s, int id) protected SAMStreamSession.StreamSender
SAMv2StreamSession.newStreamSender
(I2PSocket s, int id) Lets us push data through the stream without blocking, (even after exceeding the I2PSocket's buffer)boolean
SAMv3StreamSession.queueSocket
(I2PSocket sock) Put a socket on the accept queue.Constructors in net.i2p.sam with parameters of type I2PSocketModifierConstructorDescriptionSAMStreamSessionSocketReader
(I2PSocket s, int id) Create a new SAM STREAM session socket readerSAMv1StreamSessionSocketReader
(I2PSocket s, int id) Create a new SAM STREAM session socket readerSAMv2StreamSessionSocketReader
(I2PSocket s, int id) Create a new SAM STREAM session socket readerStreamSender
(I2PSocket s, int id) -
Uses of I2PSocket in org.klomp.snark
Methods in org.klomp.snark that return I2PSocketMethods in org.klomp.snark with parameters of type I2PSocketModifier and TypeMethodDescriptionvoid
PeerAcceptor.connection
(I2PSocket socket, InputStream in, OutputStream out) Constructors in org.klomp.snark with parameters of type I2PSocketModifierConstructorDescriptionPeer
(I2PSocket sock, InputStream in, OutputStream out, byte[] my_id, byte[] infohash, MetaInfo metainfo) Incoming connection.