interface NetworkMapService
A network map contains lists of nodes on the network along with information about their identity keys, services they provide and host names or IP addresses where they can be connected to. This information is cached locally within nodes, by the NetworkMapCache. Currently very basic consensus controls are applied, using signed changes which replace each other based on a serial number present in the change.
FetchMapRequest |
class FetchMapRequest : ServiceRequestMessage |
FetchMapResponse |
data class FetchMapResponse |
QueryIdentityRequest |
class QueryIdentityRequest : ServiceRequestMessage |
QueryIdentityResponse |
data class QueryIdentityResponse |
RegistrationRequest |
class RegistrationRequest : ServiceRequestMessage |
RegistrationResponse |
data class RegistrationResponse |
SubscribeRequest |
class SubscribeRequest : ServiceRequestMessage |
SubscribeResponse |
data class SubscribeResponse |
Update |
data class Update |
UpdateAcknowledge |
data class UpdateAcknowledge |
nodes |
abstract val nodes: List<NodeInfo> |
DEFAULT_EXPIRATION_PERIOD |
val DEFAULT_EXPIRATION_PERIOD: Period |
FETCH_FLOW_TOPIC |
val FETCH_FLOW_TOPIC: String |
PUSH_ACK_FLOW_TOPIC |
val PUSH_ACK_FLOW_TOPIC: String |
PUSH_FLOW_TOPIC |
val PUSH_FLOW_TOPIC: String |
QUERY_FLOW_TOPIC |
val QUERY_FLOW_TOPIC: String |
REGISTER_FLOW_TOPIC |
val REGISTER_FLOW_TOPIC: String |
SUBSCRIPTION_FLOW_TOPIC |
val SUBSCRIPTION_FLOW_TOPIC: String |
logger |
val logger: <ERROR CLASS> |
type |
val type: ServiceType |
AbstractNetworkMapService |
abstract class AbstractNetworkMapService : NetworkMapService, AbstractNodeService Abstracted out core functionality as the basis for a persistent implementation, as well as existing in-memory implementation. |