@Deprecated public interface InjectorAddon
| Modifier and Type | Method and Description |
|---|---|
default void |
onChannelClosed(io.netty.channel.Channel channel)
Deprecated.
Called when the channel has been closed.
|
void |
onInject(io.netty.channel.Channel channel,
boolean toServer)
Deprecated.
Called when injecting a specific channel (every client that is connected to the server has
his own channel).
|
void |
onRemoveInject(io.netty.channel.Channel channel)
Deprecated.
Called when Floodgate is removing the injection from the server.
|
boolean |
shouldInject()
Deprecated.
If the Injector should call
onInject(Channel, boolean) |
void onInject(io.netty.channel.Channel channel,
boolean toServer)
channel - the channel that the injector is injectingtoServer - if the connection is between a proxy and a serverdefault void onChannelClosed(io.netty.channel.Channel channel)
channel - the channel that the injector injectedvoid onRemoveInject(io.netty.channel.Channel channel)
channel - the channel that the injector injectedboolean shouldInject()
onInject(Channel, boolean)