com.r3corda.node.services.network

Package com.r3corda.node.services.network

Types

AbstractNetworkMapService abstract class AbstractNetworkMapService : NetworkMapService, AbstractNodeService

Abstracted out core functionality as the basis for a persistent implementation, as well as existing in-memory implementation.

InMemoryNetworkMapCache open class InMemoryNetworkMapCache : SingletonSerializeAsToken, NetworkMapCache

Extremely simple in-memory cache of the network map.

InMemoryNetworkMapService class InMemoryNetworkMapService : AbstractNetworkMapService
LastAcknowledgeInfo data class LastAcknowledgeInfo
NetworkMapService 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.

NodeRegistration class NodeRegistration

A node registration state in the network map.

NodeRegistrationInfo data class NodeRegistrationInfo
PersistentNetworkMapService class PersistentNetworkMapService : AbstractNetworkMapService

A network map service backed by a database to survive restarts of the node hosting it.

WireNodeRegistration class WireNodeRegistration : SignedData<NodeRegistration>

A node registration and its signature as a pair.

Exceptions

NodeMapError sealed class NodeMapError : Exception