com.hazelcast.client
Interface ClientEndpoint
- All Known Implementing Classes:
- ClientEndpointImpl
public interface ClientEndpoint
Represents an endpoint to a client. So for each client connected to a member, a ClientEndpoint object is available.
isAlive
boolean isAlive()
- Checks if the endpoint is alive.
- Returns:
- true if alive, false otherwise.
sendResponse
void sendResponse(Object response,
int callId)
sendEvent
void sendEvent(Data key,
Object event,
int callId)
setListenerRegistration
void setListenerRegistration(String service,
String topic,
String id)
getUuid
String getUuid()
setTransactionContext
void setTransactionContext(TransactionContext context)
getTransactionContext
TransactionContext getTransactionContext(String txnId)
removeTransactionContext
void removeTransactionContext(String txnId)
isFirstConnection
boolean isFirstConnection()
getSubject
Subject getSubject()
clearAllListeners
void clearAllListeners()
getConnection
Connection getConnection()
setLoginContext
void setLoginContext(LoginContext lc)
authenticated
void authenticated(ClientPrincipal principal,
Credentials credentials,
boolean firstConnection)
authenticated
void authenticated(ClientPrincipal principal)
setDistributedObjectListener
void setDistributedObjectListener(String registrationId)
getPrincipal
ClientPrincipal getPrincipal()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.