Top Inners Fields Constructors Methods
io.rsocket.core

pack-priv abstract Class ServerSetup

extends Object
Class Inheritance
Known Direct Subclasses
io.rsocket.core.ServerSetup.DefaultServerSetup, io.rsocket.core.ServerSetup.ResumableServerSetup
Static Imports
io.rsocket.keepalive.KeepAliveHandler.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final Duration

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
pack-priv abstract Mono<Void>
pack-priv abstract Mono<Void>
pack-priv void
pack-priv Mono<Tuple2<ByteBuf, DuplexConnection>>
init(DuplexConnection connection)

pack-priv void
sendError(DuplexConnection duplexConnection, RSocketErrorException exception)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

timeoutback to summary
pack-priv final Duration timeout

Constructor Detail

ServerSetupback to summary
protected ServerSetup(Duration timeout)

Method Detail

acceptRSocketResumeback to summary
pack-priv abstract Mono<Void> acceptRSocketResume(ByteBuf frame, DuplexConnection connection)
acceptRSocketSetupback to summary
pack-priv abstract Mono<Void> acceptRSocketSetup(ByteBuf frame, DuplexConnection clientServerConnection, BiFunction<KeepAliveHandler, DuplexConnection, Mono<Void>> then)
disposeback to summary
pack-priv void dispose()
initback to summary
pack-priv Mono<Tuple2<ByteBuf, DuplexConnection>> init(DuplexConnection connection)
sendErrorback to summary
pack-priv void sendError(DuplexConnection duplexConnection, RSocketErrorException exception)
io.rsocket.core back to summary

pack-priv Class ServerSetup.DefaultServerSetup

extends ServerSetup
Class Inheritance

Field Summary

Inherited from io.rsocket.core.ServerSetup:
timeout

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Mono<Void>
public Mono<Void>
Inherited from io.rsocket.core.ServerSetup:
disposeinitsendError

Constructor Detail

DefaultServerSetupback to summary
pack-priv DefaultServerSetup(Duration timeout)

Method Detail

acceptRSocketResumeback to summary
public Mono<Void> acceptRSocketResume(ByteBuf frame, DuplexConnection duplexConnection)

Implements abstract io.rsocket.core.ServerSetup.acceptRSocketResume.

Annotations
@Override
acceptRSocketSetupback to summary
public Mono<Void> acceptRSocketSetup(ByteBuf frame, DuplexConnection duplexConnection, BiFunction<KeepAliveHandler, DuplexConnection, Mono<Void>> then)

Implements abstract io.rsocket.core.ServerSetup.acceptRSocketSetup.

Annotations
@Override
io.rsocket.core back to summary

pack-priv Class ServerSetup.ResumableServerSetup

extends ServerSetup
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final boolean
private final Duration
private final Function<? super ByteBuf, ? extends ResumableFramesStore>
private final Duration
private final SessionManager
Inherited from io.rsocket.core.ServerSetup:
timeout

Constructor Summary

AccessConstructor and Description
pack-priv
ResumableServerSetup(Duration timeout, SessionManager sessionManager, Duration resumeSessionDuration, Duration resumeStreamTimeout, Function<? super ByteBuf, ? extends ResumableFramesStore> resumeStoreFactory, boolean cleanupStoreOnKeepAlive)

Method Summary

Modifier and TypeMethod and Description
public Mono<Void>
public Mono<Void>
public void
Inherited from io.rsocket.core.ServerSetup:
initsendError

Field Detail

cleanupStoreOnKeepAliveback to summary
private final boolean cleanupStoreOnKeepAlive
resumeSessionDurationback to summary
private final Duration resumeSessionDuration
resumeStoreFactoryback to summary
private final Function<? super ByteBuf, ? extends ResumableFramesStore> resumeStoreFactory
resumeStreamTimeoutback to summary
private final Duration resumeStreamTimeout
sessionManagerback to summary
private final SessionManager sessionManager

Constructor Detail

ResumableServerSetupback to summary
pack-priv ResumableServerSetup(Duration timeout, SessionManager sessionManager, Duration resumeSessionDuration, Duration resumeStreamTimeout, Function<? super ByteBuf, ? extends ResumableFramesStore> resumeStoreFactory, boolean cleanupStoreOnKeepAlive)

Method Detail

acceptRSocketResumeback to summary
public Mono<Void> acceptRSocketResume(ByteBuf frame, DuplexConnection duplexConnection)

Implements abstract io.rsocket.core.ServerSetup.acceptRSocketResume.

Annotations
@Override
acceptRSocketSetupback to summary
public Mono<Void> acceptRSocketSetup(ByteBuf frame, DuplexConnection duplexConnection, BiFunction<KeepAliveHandler, DuplexConnection, Mono<Void>> then)

Implements abstract io.rsocket.core.ServerSetup.acceptRSocketSetup.

Annotations
@Override
disposeback to summary
public void dispose()

Overrides io.rsocket.core.ServerSetup.dispose.

Annotations
@Override