Package | Description |
---|---|
net.i2p.sam |
The SAM client API.
|
Modifier and Type | Class | Description |
---|---|---|
(package private) class |
MasterSession |
A session that does nothing, but implements interfaces for raw, datagram, and streaming
for convenience.
|
(package private) class |
SAMv1Handler |
Class able to handle a SAM version 1 client connections.
|
(package private) class |
SAMv2Handler |
Class able to handle a SAM version 2 client connection.
|
(package private) class |
SAMv3DatagramSession |
|
(package private) class |
SAMv3Handler |
Class able to handle a SAM version 3 client connection.
|
Modifier and Type | Field | Description |
---|---|---|
protected SAMDatagramReceiver |
SAMDatagramSession.recv |
Constructor | Description |
---|---|
SAMDatagramSession(InputStream destStream,
Properties props,
SAMDatagramReceiver recv) |
Create a new SAM DATAGRAM session.
|
SAMDatagramSession(String dest,
Properties props,
SAMDatagramReceiver recv) |
Create a new SAM DATAGRAM session.
|
SAMDatagramSession(I2PSession sess,
Properties props,
int listenPort,
SAMDatagramReceiver recv) |
Create a new SAM DATAGRAM session on an existing I2P session.
|