Modifier and Type | Class and Description |
---|---|
class |
MessageEnvelope<M extends Message>
MessageEnvelope class.
|
Modifier and Type | Method and Description |
---|---|
<A extends AbstractRequest> |
ContextProperties.envelope()
envelope.
|
<A extends AbstractRequest> |
NettyChannelContext.Properties.envelope() |
Envelope<M> |
MessageEnvelope.get() |
Modifier and Type | Method and Description |
---|---|
protected Envelope<AbstractRequest> |
MessageOutboundHandler.getRequest()
getRequest.
|
protected Envelope<AbstractRequest> |
MessageOutboundEncoder.getRequest()
getRequest.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
MessageOutboundEncoder.acceptMessage(Class<T> requestClass,
Envelope<T> envelope)
acceptMessage.
|
protected void |
MessageOutboundEncoder.encode(io.netty.channel.ChannelHandlerContext ctx,
Envelope<T> msg,
List<Object> out) |
protected abstract void |
MessageOutboundEncoder.encodeMessage(io.netty.channel.ChannelHandlerContext ctx,
Envelope<T> msg,
List<Object> out)
encodeMessage.
|
Constructor and Description |
---|
MessageOutboundEncoder(Class<Envelope<T>> outboundMessageType)
Constructor for MessageOutboundEncoder.
|
Modifier and Type | Method and Description |
---|---|
<A extends Message> |
MessageEnvelopeBuilder.build()
build.
|
Modifier and Type | Method and Description |
---|---|
static <V extends Message> |
MessageEnvelopeBuilder.createFrom(Envelope<V> envelope)
createFrom.
|
static <V extends Message> |
MessageEnvelopeBuilder.createFrom(Envelope<V> envelope,
V message)
createFrom.
|
static String |
Netty.id(Envelope<?> envelope)
Translates an
Envelope instance to it's unique id string representation |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SourceQueryChallengeEncoder.acceptQueryRequest(Class<? extends SourceQueryRequest> cls,
Envelope<SourceQueryRequest> envelope)
acceptQueryRequest.
|
protected void |
SourceQueryChallengeEncoder.encodeQueryRequest(io.netty.channel.ChannelHandlerContext ctx,
Envelope<SourceQueryChallengeRequest> msg,
List<Object> out)
encodeQueryRequest.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
SourceQueryEncoder.acceptMessage(Class<T> requestClass,
Envelope<T> envelope)
acceptMessage.
|
protected boolean |
SourceQueryAuthEncoder.acceptQueryRequest(Class<? extends SourceQueryRequest> cls,
Envelope<SourceQueryRequest> envelope)
acceptQueryRequest.
|
protected abstract boolean |
SourceQueryEncoder.acceptQueryRequest(Class<? extends SourceQueryRequest> cls,
Envelope<SourceQueryRequest> envelope)
acceptQueryRequest.
|
protected void |
SourceQueryEncoder.encodeMessage(io.netty.channel.ChannelHandlerContext ctx,
Envelope<T> msg,
List<Object> out)
encodeMessage.
|
protected void |
SourceQueryAuthEncoder.encodeQueryRequest(io.netty.channel.ChannelHandlerContext ctx,
Envelope<T> msg,
List<Object> out)
encodeQueryRequest.
|
protected abstract void |
SourceQueryEncoder.encodeQueryRequest(io.netty.channel.ChannelHandlerContext ctx,
Envelope<T> msg,
List<Object> out)
encodeQueryRequest.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
SourceRconAuthEncoder.acceptMessage(Class<SourceRconAuthRequest> requestClass,
Envelope<SourceRconAuthRequest> envelope)
acceptMessage.
|
protected void |
SourceRconAuthEncoder.encodeMessage(io.netty.channel.ChannelHandlerContext ctx,
Envelope<SourceRconAuthRequest> msg,
List<Object> out)
encodeMessage.
|
protected void |
SourceRconCmdEncoder.encodeMessage(io.netty.channel.ChannelHandlerContext ctx,
Envelope<SourceRconCmdRequest> msg,
List<Object> out)
encodeMessage.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
MasterServerRequestEncoder.acceptMessage(Class<MasterServerRequest> requestClass,
Envelope<MasterServerRequest> envelope)
acceptMessage.
|
protected void |
MasterServerRequestEncoder.encodeMessage(io.netty.channel.ChannelHandlerContext ctx,
Envelope<MasterServerRequest> msg,
List<Object> out)
encodeMessage.
|
Copyright © 2016–2024. All rights reserved.