rice.pastry
Interface NetworkListener
-
All Known Implementing Classes:
-
MessageDistributionPanelCreator, NetworkActivityPanelCreator, RecentMessagesPanelCreator, VisualizationServer.NetworkActivityChecker
public interface NetworkListener
Represents a listener to pastry network activity
- Version:
- $Id: NetworkListener.java 2834 2005-12-13 14:14:38Z jeffh $
- Author:
- Peter Druschel
Method Summary |
void |
channelClosed(java.net.InetSocketAddress addr)
|
void |
channelOpened(java.net.InetSocketAddress addr,
int reason)
|
void |
dataReceived(java.lang.Object message,
java.net.InetSocketAddress address,
int size,
int type)
|
void |
dataSent(java.lang.Object message,
java.net.InetSocketAddress address,
int size,
int type)
|
TYPE_UDP
static final int TYPE_UDP
- See Also:
- Constant Field Values
TYPE_TCP
static final int TYPE_TCP
- See Also:
- Constant Field Values
TYPE_SR_UDP
static final int TYPE_SR_UDP
- See Also:
- Constant Field Values
TYPE_SR_TCP
static final int TYPE_SR_TCP
- See Also:
- Constant Field Values
REASON_NORMAL
static final int REASON_NORMAL
- See Also:
- Constant Field Values
REASON_SR
static final int REASON_SR
- See Also:
- Constant Field Values
REASON_BOOTSTRAP
static final int REASON_BOOTSTRAP
- See Also:
- Constant Field Values
REASON_ACC_NORMAL
static final int REASON_ACC_NORMAL
- See Also:
- Constant Field Values
REASON_ACC_SR
static final int REASON_ACC_SR
- See Also:
- Constant Field Values
REASON_ACC_BOOTSTRAP
static final int REASON_ACC_BOOTSTRAP
- See Also:
- Constant Field Values
channelOpened
void channelOpened(java.net.InetSocketAddress addr,
int reason)
-
channelClosed
void channelClosed(java.net.InetSocketAddress addr)
-
dataSent
void dataSent(java.lang.Object message,
java.net.InetSocketAddress address,
int size,
int type)
-
dataReceived
void dataReceived(java.lang.Object message,
java.net.InetSocketAddress address,
int size,
int type)
-
Copyright © 2001-2005 - Rice Pastry.