public class KVConnectError extends AbstractMessage implements Control
| Constructor and Description |
|---|
KVConnectError(java.io.InputStream in)
A KVConnectError message that populates its data from a stream.
|
KVConnectError(int requestID,
java.lang.String message)
A KVConnectError with specified request ID and reason.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getReason()
Get the reason for the error.
|
int |
getRequestID()
Get the request ID.
|
addMessageComponent, getComponents, getURN, read, toString, writepublic KVConnectError(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 KVConnectError(int requestID,
java.lang.String message)
requestID - The request ID.message - The reason for the error.