Uses of Class
pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
Packages that use BabelBootstrap
Package
Description
Core runtime, protocol lifecycle, executor models, and protocol extensions for Babel 2.
-
Uses of BabelBootstrap in pt.unl.fct.di.novasys.babel2.core
Methods in pt.unl.fct.di.novasys.babel2.core that return BabelBootstrapModifier and TypeMethodDescriptionstatic BabelBootstrapBabel.builder()Entry to configure and start the runtime with default configs fromBabelBootstrap.static BabelBootstrapBabel.builder(int numberOfProtocols, int numberOfExtensions, int numberOfChannels, int numberOfEvents, int numberOfMessages) Entry to configure and start the runtime with given configs.BabelBootstrap.registerExtension(Class<? extends BabelProtocol> protocol, ProtocolExtensionFactory extension) Registers aProtocolExtensionFactorythat will be applied to every registered protocol that is an instance ofprotocol.BabelBootstrap.registerProtocol(BabelProtocol protocol, BabelProtocolHolderFactory holderFactory, BabelChannelBuilder... channelFactories) Registers a protocol instance with this Babel runtime, optionally associating it with one or more channel builders.BabelBootstrap.setKeyPair(KeyPair keyPair) Sets the asymmetric key pair representing the cryptographic identity of the local node.Sets the localBabelNodeidentity representing this node.BabelBootstrap.setNodeStore(NodeStore store) Sets the node store to be used by the runtime.