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 IdentifiedDataSerializable
public int getId()
getId
in interface IdentifiedDataSerializable
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException
readData
in interface DataSerializable
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.