Package reactor.netty.channel
Interface ChannelOperations.OnSetup
- Enclosing class:
- ChannelOperations<INBOUND extends NettyInbound,
OUTBOUND extends NettyOutbound>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
ChannelOperations factory.-
Method Summary
Modifier and TypeMethodDescription@Nullable ChannelOperations<?,?> create(Connection c, ConnectionObserver listener, @Nullable Object msg) Create a newChannelOperationsgiven a netty channel, a parentConnectionObserverand an optional message (nullable).static ChannelOperations.OnSetupempty()Return an empty, no-op factory.
-
Method Details
-
empty
Return an empty, no-op factory.- Returns:
- an empty, no-op factory
-
create
@Nullable ChannelOperations<?,?> create(Connection c, ConnectionObserver listener, @Nullable Object msg) Create a newChannelOperationsgiven a netty channel, a parentConnectionObserverand an optional message (nullable).- Parameters:
c- aConnectionlistener- aConnectionObservermsg- an optional message- Returns:
- the new
ChannelOperations
-