rice.visualization.server
Class MessageDistributionPanelCreator
java.lang.Object
rice.visualization.server.MessageDistributionPanelCreator
-
All Implemented Interfaces:
-
NetworkListener, PanelCreator
-
public class MessageDistributionPanelCreator
- extends java.lang.Object
- implements PanelCreator, NetworkListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUM_DATA_POINTS
public static int NUM_DATA_POINTS
NUM_MESSAGES
public static int NUM_MESSAGES
UPDATE_TIME
public static int UPDATE_TIME
TYPES
public static java.lang.String[] TYPES
TYPE_PREFIXES
public static java.lang.String[] TYPE_PREFIXES
messages
protected java.util.Vector messages
messageSizes
protected java.util.Vector messageSizes
MessageDistributionPanelCreator
public MessageDistributionPanelCreator()
createPanel
public DataPanel createPanel(java.lang.Object[] objects)
-
- Specified by:
-
createPanel
in interface PanelCreator
-
addMessage
protected void addMessage(java.lang.Object obj,
int size)
-
-
getMessages
protected java.lang.String[] getMessages()
-
-
getMessageSizes
protected java.lang.Integer[] getMessageSizes()
-
-
getMessageSizeBreakdown
protected double[] getMessageSizeBreakdown()
-
-
getMessageCountBreakdown
protected double[] getMessageCountBreakdown()
-
-
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
-
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
-
Copyright © 2001-2005 - Rice Pastry.