Uses of Interface
septogeddon.pluginquery.api.QueryConnection
Package
Description
-
Uses of QueryConnection in septogeddon.pluginquery
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescriptionprotected final List
<QueryConnection> QueryMessengerImpl.connections
Modifier and TypeMethodDescriptionQueryMessengerImpl.injectConnection
(io.netty.channel.Channel channel) QueryMessengerImpl.newConnection
(SocketAddress address) Modifier and TypeMethodDescriptionDispatcherQueryConnection.connect()
InjectedQueryConnection.connect()
PreparedQueryConnection.connect()
PreparedQueryConnection.connect
(int currentTime) DispatcherQueryConnection.disconnect()
InjectedQueryConnection.disconnect()
PreparedQueryConnection.disconnect()
DispatcherQueryConnection.fetchActiveConnections()
InjectedQueryConnection.fetchActiveConnections()
PreparedQueryConnection.fetchActiveConnections()
Collection
<? extends QueryConnection> QueryMessengerImpl.getActiveConnections()
PreparedQueryConnection.sendQuery
(QueryMessage message, boolean queue) Modifier and TypeMethodDescriptionstatic io.netty.buffer.ByteBuf
PreparedQueryConnection.createHandshake
(io.netty.buffer.ByteBuf buf, QueryConnection conn) void
QueryPipelineImpl.dispatchActive
(QueryConnection connection) void
QueryEventBusImpl.dispatchConnectionState
(QueryConnection connection) void
QueryPipelineImpl.dispatchInactive
(QueryConnection connection) void
QueryEventBusImpl.dispatchMessage
(QueryConnection connection, String channel, byte[] message) byte[]
QueryPipelineImpl.dispatchReceiving
(QueryConnection connection, byte[] bytes) byte[]
QueryPipelineImpl.dispatchSending
(QueryConnection connection, byte[] bytes) void
QueryPipelineImpl.dispatchUncaughtException
(QueryConnection connection, Throwable thrown) void
QueryChannelHandler.onActive
(QueryConnection connection) void
QueryChannelHandler.onCaughtException
(QueryConnection connection, Throwable thrown) void
QueryChannelHandler.onHandshake
(QueryConnection connection) void
QueryChannelHandler.onInactive
(QueryConnection connection) byte[]
QueryChannelHandler.onReceiving
(QueryConnection connection, byte[] bytes) byte[]
QueryChannelHandler.onSending
(QueryConnection connection, byte[] bytes) Modifier and TypeMethodDescriptionvoid
PreparedQueryConnection.handshake
(QueryCompletableFuture<QueryConnection> future, int currentTime) void
InjectedQueryConnection.sendQueryMessage
(QueryMessage msg, QueryCompletableFuture<QueryConnection> future, boolean queue) -
Uses of QueryConnection in septogeddon.pluginquery.api
Modifier and TypeMethodDescriptionQueryMessenger.injectConnection
(io.netty.channel.Channel channel) Inject served channel to handle query protocolsQueryMessenger.newConnection
(SocketAddress address) Prepare new connection using specified addressModifier and TypeMethodDescriptionQueryConnection.connect()
Connect to the remote addressQueryConnection.disconnect()
Disconnect the connection.QueryConnection.fetchActiveConnections()
Get the active connection addresses from the other side of this connection as dispatcher connections, where you can send query directly to the connection without having to redirect it on this connection.Collection
<? extends QueryConnection> QueryMessenger.getActiveConnections()
Get all connections (inactive connections aren't included here, they're all goes GC'ed when you stop referring to them)Send query to this connectionSend query to this connectionModifier and TypeMethodDescriptionvoid
QueryPipeline.dispatchActive
(QueryConnection connection) CallQueryChannelHandler.onActive(QueryConnection)
on all handlersvoid
QueryEventBus.dispatchConnectionState
(QueryConnection connection) Dispatch a Connection State change eventvoid
QueryPipeline.dispatchInactive
(QueryConnection connection) CallQueryChannelHandler.onInactive(QueryConnection)
on all handlersvoid
QueryEventBus.dispatchMessage
(QueryConnection connection, String channel, byte[] message) Dispatch a Query Message received eventbyte[]
QueryPipeline.dispatchReceiving
(QueryConnection connection, byte[] bytes) CallQueryChannelHandler.onReceiving(QueryConnection, byte[])
on all handlersbyte[]
QueryPipeline.dispatchSending
(QueryConnection connection, byte[] bytes) CallQueryChannelHandler.onSending(QueryConnection, byte[])
on all handlersvoid
QueryPipeline.dispatchUncaughtException
(QueryConnection connection, Throwable thrown) CallQueryChannelHandler.onCaughtException(QueryConnection, Throwable)
on all handlersvoid
QueryListener.onConnectionStateChange
(QueryConnection connection) Called whenisConnected()
value changeddefault void
QueryMessageListener.onConnectionStateChange
(QueryConnection connection) Does nothingdefault void
QueryConnectionStateListener.onQueryReceived
(QueryConnection connection, String channel, byte[] message) Does nothingvoid
QueryListener.onQueryReceived
(QueryConnection connection, String channel, byte[] message) Called when the connection received a query message -
Uses of QueryConnection in septogeddon.pluginquery.bungeecord
Modifier and TypeMethodDescriptionstatic QueryConnection
BungeePluginQuery.getConnection
(net.md_5.bungee.api.config.ServerInfo info) Get active connection for aServerInfo
Modifier and TypeMethodDescriptionvoid
BungeePluginQuery.onConnectionStateChange
(QueryConnection connection) void
BungeePluginQuery.onQueryReceived
(QueryConnection connection, String channel, byte[] message) -
Uses of QueryConnection in septogeddon.pluginquery.bungeecord.event
Modifier and TypeMethodDescriptionQueryMessageEvent.getReceiver()
Synonym ofQueryMessageEvent.getSender()
QueryMessageEvent.getSender()
The connection senderModifierConstructorDescriptionQueryMessageEvent
(QueryConnection connection, String channel, byte[] message) -
Uses of QueryConnection in septogeddon.pluginquery.channel
Modifier and TypeMethodDescriptionvoid
QueryLimiter.onActive
(QueryConnection connection) void
QueryWhitelist.onActive
(QueryConnection connection) void
QueryDecryptor.onCaughtException
(QueryConnection connection, Throwable thrown) void
QueryEncryptor.onCaughtException
(QueryConnection connection, Throwable thrown) void
QueryLimiter.onInactive
(QueryConnection connection) byte[]
QueryDecryptor.onReceiving
(QueryConnection connection, byte[] bytes) byte[]
QueryInflater.onReceiving
(QueryConnection connection, byte[] bytes) byte[]
QueryDeflater.onSending
(QueryConnection connection, byte[] bytes) byte[]
QueryEncryptor.onSending
(QueryConnection connection, byte[] bytes) -
Uses of QueryConnection in septogeddon.pluginquery.library.forwarder
Modifier and TypeMethodDescriptionstatic QueryForwarder
QueryForwarder.getForwarder
(QueryConnection connection) void
QueryForwarder.onConnectionStateChange
(QueryConnection connection) void
QueryForwarder.onQueryReceived
(QueryConnection connection, String channel, byte[] message) void
QueryForwarder.registerConnection
(QueryConnection... connections) void
QueryForwarder.unregisterConnection
(QueryConnection connection) Modifier and TypeMethodDescriptionvoid
QueryForwarder.registerConnection
(Collection<? extends QueryConnection> connections) -
Uses of QueryConnection in septogeddon.pluginquery.library.remote
Modifier and TypeMethodDescriptionRemoteObject.getConnection()
Get the connection bridge for the remote objectModifier and TypeMethodDescriptionvoid
RemoteFuture.accept
(QueryFuture<QueryConnection> t) Dispatch for QueryFutureListener eventModifierConstructorDescriptionRemoteObject
(String channel, QueryConnection connection, Class<T> clazz, ClassRegistry registry) Initialize RemoteObject and act as Object ReceiverRemoteObject
(String channel, QueryConnection connection, T object, ClassRegistry registry) Initialize RemoteObject and act as Object Sender -
Uses of QueryConnection in septogeddon.pluginquery.netty
ModifierConstructorDescriptionQueryPipelineInbound
(QueryPipeline pipeline, QueryConnection connection) QueryPipelineOutbound
(QueryPipeline pipeline, QueryConnection connection) QueryProtocol
(QueryMessenger messenger, QueryConnection connection) QueryReadTimeout
(QueryConnection conn, long timeout, TimeUnit unit) -
Uses of QueryConnection in septogeddon.pluginquery.spigot
Modifier and TypeMethodDescriptionvoid
SpigotPluginQuery.onQueryReceived
(QueryConnection connection, String channel, byte[] message) -
Uses of QueryConnection in septogeddon.pluginquery.spigot.event
ModifierConstructorDescriptionQueryMessageEvent
(QueryConnection connection, String channel, byte[] message) -
Uses of QueryConnection in septogeddon.pluginquery.velocity
Modifier and TypeMethodDescriptionstatic QueryConnection
VelocityPluginQuery.getConnection
(com.velocitypowered.api.proxy.server.RegisteredServer server) Get active connection forRegisteredServer
Modifier and TypeMethodDescriptionvoid
VelocityPluginQuery.onConnectionStateChange
(QueryConnection connection) void
VelocityPluginQuery.onQueryReceived
(QueryConnection connection, String channel, byte[] message) -
Uses of QueryConnection in septogeddon.pluginquery.velocity.event
Modifier and TypeMethodDescriptionQueryMessageEvent.getReceiver()
Synonym ofQueryMessageEvent.getSender()
QueryMessageEvent.getSender()
The connection senderModifierConstructorDescriptionQueryMessageEvent
(QueryConnection connection, String channel, byte[] message)