Package com.btcvelocity.api.bridge
package com.btcvelocity.api.bridge
-
ClassDescriptionService for sending and receiving
btc:bridgemessages between the proxy and its backend servers.Handles JSON serialization and deserialization ofBridgeMessagerecords.Base interface for allbtc:bridgemessages.Backend -> Proxy: move a single player (identified by UUID) to another backend server.Backend -> Proxy: a periodic health report from a backend server.Backend -> Proxy: move a group of players (for example a whole party) to a destination server in a single request.Proxy -> Backend: a player joined the queue for a server.Proxy -> Backend: a player left the queue.Backend -> Proxy: a response to a queue-status query, reporting the backend's own queue depth.Proxy -> Backend: request that the backend report its current health status.Backend -> Proxy: a world has been loaded and is ready to accept players.Proxy -> Backend: a player is about to be transferred, preload the given world.Backend -> Proxy: a world has been unloaded.A functional callback invoked when aBridgeMessageis received by the proxy from a backend server.