Class SpigotCommunicationTask
- java.lang.Object
-
- de.simonsator.partyandfriends.communication.communicationtasks.CommunicationTask
-
- de.simonsator.partyandfriends.communication.communicationtasks.SpigotCommunicationTask
-
- Direct Known Subclasses:
CommunicationTaskGUI
public abstract class SpigotCommunicationTask extends CommunicationTask
-
-
Field Summary
-
Fields inherited from class de.simonsator.partyandfriends.communication.communicationtasks.CommunicationTask
NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SpigotCommunicationTask(java.lang.String pName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
sendMessage(com.google.gson.JsonObject pJObj, OnlinePAFPlayer pPlayer)
Communicate with the spigot server-
Methods inherited from class de.simonsator.partyandfriends.communication.communicationtasks.CommunicationTask
isApplicable
-
-
-
-
Method Detail
-
sendMessage
protected void sendMessage(com.google.gson.JsonObject pJObj, OnlinePAFPlayer pPlayer)
Communicate with the spigot server- Parameters:
pJObj
- The json object, that should be sent to the spigot serverpPlayer
- The player, for whom the message is
-
-