public static class ClientSetup.ResumableClientSetup extends Object implements ClientSetup
ClientSetup.DefaultClientSetup, ClientSetup.ResumableClientSetup| Constructor and Description |
|---|
ResumableClientSetup(ByteBufAllocator allocator,
DuplexConnection connection,
Mono<DuplexConnection> newConnectionFactory,
ByteBuf resumeToken,
ResumableFramesStore resumableFramesStore,
Duration resumeSessionDuration,
Duration resumeStreamTimeout,
Supplier<ResumeStrategy> resumeStrategySupplier,
boolean cleanupStoreOnKeepAlive) |
| Modifier and Type | Method and Description |
|---|---|
DuplexConnection |
connection() |
KeepAliveHandler |
keepAliveHandler() |
ByteBuf |
resumeToken() |
public ResumableClientSetup(ByteBufAllocator allocator, DuplexConnection connection, Mono<DuplexConnection> newConnectionFactory, ByteBuf resumeToken, ResumableFramesStore resumableFramesStore, Duration resumeSessionDuration, Duration resumeStreamTimeout, Supplier<ResumeStrategy> resumeStrategySupplier, boolean cleanupStoreOnKeepAlive)
public DuplexConnection connection()
connection in interface ClientSetuppublic KeepAliveHandler keepAliveHandler()
keepAliveHandler in interface ClientSetuppublic ByteBuf resumeToken()
resumeToken in interface ClientSetup