Initial implementation of raw registered server creation.

This commit is contained in:
CoreyShupe
2021-06-01 02:07:06 -04:00
committed by Andrew Steinborn
parent aab8f86aa8
commit d74afb013f
3 changed files with 24 additions and 0 deletions

View File

@@ -107,6 +107,14 @@ public interface ProxyServer extends Audience {
*/
Collection<RegisteredServer> matchServer(String partialName);
/**
* Creates a raw {@link RegisteredServer} without tying it into the internal server map.
*
* @param server the server to register
* @return the {@link RegisteredServer} implementation created by the provided {@link ServerInfo}.
*/
RegisteredServer createRawRegisteredServer(ServerInfo server);
/**
* Registers a server with this proxy. A server with this name should not already exist.
*