com.hazelcast.core
Interface Client

All Superinterfaces:
Endpoint
All Known Implementing Classes:
ClientEndpointImpl, ClientImpl

public interface Client
extends Endpoint

The Client interface allows to get information about a connected client's socket address, type and uuid.

See Also:
ClientService, ClientListener

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.
 

Method Detail

getUuid

String getUuid()
Returns a unique uuid for this client.

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

getSocketAddress

InetSocketAddress getSocketAddress()
Returns the socket address of this client.

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

getClientType

ClientType getClientType()
Returns the type of this client.

Returns:
the type of this client


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