public static interface ServerTransport.ConnectionAcceptor extends Function<DuplexConnection,org.reactivestreams.Publisher<Void>>
DuplexConnection
.Modifier and Type | Method and Description |
---|---|
Mono<Void> |
apply(DuplexConnection duplexConnection)
Accept a new
DuplexConnection and returns Publisher signifying the end of
processing of the connection. |
Mono<Void> apply(DuplexConnection duplexConnection)
DuplexConnection
and returns Publisher
signifying the end of
processing of the connection.apply
in interface Function<DuplexConnection,org.reactivestreams.Publisher<Void>>
duplexConnection
- New DuplexConnection
to be processed.Publisher
which terminates when the processing of the connection finishes.