Uses of Class
net.i2p.sam.SAMException
-
Uses of SAMException in net.i2p.sam
Modifier and TypeMethodDescriptionvoid
PrimarySession.accept
(SAMv3Handler handler, boolean verbose) void
SAMv3StreamSession.accept
(SAMv3Handler handler, boolean verbose) Accept a single incoming STREAM on the socket stolen from the handler.boolean
SAMSecureSession.approveOrDenySecureSession
(Properties i2cpProps, Properties props) Authenticate based on the i2cp username/password.boolean
SAMSecureSessionInterface.approveOrDenySecureSession
(Properties i2cpProps, Properties props) Within this function, read and accept input from a user to approve a SAM connection.static SAMHandler
SAMHandlerFactory.createSAMHandler
(SocketChannel s, Properties i2cpProps, SAMBridge parent) Return the right SAM handler depending on the protocol version required by the client.(package private) SAMStreamSession
SAMv2Handler.newSAMStreamSession
(String destKeystream, String direction, Properties props) static Properties
SAMUtils.parseParams
(String args) Parse SAM parameters, and put them into a Propetries object Modified from EepGet.void
PrimarySession.startForwardingIncoming
(Properties props, boolean sendPorts) void
SAMv3StreamSession.startForwardingIncoming
(Properties props, boolean sendPorts) Forward sockets from I2P to the host/port provided.void
SAMv3StreamSession.stopForwardingIncoming()
stop Forwarding Incoming connection coming from I2PModifierConstructorDescriptionPrimarySession
(String nick, SAMv3DatagramServer dgServer, SAMv3Handler handler, Properties props) Build a Session according to information registered with the given nickname.protected
SAMStreamSession
(InputStream destStream, String dir, Properties props, SAMStreamReceiver recv) Create a new SAM STREAM session.SAMStreamSession
(String dest, String dir, Properties props, SAMStreamReceiver recv) Create a new SAM STREAM session.protected
SAMStreamSession
(I2PSocketManager mgr, Properties props, SAMStreamReceiver recv, int listenport) Create a new SAM STREAM session on an existing socket manager.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.SAMv2StreamSession
(InputStream destStream, String dir, Properties props, SAMStreamReceiver recv) Create a new SAM STREAM session.SAMv2StreamSession
(String dest, String dir, Properties props, SAMStreamReceiver recv) Create a new SAM STREAM session.SAMv3DatagramSession
(String nick, SAMv3DatagramServer dgServer) build a DatagramSession according to informations registered with the given nickname Caller MUST call start().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.SAMv3StreamSession
(String login) Create a new SAM STREAM session, according to information registered with the given nickname Caller MUST call start().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().