Class NodeResolverService
java.lang.Object
com.tccc.kos.commons.util.ready.ReadyBean
com.tccc.kos.commons.core.service.AbstractService
com.tccc.kos.core.service.noderesolver.NodeResolverService
- All Implemented Interfaces:
CtxEventListener
,ContextHandleAware
,HandleAware
,Ready
,ReadyListener
Service for resolving a
NodeId
to an ip address on the local network.- Version:
- 2024-02-20
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.tccc.kos.commons.core.service.AbstractService
getHandle, getHandlePrefix
Methods inherited from class com.tccc.kos.commons.util.ready.ReadyBean
getReady, onBeanReady, onDependenciesReady
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tccc.kos.commons.core.context.CtxEventListener
onCtxAutowiringCompleted, onCtxDestroyed, onCtxPhaseCompleted
Methods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPath
Methods inherited from interface com.tccc.kos.commons.util.ready.ReadyListener
onDependenciesGroupReady
-
Constructor Details
-
NodeResolverService
public NodeResolverService()
-
-
Method Details
-
resolve
Resolve anodeId
to an ip address. Returns null if the nodeId has no known address. -
resolve
Resolve a hostname to an ip address if the hostname happens to be a known nodeId. Returns null if the hostname doesn't match any known node.
-