|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.client.impl.client.ClientRequest
com.hazelcast.client.impl.client.CallableClientRequest
com.hazelcast.collection.client.CollectionAddListenerRequest
public class CollectionAddListenerRequest
this class is used to attach a listener to node for collections
| Field Summary |
|---|
| Fields inherited from class com.hazelcast.client.impl.client.ClientRequest |
|---|
callId, clientEngine, endpoint, operationService, serializationService, service |
| Constructor Summary | |
|---|---|
CollectionAddListenerRequest()
|
|
CollectionAddListenerRequest(String name,
boolean includeValue)
|
|
| Method Summary | |
|---|---|
Object |
call()
|
int |
getClassId()
Returns class identifier for this portable class. |
String |
getDistributedObjectName()
Used for SecurityInterceptor |
int |
getFactoryId()
Returns PortableFactory id for this portable class |
String |
getMethodName()
Used for SecurityInterceptor
Method name which called via a distributedObject
for map.put, methodName will be 'put'
For requests which do not produced via a distributedObject should return null, for example internal client. |
Object[] |
getParameters()
Used for SecurityInterceptor
Parameters passed to the method by a distributedObject
for map.put(key, value) parameters should be 'key' and 'value'
parameters can be in binary or object form, underlying implementation will de-serialize lazily |
Permission |
getRequiredPermission()
|
String |
getServiceName()
|
void |
read(PortableReader reader)
|
void |
setServiceName(String serviceName)
|
void |
write(PortableWriter writer)
|
| Methods inherited from class com.hazelcast.client.impl.client.CallableClientRequest |
|---|
process |
| Methods inherited from class com.hazelcast.client.impl.client.ClientRequest |
|---|
getCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getService, isSingleConnection, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, setSingleConnection, writePortable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionAddListenerRequest()
public CollectionAddListenerRequest(String name,
boolean includeValue)
| Method Detail |
|---|
public Object call()
throws Exception
call in interface CallableExceptionpublic String getServiceName()
getServiceName in class ClientRequestpublic void setServiceName(String serviceName)
public int getFactoryId()
Portable
getFactoryId in interface Portablepublic int getClassId()
Portable
getClassId in interface Portable
public void write(PortableWriter writer)
throws IOException
write in class ClientRequestIOException
public void read(PortableReader reader)
throws IOException
read in class ClientRequestIOExceptionpublic Permission getRequiredPermission()
getRequiredPermission in interface SecureRequestpublic String getDistributedObjectName()
SecureRequestSecurityInterceptor
getDistributedObjectName in interface SecureRequestgetDistributedObjectName in class ClientRequestpublic String getMethodName()
SecureRequestSecurityInterceptor
Method name which called via a distributedObject
for map.put, methodName will be 'put'
For requests which do not produced via a distributedObject should return null, for example internal client.
getMethodName in interface SecureRequestgetMethodName in class ClientRequestpublic Object[] getParameters()
SecureRequestSecurityInterceptor
Parameters passed to the method by a distributedObject
for map.put(key, value) parameters should be 'key' and 'value'
parameters can be in binary or object form, underlying implementation will de-serialize lazily
getParameters in interface SecureRequestgetParameters in class ClientRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||