Class LocalNetworkMessageSender
java.lang.Object
org.sgrewritten.stargate.network.proxy.LocalNetworkMessageSender
- All Implemented Interfaces:
PluginMessageSender
Currently does not send any messages to the other servers connected to the proxy
-
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
-
LocalNetworkMessageSender
public LocalNetworkMessageSender()
-
-
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
-