com.hazelcast.client
Class AuthenticationRequest

java.lang.Object
  extended by com.hazelcast.client.CallableClientRequest
      extended by com.hazelcast.client.AuthenticationRequest
All Implemented Interfaces:
Portable, Callable

public final class AuthenticationRequest
extends CallableClientRequest
implements Portable


Constructor Summary
AuthenticationRequest()
           
AuthenticationRequest(Credentials credentials)
           
AuthenticationRequest(Credentials credentials, ClientPrincipal principal)
           
 
Method Summary
 Object call()
           
 int getClassId()
           
 ClientEngine getClientEngine()
           
 ClientEndpoint getEndpoint()
           
 int getFactoryId()
           
<S> S
getService()
           
 String getServiceName()
           
 boolean isFirstConnection()
           
 void readPortable(PortableReader reader)
           
 void setFirstConnection(boolean firstConnection)
           
 void setReAuth(boolean reAuth)
           
 void writePortable(PortableWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationRequest

public AuthenticationRequest()

AuthenticationRequest

public AuthenticationRequest(Credentials credentials)

AuthenticationRequest

public AuthenticationRequest(Credentials credentials,
                             ClientPrincipal principal)
Method Detail

call

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

getServiceName

public String getServiceName()

getFactoryId

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

getClassId

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

setReAuth

public void setReAuth(boolean reAuth)

isFirstConnection

public boolean isFirstConnection()

setFirstConnection

public void setFirstConnection(boolean firstConnection)

writePortable

public void writePortable(PortableWriter writer)
                   throws IOException
Specified by:
writePortable in interface Portable
Throws:
IOException

readPortable

public void readPortable(PortableReader reader)
                  throws IOException
Specified by:
readPortable in interface Portable
Throws:
IOException

getClientEngine

public ClientEngine getClientEngine()

getService

public <S> S getService()

getEndpoint

public ClientEndpoint getEndpoint()


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