Class GridClientHandshakeResponse
- java.lang.Object
-
- org.apache.ignite.internal.processors.rest.client.message.GridClientAbstractMessage
-
- org.apache.ignite.internal.processors.rest.client.message.GridClientHandshakeResponse
-
- All Implemented Interfaces:
Externalizable,Serializable,GridClientMessage
public class GridClientHandshakeResponse extends GridClientAbstractMessage
A client handshake response, containing result code.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static byteCODE_OKstatic GridClientHandshakeResponseOKResponse, indicating successful handshake.
-
Constructor Summary
Constructors Constructor Description GridClientHandshakeResponse()Constructor forExternalizable.GridClientHandshakeResponse(byte resCode)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byteresultCode()StringtoString()-
Methods inherited from class org.apache.ignite.internal.processors.rest.client.message.GridClientAbstractMessage
clientId, clientId, destinationId, destinationId, readExternal, requestId, requestId, sessionToken, sessionToken, writeExternal
-
-
-
-
Field Detail
-
CODE_OK
public static final byte CODE_OK
- See Also:
- Constant Field Values
-
OK
public static final GridClientHandshakeResponse OK
Response, indicating successful handshake.
-
-
Constructor Detail
-
GridClientHandshakeResponse
public GridClientHandshakeResponse()
Constructor forExternalizable.
-
GridClientHandshakeResponse
public GridClientHandshakeResponse(byte resCode)
Constructor.- Parameters:
resCode- Result code.
-
-
Method Detail
-
resultCode
public byte resultCode()
- Returns:
- Result code.
-
toString
public String toString()
- Overrides:
toStringin classGridClientAbstractMessage
-
-