Modifier and Type | Method and Description |
---|---|
<C extends NettyChannelContext> |
NettyChannelContext.composedFuture()
Returns a
CompletableFuture that returns this context once the response has been marked as completed. |
<C extends NettyChannelContext> |
NettyMessenger.send(C context)
Send context to the underlying
Transport |
Modifier and Type | Method and Description |
---|---|
NettyChannelContext |
NettyChannelContext.attach(AbstractRequest request)
attach.
|
protected static NettyChannelContext |
NettyMessenger.attach(NettyChannelContext context,
AbstractRequest request)
Attach a request to the context
|
NettyChannelContext |
NettyChannelContext.clone() |
NettyChannelContext |
NettyChannelContext.disableAutoRelease()
Disable auto-release of context
|
NettyChannelContext |
NettyChannelContext.disableReadTimeout()
Disable read timeouts.
|
NettyChannelContext |
NettyChannelContext.disableWriteTimeout()
Disable write timeouts
|
NettyChannelContext |
NettyChannelContext.enableAutoRelease()
enableAutoRelease.
|
static NettyChannelContext |
NettyChannelContext.getContext(io.netty.channel.Channel channel)
Get the channel context attached to the provided
Channel |
NettyChannelContext |
NettyChannelContext.restore()
Restore the previously saved context
|
NettyChannelContext |
NettyChannelContext.save()
Save the current state of this context
|
Modifier and Type | Method and Description |
---|---|
protected static NettyChannelContext |
NettyMessenger.attach(NettyChannelContext context,
AbstractRequest request)
Attach a request to the context
|
protected void |
NettyMessenger.receive(@NotNull NettyChannelContext context,
AbstractResponse response,
Throwable error)
The method that will be called by the last
ChannelHandler once a response has been received from the remote server. |
CompletableFuture<NettyChannelContext> |
NettyTransport.send(NettyChannelContext context)
send.
|
Constructor and Description |
---|
NettyChannelContext(NettyChannelContext context)
Constructor for NettyChannelContext.
|
Modifier and Type | Method and Description |
---|---|
<C extends NettyChannelContext> |
MessengerException.getContext()
The underlying
NettyChannelContext used for this transaction. |
Constructor and Description |
---|
MessengerException(NettyChannelContext context)
Constructor for MessengerException.
|
MessengerException(String message,
NettyChannelContext context)
Constructor for MessengerException.
|
MessengerException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace,
NettyChannelContext context)
Constructor for MessengerException.
|
MessengerException(String message,
Throwable cause,
NettyChannelContext context)
Constructor for MessengerException.
|
MessengerException(Throwable cause,
NettyChannelContext context)
Constructor for MessengerException.
|
Modifier and Type | Field and Description |
---|---|
static io.netty.util.AttributeKey<NettyChannelContext> |
NettyChannelAttributes.CHANNEL_CONTEXT
The attribute for the
NettyChannelContext |
Modifier and Type | Method and Description |
---|---|
NettyChannelContext |
DefaultChannelContextFactory.create(io.netty.channel.Channel channel)
create.
|
NettyChannelContext |
NettyChannelContextFactory.create(io.netty.channel.Channel channel)
create.
|
protected NettyChannelContext |
DefaultChannelContextFactory.newChannelContext(io.netty.channel.Channel channel,
M messenger)
newChannelContext.
|
Modifier and Type | Method and Description |
---|---|
protected NettyChannelContext |
MessageOutboundHandler.getContext()
getContext.
|
protected NettyChannelContext |
MessageOutboundEncoder.getContext()
getContext.
|
Modifier and Type | Class and Description |
---|---|
class |
SourceRconChannelContext
Channel context for the Rcon module
|
Modifier and Type | Method and Description |
---|---|
protected NettyChannelContext |
SourceRconChannelContextFactory.newChannelContext(io.netty.channel.Channel channel,
SourceRconMessenger messenger)
newChannelContext.
|
Modifier and Type | Class and Description |
---|---|
class |
MasterServerChannelContext
MasterServerChannelContext class.
|
Modifier and Type | Method and Description |
---|---|
protected NettyChannelContext |
MasterServerChannelContextFactory.newChannelContext(io.netty.channel.Channel channel,
MasterServerMessenger messenger)
newChannelContext.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MasterServerMessenger.receive(@NotNull NettyChannelContext context,
AbstractResponse response,
Throwable error)
The method that will be called by the last
ChannelHandler once a response has been received from the remote server. |
Constructor and Description |
---|
MasterServerChannelContext(NettyChannelContext context)
Constructor for MasterServerChannelContext.
|
Copyright © 2016–2024. All rights reserved.