public class KGConnect extends AbstractMessage implements Control
Constructor and Description |
---|
KGConnect(java.io.InputStream in)
A KGConnect message that populates its data from a stream.
|
KGConnect(int version)
A KGConnect message with a specified version number.
|
Modifier and Type | Method and Description |
---|---|
int |
getVersion()
Get the version number of the message.
|
addMessageComponent, getComponents, getURN, read, toString, write
public KGConnect(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 KGConnect(int version)
version
- The version number field.