@FunctionalInterface public static interface ChannelOperations.OnNew<CHANNEL extends Channel>
ChannelOperations
factoryModifier and Type | Method and Description |
---|---|
ChannelOperations<?,?> |
create(CHANNEL c,
ContextHandler<?> contextHandler,
Object msg)
Create a new
ChannelOperations given a netty channel, a parent
ContextHandler and an optional message (nullable). |
ChannelOperations<?,?> create(CHANNEL c, ContextHandler<?> contextHandler, Object msg)
ChannelOperations
given a netty channel, a parent
ContextHandler
and an optional message (nullable).c
- a Channel
contextHandler
- a ContextHandler
msg
- an optional messageChannelOperations