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_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, sessionTokenpublic 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 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 ExternalizablewriteExternal in class GridClientAbstractMessageIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class GridClientAbstractMessageIOExceptionClassNotFoundExceptionpublic String toString()
toString in class GridClientAbstractMessage
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017