com.hazelcast.client
Class ClientResponse
java.lang.Object
com.hazelcast.client.ClientResponse
- All Implemented Interfaces:
- DataSerializable, IdentifiedDataSerializable
public class ClientResponse
- extends Object
- implements IdentifiedDataSerializable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientResponse
public ClientResponse()
ClientResponse
public ClientResponse(Data response,
boolean isError,
int callId)
ClientResponse
public ClientResponse(Data response,
int callId,
boolean isEvent)
getResponse
public Data getResponse()
getCallId
public int getCallId()
isEvent
public boolean isEvent()
isError
public boolean isError()
getFactoryId
public int getFactoryId()
- Specified by:
getFactoryId
in interface IdentifiedDataSerializable
getId
public int getId()
- Specified by:
getId
in interface IdentifiedDataSerializable
writeData
public void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
- Specified by:
writeData
in interface DataSerializable
- Throws:
IOException
readData
public void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Throws:
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.