com.hazelcast.client
Class ClientCreateRequest

java.lang.Object
  extended by com.hazelcast.client.ClientRequest
      extended by com.hazelcast.client.CallableClientRequest
          extended by com.hazelcast.client.ClientCreateRequest
All Implemented Interfaces:
RetryableRequest, SecureRequest, Portable, Callable

public class ClientCreateRequest
extends CallableClientRequest
implements Portable, RetryableRequest, SecureRequest


Field Summary
 
Fields inherited from class com.hazelcast.client.ClientRequest
callId, clientEngine, endpoint, service
 
Constructor Summary
ClientCreateRequest()
           
ClientCreateRequest(String name, String serviceName)
           
 
Method Summary
 Object call()
           
 int getClassId()
           
 int getFactoryId()
           
 Permission getRequiredPermission()
           
 String getServiceName()
           
 void read(PortableReader reader)
           
 void write(PortableWriter writer)
           
 
Methods inherited from class com.hazelcast.client.ClientRequest
getCallId, getClientEngine, getEndpoint, getService, isSingleConnection, readPortable, setCallId, setSingleConnection, writePortable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hazelcast.nio.serialization.Portable
readPortable, writePortable
 

Constructor Detail

ClientCreateRequest

public ClientCreateRequest()

ClientCreateRequest

public ClientCreateRequest(String name,
                           String serviceName)
Method Detail

call

public Object call()
            throws Exception
Specified by:
call in interface Callable
Throws:
Exception

getServiceName

public String getServiceName()
Specified by:
getServiceName in class ClientRequest

getFactoryId

public int getFactoryId()
Specified by:
getFactoryId in interface Portable

getClassId

public int getClassId()
Specified by:
getClassId in interface Portable

write

public void write(PortableWriter writer)
           throws IOException
Overrides:
write in class ClientRequest
Throws:
IOException

read

public void read(PortableReader reader)
          throws IOException
Overrides:
read in class ClientRequest
Throws:
IOException

getRequiredPermission

public Permission getRequiredPermission()
Specified by:
getRequiredPermission in interface SecureRequest


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.