Uses of Class
net.i2p.sam.SAMException
Packages that use SAMException
-
Uses of SAMException in net.i2p.sam
Methods in net.i2p.sam that throw SAMExceptionModifier and TypeMethodDescriptionvoidPrimarySession.accept(SAMv3Handler handler, boolean verbose) voidSAMv3StreamSession.accept(SAMv3Handler handler, boolean verbose) Accept a single incoming STREAM on the socket stolen from the handler.booleanSAMSecureSession.approveOrDenySecureSession(Properties i2cpProps, Properties props) Authenticate based on the i2cp username/password.booleanSAMSecureSessionInterface.approveOrDenySecureSession(Properties i2cpProps, Properties props) Within this function, read and accept input from a user to approve a SAM connection.static SAMHandlerSAMHandlerFactory.createSAMHandler(SocketChannel s, Properties i2cpProps, SAMBridge parent) Return the right SAM handler depending on the protocol version required by the client.(package private) SAMStreamSessionSAMv2Handler.newSAMStreamSession(String destKeystream, String direction, Properties props) static PropertiesSAMUtils.parseParams(String args) Parse SAM parameters, and put them into a Propetries object Modified from EepGet.voidPrimarySession.startForwardingIncoming(Properties props, boolean sendPorts) voidSAMv3StreamSession.startForwardingIncoming(Properties props, boolean sendPorts) Forward sockets from I2P to the host/port provided.voidSAMv3StreamSession.stopForwardingIncoming()stop Forwarding Incoming connection coming from I2PConstructors in net.i2p.sam that throw SAMExceptionModifierConstructorDescriptionPrimarySession(String nick, SAMv3DatagramServer dgServer, SAMv3Handler handler, Properties props) Build a Session according to information registered with the given nickname.protectedSAMStreamSession(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.protectedSAMStreamSession(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().