com.hazelcast.client
Class ClientRequest
java.lang.Object
com.hazelcast.client.ClientRequest
- All Implemented Interfaces:
- SecureRequest, Portable
- Direct Known Subclasses:
- AllPartitionsClientRequest, CallableClientRequest, GetDistributedObjectsRequest, InvocationClientRequest, MultiPartitionClientRequest, MultiTargetClientRequest, PartitionClientRequest, TargetClientRequest
public abstract class ClientRequest
- extends Object
- implements Portable, SecureRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
callId
protected int callId
clientEngine
protected transient ClientEngineImpl clientEngine
service
protected transient Object service
endpoint
protected transient ClientEndpoint endpoint
ClientRequest
public ClientRequest()
setSingleConnection
public void setSingleConnection()
- mark this request as SingleConnection
isSingleConnection
public boolean isSingleConnection()
- Returns:
- true if this request is SingleConnection false otherwise
getClientEngine
public ClientEngine getClientEngine()
getService
public <S> S getService()
getEndpoint
public ClientEndpoint getEndpoint()
getServiceName
public abstract String getServiceName()
getCallId
public int getCallId()
setCallId
public void setCallId(int callId)
writePortable
public final void writePortable(PortableWriter writer)
throws IOException
- Specified by:
writePortable
in interface Portable
- Throws:
IOException
write
public void write(PortableWriter writer)
throws IOException
- Throws:
IOException
readPortable
public final void readPortable(PortableReader reader)
throws IOException
- Specified by:
readPortable
in interface Portable
- Throws:
IOException
read
public void read(PortableReader reader)
throws IOException
- Throws:
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.