@FunctionalInterface public static interface ChannelOperations.OnSetup
ChannelOperations
factory.Modifier and Type | Method and Description |
---|---|
ChannelOperations<?,?> |
create(Connection c,
ConnectionObserver listener,
Object msg)
Create a new
ChannelOperations given a netty channel, a parent ConnectionObserver and an optional message (nullable). |
static ChannelOperations.OnSetup |
empty()
Return an empty, no-op factory.
|
static ChannelOperations.OnSetup empty()
@Nullable ChannelOperations<?,?> create(Connection c, ConnectionObserver listener, @Nullable Object msg)
ChannelOperations
given a netty channel, a parent ConnectionObserver
and an optional message (nullable).c
- a Connection
listener
- a ConnectionObserver
msg
- an optional messageChannelOperations