public class ClientResponse extends Object implements IdentifiedDataSerializable
| Constructor and Description |
|---|
ClientResponse() |
ClientResponse(Data response,
boolean isError,
int callId) |
ClientResponse(Data response,
int callId,
boolean isEvent) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCallId() |
int |
getFactoryId() |
int |
getId() |
Data |
getResponse() |
boolean |
isError() |
boolean |
isEvent() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
public ClientResponse()
public ClientResponse(Data response, boolean isError, int callId)
public ClientResponse(Data response, int callId, boolean isEvent)
public Data getResponse()
public int getCallId()
public boolean isEvent()
public boolean isError()
public int getFactoryId()
getFactoryId in interface IdentifiedDataSerializablepublic int getId()
getId in interface IdentifiedDataSerializablepublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeData in interface DataSerializableIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readData in interface DataSerializableIOExceptionCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.