public static interface SAMReader.SAMClientEventListener| Modifier and Type | Field and Description |
|---|---|
static String | NAMING_REPLY_INVALID_KEYNAMING_REPLY_INVALID_KEY. |
static String | NAMING_REPLY_KEY_NOT_FOUNDNAMING_REPLY_KEY_NOT_FOUND. |
static String | NAMING_REPLY_OKNAMING_REPLY_OK. |
static String | SESSION_STATUS_DUPLICATE_DESTSESSION_STATUS_DUPLICATE_DEST. |
static String | SESSION_STATUS_I2P_ERRORSESSION_STATUS_I2P_ERROR. |
static String | SESSION_STATUS_INVALID_KEYSESSION_STATUS_INVALID_KEY. |
static String | SESSION_STATUS_OKSESSION_STATUS_OK. |
static String | STREAM_CLOSED_CANT_REACH_PEERSTREAM_CLOSED_CANT_REACH_PEER. |
static String | STREAM_CLOSED_I2P_ERRORSTREAM_CLOSED_I2P_ERROR. |
static String | STREAM_CLOSED_OKSTREAM_CLOSED_OK. |
static String | STREAM_CLOSED_PEER_NOT_FOUNDSTREAM_CLOSED_PEER_NOT_FOUND. |
static String | STREAM_CLOSED_TIMEOUTSTREAM_CLOSED_TIMEOUT. |
static String | STREAM_STATUS_CANT_REACH_PEERSTREAM_STATUS_CANT_REACH_PEER. |
static String | STREAM_STATUS_I2P_ERRORSTREAM_STATUS_I2P_ERROR. |
static String | STREAM_STATUS_INVALID_KEYSTREAM_STATUS_INVALID_KEY. |
static String | STREAM_STATUS_OKSTREAM_STATUS_OK. |
static String | STREAM_STATUS_TIMEOUTSTREAM_STATUS_TIMEOUT. |
| Modifier and Type | Method and Description |
|---|---|
void | datagramReceived(String dest,
byte[] data,
int offset,
int length,
int fromPort,
int toPort)toPort). |
void | destReplyReceived(String publicKey,
String privateKey)privateKey). |
void | helloReplyReceived(boolean ok,
String version)version). |
void | namingReplyReceived(String name,
String result,
String value,
String message)message). |
void | pingReceived(String data)data). |
void | pongReceived(String data)data). |
void | rawReceived(byte[] data,
int offset,
int length,
int fromPort,
int toPort,
int protocol)protocol). |
void | sessionStatusReceived(String result,
String destination,
String message)message). |
void | streamClosedReceived(String result,
String id,
String message)message). |
void | streamConnectedReceived(String remoteDestination,
String id)id). |
void | streamDataReceived(String id,
byte[] data,
int offset,
int length)length). |
void | streamStatusReceived(String result,
String id,
String message)message). |
void | unknownMessageReceived(String major,
String minor,
Properties params)params). |
static final String NAMING_REPLY_INVALID_KEY
static final String NAMING_REPLY_KEY_NOT_FOUND
static final String NAMING_REPLY_OK
static final String SESSION_STATUS_DUPLICATE_DEST
static final String SESSION_STATUS_I2P_ERROR
static final String SESSION_STATUS_INVALID_KEY
static final String SESSION_STATUS_OK
static final String STREAM_CLOSED_CANT_REACH_PEER
static final String STREAM_CLOSED_I2P_ERROR
static final String STREAM_CLOSED_OK
static final String STREAM_CLOSED_PEER_NOT_FOUND
static final String STREAM_CLOSED_TIMEOUT
static final String STREAM_STATUS_CANT_REACH_PEER
static final String STREAM_STATUS_I2P_ERROR
static final String STREAM_STATUS_INVALID_KEY
static final String STREAM_STATUS_OK
static final String STREAM_STATUS_TIMEOUT
void datagramReceived(String dest, byte[] data, int offset, int length, int fromPort, int toPort)
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 streamDataReceived(String id, byte[] data, int offset, int length)
void unknownMessageReceived(String major, String minor, Properties params)