com.hazelcast.client.impl
Class ClientImpl

java.lang.Object
  extended by com.hazelcast.client.impl.ClientImpl
All Implemented Interfaces:
Client, Endpoint

public class ClientImpl
extends Object
implements Client

Default Client implementation.


Constructor Summary
ClientImpl(String uuid, InetSocketAddress socketAddress)
           
 
Method Summary
 ClientType getClientType()
          Returns the type of this client.
 InetSocketAddress getSocketAddress()
          Returns the socket address of this client.
 String getUuid()
          Returns a unique uuid for this client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientImpl

public ClientImpl(String uuid,
                  InetSocketAddress socketAddress)
Method Detail

getUuid

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

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

getSocketAddress

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

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

getClientType

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

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


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