public class GridClientResponse extends GridClientAbstractMessage
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_AUTH_FAILURE
Authentication failure.
|
static int |
STATUS_FAILED
Command failed.
|
static int |
STATUS_ILLEGAL_ARGUMENT |
static int |
STATUS_SECURITY_CHECK_FAILED
Operation security failure.
|
static int |
STATUS_SUCCESS
Command succeeded.
|
Constructor and Description |
---|
GridClientResponse() |
Modifier and Type | Method and Description |
---|---|
String |
errorMessage() |
void |
errorMessage(String errorMsg) |
void |
readExternal(ObjectInput in) |
Object |
result() |
void |
result(Object res) |
int |
successStatus() |
void |
successStatus(int successStatus) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
clientId, clientId, destinationId, destinationId, requestId, requestId, sessionToken, sessionToken
public static final int STATUS_SUCCESS
public static final int STATUS_FAILED
public static final int STATUS_AUTH_FAILURE
public static final int STATUS_SECURITY_CHECK_FAILED
public static final int STATUS_ILLEGAL_ARGUMENT
public int successStatus()
True
if this request was successful.public void successStatus(int successStatus)
successStatus
- Whether request was successful.public String errorMessage()
null
.public void errorMessage(String errorMsg)
errorMsg
- Error message, if any error occurred.public Object result()
public void result(Object res)
res
- Request result.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class GridClientAbstractMessage
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class GridClientAbstractMessage
IOException
ClassNotFoundException
public String toString()
toString
in class GridClientAbstractMessage
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021