public interface ViaInjector
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
getDecoderName()
Get the name of the decoder for then netty pipeline for this platform.
|
com.google.gson.JsonObject |
getDump()
Get any relevant data for debugging injection issues.
|
default java.lang.String |
getEncoderName()
Get the name of the encoder for then netty pipeline for this platform.
|
ProtocolVersion |
getServerProtocolVersion()
Returns the server protocol version.
|
default java.util.SortedSet<ProtocolVersion> |
getServerProtocolVersions()
Returns the supported server protocol versions.
|
void |
inject()
Inject into the current Platform
|
default boolean |
lateProtocolVersionSetting()
Returns true if the protocol version cannot be used in the early init.
|
void |
uninject()
Uninject into the current Platform
|
void inject() throws java.lang.Exception
java.lang.Exception
- if there is an error with injectingvoid uninject() throws java.lang.Exception
java.lang.Exception
- if there is an error with uninjectingdefault boolean lateProtocolVersionSetting()
ProtocolVersion getServerProtocolVersion() throws java.lang.Exception
java.lang.Exception
- if there is an error with getting this info, e.g. not bindedViaPlatform.isProxy()
default java.util.SortedSet<ProtocolVersion> getServerProtocolVersions() throws java.lang.Exception
java.lang.Exception
- if there is an error with getting this info, e.g. not bindedViaPlatform.isProxy()
default java.lang.String getEncoderName()
default java.lang.String getDecoderName()
com.google.gson.JsonObject getDump()