Package | Description |
---|---|
net.i2p.sam |
Modifier and Type | Method and Description |
---|---|
void |
SAMv3StreamSession.accept(SAMv3Handler handler,
boolean verbose)
Accept an incoming STREAM
|
static SAMHandler |
SAMHandlerFactory.createSAMHandler(SocketChannel s,
Properties i2cpProps)
Return the right SAM handler depending on the protocol version
required by the client.
|
(package private) SAMv3DatagramSession |
SAMv3Handler.newSAMDatagramSession(String login) |
(package private) SAMv3RawSession |
SAMv3Handler.newSAMRawSession(String login) |
(package private) SAMv3StreamSession |
SAMv3Handler.newSAMStreamSession(String login) |
(package private) SAMStreamSession |
SAMv2Handler.newSAMStreamSession(String destKeystream,
String direction,
Properties props) |
(package private) SAMStreamSession |
SAMv1Handler.newSAMStreamSession(String destKeystream,
String direction,
Properties props) |
static Properties |
SAMUtils.parseParams(StringTokenizer tok)
Parse SAM parameters, and put them into a Propetries object
|
void |
SAMv3StreamSession.startForwardingIncoming(Properties props) |
void |
SAMv3StreamSession.stopForwardingIncoming()
stop Forwarding Incoming connection coming from I2P
|
Constructor and Description |
---|
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.
|
SAMv1Handler(SocketChannel s,
int verMajor,
int verMinor)
Create a new SAM version 1 handler.
|
SAMv1Handler(SocketChannel s,
int verMajor,
int verMinor,
Properties i2cpProps)
Create a new SAM version 1 handler.
|
SAMv2Handler(SocketChannel s,
int verMajor,
int verMinor)
Create a new SAM version 2 handler.
|
SAMv2Handler(SocketChannel s,
int verMajor,
int verMinor,
Properties i2cpProps)
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)
build a DatagramSession according to informations registered
with the given nickname
|
SAMv3Handler(SocketChannel s,
int verMajor,
int verMinor)
Create a new SAM version 3 handler.
|
SAMv3Handler(SocketChannel s,
int verMajor,
int verMinor,
Properties i2cpProps)
Create a new SAM version 3 handler.
|
SAMv3StreamSession(String login)
Create a new SAM STREAM session, according to information
registered with the given nickname
|