Initial implementation of raw registered server creation.

This commit is contained in:
CoreyShupe
2021-06-01 02:07:06 -04:00
parent 04db382a18
commit 150808b4b0
3 changed files with 25 additions and 1 deletions

View File

@@ -105,6 +105,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.
*