Interface BridgeManagement
- All Known Implementing Classes:
BukkitBridgeManagement,BungeeCordBridgeManagement,FabricBridgeManagement,LimboLoohpBridgeManagement,MinestomBridgeManagement,NodeBridgeManagement,NukkitBridgeManagement,PlatformBridgeManagement,SpongeBridgeManagement,VelocityBridgeManagement,WaterDogPEBridgeManagement
public interface BridgeManagement
The bridge management is a shared management for all platform dependent bridge implementations.
- Since:
- 4.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the bridge configuration that is currently loaded and applied.voidconfiguration(@NonNull BridgeConfiguration configuration) Sets the bridge configuration for every connected component in the cluster that is running the bridge.voidpostInit()Execute the post initialization of the bridge management.voidregisterServices(@NonNull eu.cloudnetservice.driver.registry.ServiceRegistry registry) Registers all services provided by this bridge management to the given service registry.
-
Field Details
-
BRIDGE_PLAYER_DB_NAME
- See Also:
-
BRIDGE_CHANNEL_NAME
- See Also:
-
BRIDGE_PLAYER_CHANNEL_NAME
- See Also:
-
BRIDGE_PLAYER_EXECUTOR_CHANNEL_NAME
- See Also:
-
-
Method Details
-
configuration
Gets the bridge configuration that is currently loaded and applied.- Returns:
- the currently loaded configuration.
-
configuration
Sets the bridge configuration for every connected component in the cluster that is running the bridge.- Parameters:
configuration- the configuration to set.- Throws:
NullPointerException- if the given configuration is null.
-
registerServices
void registerServices(@NonNull @NonNull eu.cloudnetservice.driver.registry.ServiceRegistry registry) Registers all services provided by this bridge management to the given service registry.- Parameters:
registry- the registry to register the services in.- Throws:
NullPointerException- if the given registry is null.
-
postInit
Execute the post initialization of the bridge management. Populating the caches and applying startup time actions.Note: This method should not be used as part of the api and is for internal use only.
-