com.hazelcast.client
Class ClientResponse

java.lang.Object
  extended by com.hazelcast.client.ClientResponse
All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable

public class ClientResponse
extends Object
implements IdentifiedDataSerializable


Constructor Summary
ClientResponse()
           
ClientResponse(Data response, boolean isError, int callId)
           
ClientResponse(Data response, int callId, boolean isEvent)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientResponse

public ClientResponse()

ClientResponse

public ClientResponse(Data response,
                      boolean isError,
                      int callId)

ClientResponse

public ClientResponse(Data response,
                      int callId,
                      boolean isEvent)
Method Detail

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.