public class SKConnect extends AbstractMessage implements Control
| Constructor and Description |
|---|
SKConnect(java.io.InputStream in)
An SKConnect message that populates its data from a stream.
|
SKConnect(int requestID,
int version,
java.lang.String name)
An SKConnect with a given version and request ID.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRequestID()
Get the request ID.
|
java.lang.String |
getSimulatorName()
Get the simulator name.
|
int |
getVersion()
Get the version number of this request.
|
addMessageComponent, getComponents, getURN, read, toString, writepublic SKConnect(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 SKConnect(int requestID,
int version,
java.lang.String name)
requestID - The request ID.version - The version number.name - The name of the simulator.public int getVersion()
public int getRequestID()
public java.lang.String getSimulatorName()