public class ClientResponse extends Object implements IdentifiedDataSerializable
| Constructor and Description |
|---|
ClientResponse() |
ClientResponse(Data response,
int callId,
boolean isError) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCallId() |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Data |
getResponse() |
boolean |
isError() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public ClientResponse()
public ClientResponse(Data response, int callId, boolean isError)
public Data getResponse()
public int getCallId()
public boolean isError()
public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.