Class VelocityConnector
java.lang.Object
de.themoep.connectorplugin.connector.Connector<VelocityConnectorPlugin,com.velocitypowered.api.proxy.Player>
de.themoep.connectorplugin.velocity.connector.VelocityConnector
- Direct Known Subclasses:
MqttConnector
,PluginMessageConnector
,RedisConnector
public abstract class VelocityConnector
extends Connector<VelocityConnectorPlugin,com.velocitypowered.api.proxy.Player>
-
Field Summary
Fields inherited from class de.themoep.connectorplugin.connector.Connector
PLAYER_PREFIX, plugin, PROXY_ID_PREFIX, SERVER_PREFIX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.velocitypowered.api.proxy.Player
protected com.velocitypowered.api.proxy.server.RegisteredServer
getTargetServer
(String target) protected void
sendDataImplementation
(Object targetData, Message message) protected abstract void
sendDataImplementation
(String targetData, Message message) Methods inherited from class de.themoep.connectorplugin.connector.Connector
close, getReceiver, handle, handle, hasPrefix, isThis, registerHandler, registerMessageHandler, requiresPlayer, sendData, sendData, sendData, sendDataInternal, unregisterHandler, unregisterHandlers, unregisterMessageHandler, unregisterMessageHandlers
-
Constructor Details
-
VelocityConnector
-
-
Method Details
-
getReceiverImplementation
- Specified by:
getReceiverImplementation
in classConnector<VelocityConnectorPlugin,
com.velocitypowered.api.proxy.Player>
-
getTargetServer
-
sendDataImplementation
- Specified by:
sendDataImplementation
in classConnector<VelocityConnectorPlugin,
com.velocitypowered.api.proxy.Player>
-
sendDataImplementation
-