public class MasterServerChannelContext extends NettyChannelContext
MasterServerChannelContext class.
| Modifier and Type | Class and Description |
|---|---|
class |
MasterServerChannelContext.MasterServerProperties |
NettyChannelContext.Properties| Modifier | Constructor and Description |
|---|---|
|
MasterServerChannelContext(io.netty.channel.Channel channel,
NettyMessenger<? extends AbstractRequest,? extends AbstractResponse> messenger)
Constructor for MasterServerChannelContext.
|
protected |
MasterServerChannelContext(NettyChannelContext context)
Constructor for MasterServerChannelContext.
|
| Modifier and Type | Method and Description |
|---|---|
static MasterServerChannelContext |
getContext(io.netty.channel.Channel channel) |
MasterServerMessenger |
messenger()
messenger.
|
protected NettyChannelContext.Properties |
newProperties(NettyChannelContext.Properties copy)
newProperties.
|
MasterServerChannelContext.MasterServerProperties |
properties()
properties.
|
MasterServerChannelContext |
restore()
Restore the previously saved context
|
MasterServerChannelContext |
save()
Save the current state of this context
|
CompletableFuture<MasterServerChannelContext> |
send()
send.
|
attach, channel, cleanup, clear, clone, close, composedFuture, disableAutoRelease, disableReadTimeout, disableWriteTimeout, enableAutoRelease, equals, eventLoop, exists, future, get, hasError, hashCode, hasResponse, id, inEventLoop, isCompleted, isValid, localAddress, markInError, markSuccess, receive, receive, remoteAddress, set, toStringpublic MasterServerChannelContext(io.netty.channel.Channel channel,
NettyMessenger<? extends AbstractRequest,? extends AbstractResponse> messenger)
Constructor for MasterServerChannelContext.
channel - a Channel objectmessenger - a NettyMessenger objectprotected MasterServerChannelContext(NettyChannelContext context)
Constructor for MasterServerChannelContext.
context - a NettyChannelContext objectpublic static MasterServerChannelContext getContext(io.netty.channel.Channel channel)
protected NettyChannelContext.Properties newProperties(NettyChannelContext.Properties copy)
newProperties.
newProperties in class NettyChannelContextcopy - a NettyChannelContext.Properties objectNettyChannelContext.Properties objectpublic MasterServerChannelContext.MasterServerProperties properties()
properties.
properties in class NettyChannelContextNettyChannelContext.Properties objectpublic MasterServerMessenger messenger()
messenger.
messenger in class NettyChannelContextNettyMessenger objectpublic CompletableFuture<MasterServerChannelContext> send()
send.
send in class NettyChannelContextCompletableFuture objectpublic MasterServerChannelContext save()
save in class NettyChannelContextNettyChannelContextpublic MasterServerChannelContext restore()
restore in class NettyChannelContextNettyChannelContextCopyright © 2016–2024. All rights reserved.