com.hazelcast.core
Interface Client

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

public interface Client
extends Endpoint

Client interface allows to get information about a connected clients socket address, type and uuid.

See Also:
ClientService, ClientListener

Method Summary
 ClientType getClientType()
          Returns type of this client
 InetSocketAddress getSocketAddress()
          Returns socket address of this client
 String getUuid()
          Returns unique uuid for this client
 

Method Detail

getUuid

String getUuid()
Returns unique uuid for this client

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

getSocketAddress

InetSocketAddress getSocketAddress()
Returns socket address of this client

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

getClientType

ClientType getClientType()
Returns type of this client

Returns:
type of this client


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