| Package | Description |
|---|---|
| net.i2p.sam | The SAM (Simple Anonymous Messaging) client API. |
| Modifier and Type | Field and Description |
|---|---|
protected SAMBridge | SAMHandler.bridgebridge. |
| Modifier and Type | Method and Description |
|---|---|
(package private) SAMBridge | SAMv3Handler.getBridge()For SAMv3StreamSession |
| Modifier and Type | Method and 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 and 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 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. |