public class MasterServerChannelContextFactory extends DefaultChannelContextFactory<MasterServerMessenger>
MasterServerChannelContextFactory class.
Constructor and Description |
---|
MasterServerChannelContextFactory(MasterServerMessenger messenger)
Constructor for MasterServerChannelContextFactory.
|
Modifier and Type | Method and Description |
---|---|
protected NettyChannelContext |
newChannelContext(io.netty.channel.Channel channel,
MasterServerMessenger messenger)
newChannelContext.
|
create, getMessenger
public MasterServerChannelContextFactory(MasterServerMessenger messenger)
Constructor for MasterServerChannelContextFactory.
messenger
- a MasterServerMessenger
objectprotected NettyChannelContext newChannelContext(io.netty.channel.Channel channel, MasterServerMessenger messenger)
newChannelContext.
newChannelContext
in class DefaultChannelContextFactory<MasterServerMessenger>
channel
- a Channel
objectmessenger
- a M objectNettyChannelContext
objectCopyright © 2016–2024. All rights reserved.