rice.visualization.server
Class RecentMessagesPanelCreator
java.lang.Object
rice.visualization.server.RecentMessagesPanelCreator
-
All Implemented Interfaces:
-
NetworkListener, PanelCreator
-
public class RecentMessagesPanelCreator
- extends java.lang.Object
- implements PanelCreator, NetworkListener
Method Summary |
protected void |
addMessage(java.lang.Object obj,
java.net.InetSocketAddress address,
int size,
java.util.Vector location,
java.util.Vector locationAddresses,
java.util.Vector locationSizes)
|
void |
channelClosed(java.net.InetSocketAddress addr)
|
void |
channelOpened(java.net.InetSocketAddress addr,
int reason)
|
DataPanel |
createPanel(java.lang.Object[] objects)
|
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)
|
protected java.lang.String |
getType(java.lang.String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUM_MESSAGES
public static int NUM_MESSAGES
TYPES
public static java.lang.String[] TYPES
TYPE_PREFIXES
public static java.lang.String[] TYPE_PREFIXES
sentMessages
protected java.util.Vector sentMessages
sentMessageAddresses
protected java.util.Vector sentMessageAddresses
sentMessageSizes
protected java.util.Vector sentMessageSizes
receivedMessages
protected java.util.Vector receivedMessages
receivedMessageAddresses
protected java.util.Vector receivedMessageAddresses
receivedMessageSizes
protected java.util.Vector receivedMessageSizes
RecentMessagesPanelCreator
public RecentMessagesPanelCreator()
createPanel
public DataPanel createPanel(java.lang.Object[] objects)
-
- Specified by:
-
createPanel
in interface PanelCreator
-
getType
protected java.lang.String getType(java.lang.String message)
-
-
addMessage
protected void addMessage(java.lang.Object obj,
java.net.InetSocketAddress address,
int size,
java.util.Vector location,
java.util.Vector locationAddresses,
java.util.Vector locationSizes)
-
-
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.