public class BungeeViaInjector extends Object implements ViaInjector
| Constructor and Description |
|---|
BungeeViaInjector() |
| 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
|
public void inject()
throws Exception
ViaInjectorinject in interface ViaInjectorException - If there is an error with injectingpublic void uninject()
ViaInjectoruninject in interface ViaInjectorpublic int getServerProtocolVersion()
throws Exception
ViaInjectorgetServerProtocolVersion in interface ViaInjectorException - If there is an error with getting this info, eg. not binded.public String getEncoderName()
ViaInjectorgetEncoderName in interface ViaInjectorpublic String getDecoderName()
ViaInjectorgetDecoderName in interface ViaInjectorpublic com.google.gson.JsonObject getDump()
ViaInjectorgetDump in interface ViaInjectorCopyright © 2016–2021. All rights reserved.