Interface ProxyRegistry
- All Superinterfaces:
Registry
Owns the transports used to reach the other servers.
-
Method Summary
Modifier and TypeMethodDescriptionEvery registered transport, enabled or not.booleanWhether at least one transport is usable, which decides if messages leave this server at all.booleanhasEnabledProxy(Predicate<Proxy> proxyPredicate) Whether at least one usable transport matches the test.voidAdds a transport.voidreload()Closes every transport and opens the ones the current config enables.
-
Method Details
-
getProxies
-
hasEnabledProxy
boolean hasEnabledProxy()Whether at least one transport is usable, which decides if messages leave this server at all.- Returns:
- true if any transport is enabled
-
hasEnabledProxy
-
registry
-
reload
void reload()Closes every transport and opens the ones the current config enables.
-