com.hazelcast.client
Class ClientEndpoint

java.lang.Object
  extended by com.hazelcast.client.ClientEndpoint
All Implemented Interfaces:
Client

public final class ClientEndpoint
extends Object
implements Client


Method Summary
 ClientType getClientType()
          Returns type of this client
 ClientPrincipal getPrincipal()
           
 SocketAddress getSocketAddress()
          Returns socket address of this client
 TransactionContext getTransactionContext()
           
 String getUuid()
          Returns unique uuid for this client
 boolean isAuthenticated()
           
 boolean isFirstConnection()
           
 boolean live()
           
 void setListenerRegistration(String service, String topic, String id)
           
 void setTransactionContext(TransactionContext transactionContext)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getUuid

public String getUuid()
Description copied from interface: Client
Returns unique uuid for this client

Specified by:
getUuid in interface Client
Returns:
unique uuid for this client

live

public boolean live()

isFirstConnection

public boolean isFirstConnection()

isAuthenticated

public boolean isAuthenticated()

getPrincipal

public ClientPrincipal getPrincipal()

getSocketAddress

public SocketAddress getSocketAddress()
Description copied from interface: Client
Returns socket address of this client

Specified by:
getSocketAddress in interface Client
Returns:
socket address of this client

getClientType

public ClientType getClientType()
Description copied from interface: Client
Returns type of this client

Specified by:
getClientType in interface Client
Returns:
type of this client

getTransactionContext

public TransactionContext getTransactionContext()

setTransactionContext

public void setTransactionContext(TransactionContext transactionContext)

setListenerRegistration

public void setListenerRegistration(String service,
                                    String topic,
                                    String id)

toString

public String toString()
Overrides:
toString in class Object


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