Class RedisBungeeCommunication
- java.lang.Object
-
- de.simonsator.partyandfriends.communication.RedisBungeeCommunication
-
- All Implemented Interfaces:
net.md_5.bungee.api.plugin.Listener
public class RedisBungeeCommunication extends java.lang.Object implements net.md_5.bungee.api.plugin.Listener
-
-
Constructor Summary
Constructors Constructor Description RedisBungeeCommunication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RedisBungeeCommunication
getInstance()
com.imaginarycode.minecraft.redisbungee.RedisBungeeAPI
getRedisBungeeAPI()
void
receiveMessage(com.imaginarycode.minecraft.redisbungee.events.PubSubMessageEvent pEvent)
void
sendMessage(OnlinePAFPlayer pReceiver, com.google.gson.JsonObject pMessage)
-
-
-
Method Detail
-
getInstance
public static RedisBungeeCommunication getInstance()
-
sendMessage
public void sendMessage(OnlinePAFPlayer pReceiver, com.google.gson.JsonObject pMessage)
-
receiveMessage
public void receiveMessage(com.imaginarycode.minecraft.redisbungee.events.PubSubMessageEvent pEvent)
-
getRedisBungeeAPI
public com.imaginarycode.minecraft.redisbungee.RedisBungeeAPI getRedisBungeeAPI()
-
-