Class VelocityBungeecordDispatcher
- java.lang.Object
-
- com.alessiodp.core.common.messaging.bungee.BungeecordDispatcher
-
- com.alessiodp.core.velocity.messaging.bungee.VelocityBungeecordDispatcher
-
public abstract class VelocityBungeecordDispatcher extends com.alessiodp.core.common.messaging.bungee.BungeecordDispatcher
-
-
Constructor Summary
Constructors Constructor Description VelocityBungeecordDispatcher(@NotNull com.alessiodp.core.common.ADPPlugin plugin, boolean sendToMain, boolean sendToSub, boolean sendToBungeeCord)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidregisterChannel(@NotNull com.alessiodp.core.common.messaging.MessageChannel channel)booleansendForwardPacket(@NotNull com.alessiodp.core.common.messaging.ADPPacket packet, boolean log)booleansendPacket(@NotNull com.alessiodp.core.common.messaging.ADPPacket packet, @NotNull com.alessiodp.core.common.messaging.MessageChannel channel, boolean log)booleansendPacketToUser(@NotNull com.alessiodp.core.common.messaging.ADPPacket packet, @NotNull com.alessiodp.core.common.user.User user, @NotNull com.alessiodp.core.common.messaging.MessageChannel channel, boolean log)voidunregisterChannel(@NotNull com.alessiodp.core.common.messaging.MessageChannel channel)
-
-
-
Method Detail
-
registerChannel
public void registerChannel(@NotNull @NotNull com.alessiodp.core.common.messaging.MessageChannel channel)- Specified by:
registerChannelin classcom.alessiodp.core.common.messaging.bungee.BungeecordDispatcher
-
unregisterChannel
public void unregisterChannel(@NotNull @NotNull com.alessiodp.core.common.messaging.MessageChannel channel)- Specified by:
unregisterChannelin classcom.alessiodp.core.common.messaging.bungee.BungeecordDispatcher
-
sendPacket
public boolean sendPacket(@NotNull @NotNull com.alessiodp.core.common.messaging.ADPPacket packet, @NotNull @NotNull com.alessiodp.core.common.messaging.MessageChannel channel, boolean log)- Specified by:
sendPacketin classcom.alessiodp.core.common.messaging.bungee.BungeecordDispatcher
-
sendPacketToUser
public boolean sendPacketToUser(@NotNull @NotNull com.alessiodp.core.common.messaging.ADPPacket packet, @NotNull @NotNull com.alessiodp.core.common.user.User user, @NotNull @NotNull com.alessiodp.core.common.messaging.MessageChannel channel, boolean log)- Specified by:
sendPacketToUserin classcom.alessiodp.core.common.messaging.bungee.BungeecordDispatcher
-
sendForwardPacket
public boolean sendForwardPacket(@NotNull @NotNull com.alessiodp.core.common.messaging.ADPPacket packet, boolean log)- Specified by:
sendForwardPacketin classcom.alessiodp.core.common.messaging.bungee.BungeecordDispatcher
-
-