|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represents a listener to pastry network activity
| Field Summary | |
static int |
REASON_ACC_BOOTSTRAP
DESCRIBE THE FIELD |
static int |
REASON_ACC_NORMAL
DESCRIBE THE FIELD |
static int |
REASON_ACC_SR
DESCRIBE THE FIELD |
static int |
REASON_APP_SOCKET_NORMAL
DESCRIBE THE FIELD |
static int |
REASON_BOOTSTRAP
DESCRIBE THE FIELD |
static int |
REASON_NORMAL
DESCRIBE THE FIELD |
static int |
REASON_SR
DESCRIBE THE FIELD |
static int |
TYPE_SR_TCP
DESCRIBE THE FIELD |
static int |
TYPE_SR_UDP
DESCRIBE THE FIELD |
static int |
TYPE_TCP
DESCRIBE THE FIELD |
static int |
TYPE_UDP
DESCRIBE THE FIELD |
| Method Summary | |
void |
channelClosed(java.net.InetSocketAddress addr)
DESCRIBE THE METHOD |
void |
channelOpened(java.net.InetSocketAddress addr,
int reason)
DESCRIBE THE METHOD |
void |
dataReceived(java.lang.Object message,
java.net.InetSocketAddress address,
int size,
int type)
DESCRIBE THE METHOD |
void |
dataSent(java.lang.Object message,
java.net.InetSocketAddress address,
int size,
int type)
DESCRIBE THE METHOD |
| Field Detail |
public static final int TYPE_UDP
public static final int TYPE_TCP
public static final int TYPE_SR_UDP
public static final int TYPE_SR_TCP
public static final int REASON_NORMAL
public static final int REASON_SR
public static final int REASON_BOOTSTRAP
public static final int REASON_ACC_NORMAL
public static final int REASON_ACC_SR
public static final int REASON_ACC_BOOTSTRAP
public static final int REASON_APP_SOCKET_NORMAL
| Method Detail |
public void channelOpened(java.net.InetSocketAddress addr,
int reason)
addr - DESCRIBE THE PARAMETERreason - DESCRIBE THE PARAMETERpublic void channelClosed(java.net.InetSocketAddress addr)
addr - DESCRIBE THE PARAMETER
public void dataSent(java.lang.Object message,
java.net.InetSocketAddress address,
int size,
int type)
message - DESCRIBE THE PARAMETERaddress - DESCRIBE THE PARAMETERsize - DESCRIBE THE PARAMETERtype - DESCRIBE THE PARAMETER
public void dataReceived(java.lang.Object message,
java.net.InetSocketAddress address,
int size,
int type)
message - DESCRIBE THE PARAMETERaddress - DESCRIBE THE PARAMETERsize - DESCRIBE THE PARAMETERtype - DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||