ePOST API

rice.visualization.server
Class VisualizationServer.NetworkActivityChecker

java.lang.Object
  extended by rice.visualization.server.VisualizationServer.NetworkActivityChecker
All Implemented Interfaces:
NetworkListener
Enclosing class:
VisualizationServer

public class VisualizationServer.NetworkActivityChecker
extends java.lang.Object
implements NetworkListener


Field Summary
protected  long lastReceived
           
protected  long lastSent
           
 
Fields inherited from interface rice.pastry.NetworkListener
REASON_ACC_BOOTSTRAP, REASON_ACC_NORMAL, REASON_ACC_SR, REASON_BOOTSTRAP, REASON_NORMAL, REASON_SR, TYPE_SR_TCP, TYPE_SR_UDP, TYPE_TCP, TYPE_UDP
 
Constructor Summary
VisualizationServer.NetworkActivityChecker()
           
 
Method Summary
 void channelClosed(java.net.InetSocketAddress addr)
           
 void channelOpened(java.net.InetSocketAddress addr, int reason)
           
 void checkForErrors()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastSent

protected long lastSent

lastReceived

protected long lastReceived
Constructor Detail

VisualizationServer.NetworkActivityChecker

public VisualizationServer.NetworkActivityChecker()
Method Detail

dataSent

public void dataSent(java.lang.Object message,
                     java.net.InetSocketAddress address,
                     int size,
                     int type)
Specified by:
dataSent in interface NetworkListener

dataReceived

public void dataReceived(java.lang.Object message,
                         java.net.InetSocketAddress address,
                         int size,
                         int type)
Specified by:
dataReceived in interface NetworkListener

checkForErrors

public void checkForErrors()

channelOpened

public void channelOpened(java.net.InetSocketAddress addr,
                          int reason)
Specified by:
channelOpened in interface NetworkListener

channelClosed

public void channelClosed(java.net.InetSocketAddress addr)
Specified by:
channelClosed in interface NetworkListener

ePOST API

Copyright © 2001-2005 - Rice Pastry.