Package | Description |
---|---|
net.i2p.sam |
The SAM client API.
|
Modifier and Type | Field | Description |
---|---|---|
protected SAMBridge |
SAMHandler.bridge |
Modifier and Type | Method | Description |
---|---|---|
(package private) SAMBridge |
SAMv3Handler.getBridge() |
For SAMv3StreamSession
|
Modifier and Type | Method | Description |
---|---|---|
static SAMHandler |
SAMHandlerFactory.createSAMHandler(SocketChannel s,
Properties i2cpProps,
SAMBridge parent) |
Return the right SAM handler depending on the protocol version
required by the client.
|
Constructor | Description |
---|---|
SAMHandler(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.
|
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.
|