Class InterServerMessageSender
java.lang.Object
org.sgrewritten.stargate.network.proxy.InterServerMessageSender
- All Implemented Interfaces:
PluginMessageSender
Handles any cross server information sending
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendCreatePortal
(RealPortal realPortal) Send create portal messagevoid
sendDeletePortal
(RealPortal realPortal) Send delete portal messagevoid
sendRenameNetwork
(String newId, String oldId) Send rename network messagevoid
sendRenamePortal
(String newName, String oldName, Network network) Send rename portal message
-
Constructor Details
-
InterServerMessageSender
public InterServerMessageSender() -
InterServerMessageSender
- Parameters:
pluginMessageInterface
-Interface that handles sending plugin messages
-
-
Method Details
-
sendCreatePortal
Description copied from interface:PluginMessageSender
Send create portal message- Specified by:
sendCreatePortal
in interfacePluginMessageSender
- Parameters:
realPortal
-The portal which data will be sent
-
sendDeletePortal
Description copied from interface:PluginMessageSender
Send delete portal message- Specified by:
sendDeletePortal
in interfacePluginMessageSender
- Parameters:
realPortal
-The portal which data will be deleted
-
sendRenameNetwork
Description copied from interface:PluginMessageSender
Send rename network message- Specified by:
sendRenameNetwork
in interfacePluginMessageSender
- Parameters:
newId
-New id of the network
oldId
-Old id of the network
-
sendRenamePortal
Description copied from interface:PluginMessageSender
Send rename portal message- Specified by:
sendRenamePortal
in interfacePluginMessageSender
- Parameters:
newName
-New name of the portal
oldName
-Old name of the portal
network
-The network of the portal
-