InMemoryMessagingNetwork |
class InMemoryMessagingNetwork : SingletonSerializeAsToken An in-memory network allows you to manufacture InMemoryMessagings for a set of participants. Each InMemoryMessaging maintains a queue of messages it has received, and a background thread that dispatches messages one by one to registered handlers. Alternatively, a messaging system may be manually pumped, in which case no thread is created and a caller is expected to force delivery one at a time (this is useful for unit testing). |
InMemoryNetworkMapCache |
open class InMemoryNetworkMapCache : SingletonSerializeAsToken, NetworkMapCache Extremely simple in-memory cache of the network map. |
InMemoryNetworkMapService |
class InMemoryNetworkMapService : NetworkMapService, AbstractNodeService |
MockNetworkMapCache |
class MockNetworkMapCache : InMemoryNetworkMapCache Network map cache with no backing map service. |
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. |
WireNodeRegistration |
class WireNodeRegistration : SignedData<NodeRegistration> A node registration and its signature as a pair. |
NodeMapError |
sealed class NodeMapError : Exception |