public interface ViaInjector
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getEncoderName()
Get the name of the encoder for then netty pipeline for this platform.
|
int |
getServerProtocolVersion()
Get the server protocol version
|
void |
inject()
Inject into the current Platform
|
void |
uninject()
Uninject into the current Platform
|
void inject() throws Exception
Exception
- If there is an error with injectingvoid uninject() throws Exception
Exception
- If there is an error with uninjectingint getServerProtocolVersion() throws Exception
Exception
- If there is an error with getting this info, eg. not binded.String getEncoderName()
String getDecoderName()
com.google.gson.JsonObject getDump()
Copyright © 2016–2021. All rights reserved.