Packages that use I2PSessionListener
Package
Description
Interfaces and factories for the base I2P SDK used to develop applications that communicate through I2P.
Internal implementation of the I2P client SDK - the client side of the Invisible Internet Client Protocol (I2CP), separating implementation from the interfaces in
net.i2p.client. Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
Datagram plumbing for UDP tunnels: sinks and sources that bridge a local UDP socket and an I2P stream, framing each datagram onto the stream and back.
The SAM bridge: a simple text protocol server letting applications in any language use I2P streaming and datagram sessions without implementing the Invisible Internet Client Protocol (I2CP).
I2P version of the Snark BitTorrent client, enhanced for I2P: peers are I2P destinations, torrents can be served anonymously as hidden services, and metadata carries I2P-specific comment fields.
BitTorrent distributed hash table (DHT) implementation following the Mainline protocol, for trackerless peer discovery.
Uses of I2PSessionListener in net.i2p.client
Subinterfaces of I2PSessionListener in net.i2p.clientModifier and TypeInterfaceDescriptioninterfaceDefine a means for the router to asynchronously notify the client that a new message is available or the router is under attack.Methods in net.i2p.client with parameters of type I2PSessionListenerModifier and TypeMethodDescriptionvoidI2PSession.addSessionListener(I2PSessionListener lsnr, int proto, int port) Listen on specified protocol and port.voidI2PSession.setSessionListener(I2PSessionListener lsnr) Instruct the I2PSession where it should send event notificationsUses of I2PSessionListener in net.i2p.client.impl
Classes in net.i2p.client.impl that implement I2PSessionListenerModifier and TypeClassDescriptionclassImplement multiplexing with a 1-byte 'protocol' and a two-byte 'port'.private static classFor listeners that don't care about proto and ports.Fields in net.i2p.client.impl declared as I2PSessionListenerModifier and TypeFieldDescriptionprivate I2PSessionListenerI2PSessionDemultiplexer.NoPortsListener._lThe listener messages are passed to.protected I2PSessionListenerI2PSessionImpl._sessionListenerWhere session events are sent.Methods in net.i2p.client.impl with parameters of type I2PSessionListenerModifier and TypeMethodDescriptionvoidI2PSessionDemultiplexer.addListener(I2PSessionListener l, int proto, int port) For those that don't need to hear about the protocol and ports in messageAvailable() (Streaming lib).voidI2PSessionImpl2.addSessionListener(I2PSessionListener lsnr, int proto, int port) Register a session listener.voidI2PSessionMuxedImpl.addSessionListener(I2PSessionListener lsnr, int proto, int port) Listen on specified protocol and port.voidI2PSessionImpl.setSessionListener(I2PSessionListener lsnr) Configure the listener.voidI2PSessionMuxedImpl.setSessionListener(I2PSessionListener lsnr) Listen on all protocols and ports.Constructors in net.i2p.client.impl with parameters of type I2PSessionListenerModifierConstructorDescriptionWraps a listener that has no muxed ports.Uses of I2PSessionListener in net.i2p.client.streaming.impl
Classes in net.i2p.client.streaming.impl that implement I2PSessionListenerModifier and TypeClassDescription(package private) classReceive raw information from the I2PSession and turn it into Packets, if we can.Uses of I2PSessionListener in net.i2p.i2ptunnel.udp
Classes in net.i2p.i2ptunnel.udp that implement I2PSessionListenerModifier and TypeClassDescriptionprotected classListener for incoming I2P datagrams, dispatching to the configured sink.Uses of I2PSessionListener in net.i2p.sam
Classes in net.i2p.sam that implement I2PSessionListenerModifier and TypeClassDescription(package private) classThe primary (mux) session for a SAMv3 client, sharing a single I2P destination across multiple protocol subsessions (STREAM, DATAGRAM, RAW).private classSAM message-based session handler, running in its own thread.Uses of I2PSessionListener in org.klomp.snark
Classes in org.klomp.snark that implement I2PSessionListenerModifier and TypeClassDescription(package private) classOne of these for all trackers and info hashes.Uses of I2PSessionListener in org.klomp.snark.dht
Classes in org.klomp.snark.dht that implement I2PSessionListenerModifier and TypeClassDescriptionclassKademlia Remote Procedure Call implementation for BitTorrent DHT (BEP 5) adapted for I2P.classA DHT instance for one or more torrents on a shared transient I2P session and destination.