public class GridClientHandshakeResponse extends GridClientAbstractMessage
| Modifier and Type | Field and Description |
|---|---|
static byte |
CODE_OK |
static byte |
CODE_UNKNOWN_PROTO_ID |
static GridClientHandshakeResponse |
ERR_UNKNOWN_PROTO_ID
Response, indicating that protocol ID, specified by the client, is invalid.
|
static GridClientHandshakeResponse |
OK
Response, indicating successful handshake.
|
| Constructor and Description |
|---|
GridClientHandshakeResponse()
Constructor for
Externalizable. |
GridClientHandshakeResponse(byte resCode)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(ObjectInput in) |
byte |
resultCode() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
clientId, clientId, destinationId, destinationId, requestId, requestId, sessionToken, sessionTokenpublic static final byte CODE_OK
public static final byte CODE_UNKNOWN_PROTO_ID
public static final GridClientHandshakeResponse OK
public static final GridClientHandshakeResponse ERR_UNKNOWN_PROTO_ID
public GridClientHandshakeResponse()
Externalizable.public GridClientHandshakeResponse(byte resCode)
resCode - Result code.public byte resultCode()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class GridClientAbstractMessageIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class GridClientAbstractMessageIOExceptionClassNotFoundExceptionCopyright © 2014. All rights reserved.