public class ViewerProxy extends AbstractKernelComponent
Constructor and Description |
---|
ViewerProxy(java.lang.String name,
int id,
Connection c)
Construct a viewer.
|
Modifier and Type | Method and Description |
---|---|
void |
sendTimestep(Timestep time)
Send a Timestep structure to this viewer.
|
java.lang.String |
toString() |
getConnection, getName, send, send, shutdown
public ViewerProxy(java.lang.String name, int id, Connection c)
name
- The name of the viewer.id
- The ID of the viewer.c
- The connection to the viewer.public void sendTimestep(Timestep time)
time
- The Timestep to send.public java.lang.String toString()
toString
in class java.lang.Object