public abstract class ClientRequest extends Object implements Portable, SecureRequest
Modifier and Type | Field and Description |
---|---|
protected int |
callId |
protected ClientEngineImpl |
clientEngine |
protected ClientEndpoint |
endpoint |
protected Object |
service |
Constructor and Description |
---|
ClientRequest() |
Modifier and Type | Method and Description |
---|---|
int |
getCallId() |
ClientEngine |
getClientEngine() |
ClientEndpoint |
getEndpoint() |
<S> S |
getService() |
abstract String |
getServiceName() |
boolean |
isSingleConnection() |
void |
read(PortableReader reader) |
void |
readPortable(PortableReader reader) |
void |
setCallId(int callId) |
void |
setSingleConnection()
mark this request as SingleConnection
|
void |
write(PortableWriter writer) |
void |
writePortable(PortableWriter writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassId, getFactoryId
getRequiredPermission
protected int callId
protected transient ClientEngineImpl clientEngine
protected transient Object service
protected transient ClientEndpoint endpoint
public void setSingleConnection()
public boolean isSingleConnection()
public ClientEngine getClientEngine()
public <S> S getService()
public ClientEndpoint getEndpoint()
public abstract String getServiceName()
public int getCallId()
public void setCallId(int callId)
public final void writePortable(PortableWriter writer) throws IOException
writePortable
in interface Portable
IOException
public void write(PortableWriter writer) throws IOException
IOException
public final void readPortable(PortableReader reader) throws IOException
readPortable
in interface Portable
IOException
public void read(PortableReader reader) throws IOException
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.