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