Packages that use SAMBridge
Package
Description
Helpers and handlers for the router console user interface, packaged in routerconsole.war and accessible only from JSP files.
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).
Uses of SAMBridge in net.i2p.router.web.helpers
Methods in net.i2p.router.web.helpers that return SAMBridgeUses of SAMBridge in net.i2p.sam
Fields in net.i2p.sam declared as SAMBridgeModifier and TypeFieldDescriptionprivate final SAMBridgeSAMv3DatagramServer._parentThe bridge serving the destination.protected final SAMBridgeSAMHandler.bridgeRouter bridge this handler routes sessions over.private final SAMBridgeSAMv3StreamSession.Pipe.bridgeThe bridge that started the session.Methods in net.i2p.sam that return SAMBridgeModifier and TypeMethodDescription(package private) SAMBridgeSAMv3Handler.getBridge()For SAMv3StreamSession.Methods in net.i2p.sam with parameters of type SAMBridgeModifier and TypeMethodDescriptionstatic SAMHandlerSAMHandlerFactory.createSAMHandler(SocketChannel s, Properties i2cpProps, SAMBridge parent) Return the right SAM handler depending on the protocol version required by the client.Constructors in net.i2p.sam with parameters of type SAMBridgeModifierConstructorDescriptionPipe(ReadableByteChannel in, WritableByteChannel out, SAMBridge bridge) Create a pipe without session tracking.Pipe(ReadableByteChannel in, WritableByteChannel out, SAMBridge bridge, String nick) Create a pipe with session tracking.protectedSAMHandler(SocketChannel s, int verMajor, int verMinor, Properties i2cpProps, SAMBridge parent) SAMHandler constructor (to be called by subclasses).SAMv1Handler(SocketChannel s, int verMajor, int verMinor, Properties i2cpProps, SAMBridge parent) Create a new SAM version 1 handler.SAMv1Handler(SocketChannel s, int verMajor, int verMinor, SAMBridge parent) Create a new SAM version 1 handler.SAMv2Handler(SocketChannel s, int verMajor, int verMinor, Properties i2cpProps, SAMBridge parent) Create a new SAM version 2 handler.SAMv2Handler(SocketChannel s, int verMajor, int verMinor, SAMBridge parent) Create a new SAM version 2 handler with default I2CP properties.SAMv3DatagramServer(SAMBridge parent, String host, int port, Properties props) Does not start listener.SAMv3Handler(SocketChannel s, int verMajor, int verMinor, Properties i2cpProps, SAMBridge parent) Create a new SAM version 3 handler.SAMv3Handler(SocketChannel s, int verMajor, int verMinor, SAMBridge parent) Create a new SAM version 3 handler.