use of com.hazelcast.client.impl.protocol.codec.CPSessionCloseSessionCodec in project hazelcast by hazelcast.
the class ClientProxySessionManager method closeSession.
@Override
protected InternalCompletableFuture<Object> closeSession(RaftGroupId groupId, Long sessionId) {
ClientMessage request = CPSessionCloseSessionCodec.encodeRequest(groupId, sessionId);
ClientInvocationFuture future = new ClientInvocation(client, request, "sessionManager").invoke();
return new ClientDelegatingFuture<>(future, client.getSerializationService(), CPSessionCloseSessionCodec::decodeResponse);
}
Aggregations