public class KSUpdate extends AbstractMessage implements Control
| Constructor and Description |
|---|
KSUpdate(java.io.InputStream in)
A KSUpdate message that populates its data from a stream.
|
KSUpdate(int id,
int time,
ChangeSet changes)
A populated KSUpdate message.
|
| Modifier and Type | Method and Description |
|---|---|
ChangeSet |
getChangeSet()
Get the list of changes.
|
int |
getTargetID()
Get the id of the component that this message is addressed to.
|
int |
getTime()
Get the time of the simulation.
|
addMessageComponent, getComponents, getURN, read, toString, writepublic KSUpdate(java.io.InputStream in)
throws java.io.IOException
in - The InputStream to read.java.io.IOException - If there is a problem reading the stream.public KSUpdate(int id,
int time,
ChangeSet changes)
id - The id of the simulator receiving the update.time - The timestep of the simulation.changes - The changeset.public int getTargetID()
public int getTime()
public ChangeSet getChangeSet()