Search in sources :

Example 1 with ClientEndpointImpl

use of com.hazelcast.client.impl.ClientEndpointImpl in project hazelcast by hazelcast.

the class GetConnectedClientsOperation method run.

@Override
public void run() throws Exception {
    ClientEngineImpl service = getService();
    this.clients = new HashMap<String, ClientType>();
    for (Client clientEndpoint : service.getClients()) {
        ClientEndpointImpl clientEndpointImpl = (ClientEndpointImpl) clientEndpoint;
        this.clients.put(clientEndpointImpl.getUuid(), clientEndpointImpl.getClientType());
    }
}
Also used : ClientType(com.hazelcast.core.ClientType) ClientEngineImpl(com.hazelcast.client.impl.ClientEngineImpl) ClientEndpointImpl(com.hazelcast.client.impl.ClientEndpointImpl) Client(com.hazelcast.core.Client)

Aggregations

ClientEndpointImpl (com.hazelcast.client.impl.ClientEndpointImpl)1 ClientEngineImpl (com.hazelcast.client.impl.ClientEngineImpl)1 Client (com.hazelcast.core.Client)1 ClientType (com.hazelcast.core.ClientType)1