public class SampleViewer extends StandardViewer
viewerID
config, connection, model, random
Constructor and Description |
---|
SampleViewer() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleTimestep(KVTimestep t)
Handle a KVTimestep object from the server.
|
protected void |
postConnect()
Perform any post-connection work required before acknowledgement of the connection is made.
|
java.lang.String |
toString() |
createWorldModel
connect, getViewerID, postConnect, processMessage
getName, getPreferredLogContext, getPreferredNDC, getPreferredRegistry, initialise, postConnect, processImmediately, send, shutdown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getPreferredLogContext, getPreferredRegistry, initialise, shutdown
protected void postConnect()
AbstractComponent
postConnect
in class StandardViewer
protected void handleTimestep(KVTimestep t)
AbstractViewer
handleTimestep
in class AbstractViewer<StandardWorldModel>
t
- The KVTimestep object.public java.lang.String toString()
toString
in class java.lang.Object