Interface InstanceConnectionService.InstanceBinding
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
JeroMQInstanceBinding
- Enclosing interface:
InstanceConnectionService
Represents a binding. The binding is managed by the
InstanceConnectionService
. Wen opening a binding,
a node will then bind on the provided address. The InstanceConnectionService
will accept connections
until the binding is closed.-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes the binding.Returns the host address to which to bind when receiving incoming data.Gets theNodeId
thisInstanceConnectionService.InstanceBinding
represents.
-
Method Details
-
getNodeId
NodeId getNodeId()Gets theNodeId
thisInstanceConnectionService.InstanceBinding
represents.- Returns:
- the
NodeId
-
getBindAddress
String getBindAddress()Returns the host address to which to bind when receiving incoming data.- Returns:
- the bind address
-
close
void close()Closes the binding.- Specified by:
close
in interfaceAutoCloseable
-