Package net.i2p.sam.client
Interface SAMReader.SAMClientEventListener
- All Known Implementing Classes:
SAMClientEventListenerImpl
,SAMEventHandler
- Enclosing class:
SAMReader
public static interface SAMReader.SAMClientEventListener
Async event notification interface for SAM clients
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionvoid
datagramReceived
(String dest, byte[] data, int offset, int length, int fromPort, int toPort) void
destReplyReceived
(String publicKey, String privateKey) void
helloReplyReceived
(boolean ok, String version) void
namingReplyReceived
(String name, String result, String value, String message) void
pingReceived
(String data) void
pongReceived
(String data) void
rawReceived
(byte[] data, int offset, int length, int fromPort, int toPort, int protocol) void
sessionStatusReceived
(String result, String destination, String message) void
streamClosedReceived
(String result, String id, String message) void
streamConnectedReceived
(String remoteDestination, String id) void
streamDataReceived
(String id, byte[] data, int offset, int length) void
streamStatusReceived
(String result, String id, String message) void
unknownMessageReceived
(String major, String minor, Properties params)
-
Field Details
-
SESSION_STATUS_OK
- See Also:
-
SESSION_STATUS_DUPLICATE_DEST
- See Also:
-
SESSION_STATUS_I2P_ERROR
- See Also:
-
SESSION_STATUS_INVALID_KEY
- See Also:
-
STREAM_STATUS_OK
- See Also:
-
STREAM_STATUS_CANT_REACH_PEER
- See Also:
-
STREAM_STATUS_I2P_ERROR
- See Also:
-
STREAM_STATUS_INVALID_KEY
- See Also:
-
STREAM_STATUS_TIMEOUT
- See Also:
-
STREAM_CLOSED_OK
- See Also:
-
STREAM_CLOSED_CANT_REACH_PEER
- See Also:
-
STREAM_CLOSED_I2P_ERROR
- See Also:
-
STREAM_CLOSED_PEER_NOT_FOUND
- See Also:
-
STREAM_CLOSED_TIMEOUT
- See Also:
-
NAMING_REPLY_OK
- See Also:
-
NAMING_REPLY_INVALID_KEY
- See Also:
-
NAMING_REPLY_KEY_NOT_FOUND
- See Also:
-
-
Method Details
-
helloReplyReceived
-
sessionStatusReceived
-
streamStatusReceived
-
streamConnectedReceived
-
streamClosedReceived
-
streamDataReceived
-
namingReplyReceived
-
destReplyReceived
-
datagramReceived
-
rawReceived
void rawReceived(byte[] data, int offset, int length, int fromPort, int toPort, int protocol) -
pingReceived
-
pongReceived
-
unknownMessageReceived
-