Uses of Class
pt.unl.fct.di.novasys.babel2.core.Babel
Packages that use Babel
Package
Description
Channel abstractions, lifecycle builders, wire messages, and node components for Babel 2.
In-memory simulated communication channels for intra-JVM protocol testing and message passing.
Legacy server-side channel implementation compatible with legacy clients.
QUIC transport channel implementation for Babel 2, providing multiplexed,
stream-oriented communication secured by mutual TLS.
TCP transport channel implementation for Babel 2, providing reliable, ordered,
connection-oriented message delivery over persistent TCP sockets with configurable
authentication modes and identity verification.
UDP datagram channel implementation for connectionless unicast and multicast messaging.
Core runtime, protocol lifecycle, executor models, and protocol extensions for Babel 2.
Provides interfaces and extensions for implementing and consuming
broadcast services in the Babel 2 framework.
Provides interfaces and extensions for implementing and consuming
membership (overlay network) services in the Babel 2 framework.
Event hierarchy defining network states, message delivery outcomes, protocol notifications, and runtime lifecycle events in Babel 2.
Local network peer discovery protocols for dynamic node address and channel resolution.
-
Uses of Babel in pt.unl.fct.di.novasys.babel2.channels
Methods in pt.unl.fct.di.novasys.babel2.channels with parameters of type BabelModifier and TypeMethodDescriptionBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) Creates a newBabelChannelinstance, registering it with the givenruntimeand limiting its interest to the provided message types.Constructors in pt.unl.fct.di.novasys.babel2.channels with parameters of type BabelModifierConstructorDescriptionComposedBabelChannel(Babel runtime, BabelChannel... channels) Creates a new ComposedBabelChannel from the given channels.FullSignedBabelMessageSerializer(BabelNetworkMessageSerializer<T> innerSerializer, Babel runtime) Constructs a full signed message serializer by extracting the private key and local identity from the activeBabelruntime. -
Uses of Babel in pt.unl.fct.di.novasys.babel2.channels.internal
Methods in pt.unl.fct.di.novasys.babel2.channels.internal that return BabelModifier and TypeMethodDescriptionInternalBabelNodeComponent.runtime()Returns the value of theruntimerecord component.Methods in pt.unl.fct.di.novasys.babel2.channels.internal with parameters of type BabelModifier and TypeMethodDescriptionInternalBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) Constructors in pt.unl.fct.di.novasys.babel2.channels.internal with parameters of type BabelModifierConstructorDescriptionInternalBabelNodeComponent(Babel runtime, InternalBabelChannel channel, BabelNode identity) Creates an instance of aInternalBabelNodeComponentrecord class. -
Uses of Babel in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer
Methods in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer with parameters of type BabelModifier and TypeMethodDescriptionLegacySimpleServerBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) Constructors in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer with parameters of type BabelModifierConstructorDescriptionLegacySimpleServerConnectionHandler(LegacySimpleServerBabelChannel channel, Babel runtime, BabelNode peer) Constructs a new legacy connection handler.LegacySimpleServerHandshakeHandler(Babel runtime, LegacySimpleServerBabelChannel channel) Constructs a new legacy handshake handler. -
Uses of Babel in pt.unl.fct.di.novasys.babel2.channels.quic
Methods in pt.unl.fct.di.novasys.babel2.channels.quic with parameters of type BabelModifier and TypeMethodDescriptionQUICBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) Builds the channel or returns a protocol-specific wrapper if the underlying channel has already been constructed. -
Uses of Babel in pt.unl.fct.di.novasys.babel2.channels.tcp_tls
Methods in pt.unl.fct.di.novasys.babel2.channels.tcp_tls with parameters of type BabelModifier and TypeMethodDescriptionTCPBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) Creates a newBabelChannelinstance, registering it with the givenruntimeand limiting its interest to the provided message types.TLSBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) Creates a newBabelChannelinstance, registering it with the givenruntimeand limiting its interest to the provided message types.protected abstract io.netty.bootstrap.BootstrapAbstractTCPBabelChannel.createClientBootstrap(Babel runtime, NodeStore store, io.netty.channel.EventLoopGroup workerGroup, int numberOfMessages, boolean verifyIdentity, AbstractTCPBabelChannel.TCPBabelChannelAuthMode authMode, @Nullable Set<BabelNode> permittedNodes) Creates and configures the Netty clientBootstrapfor initiating outbound connections.protected io.netty.bootstrap.BootstrapTCPBabelChannel.createClientBootstrap(Babel runtime, NodeStore store, io.netty.channel.EventLoopGroup workerGroup, int numberOfMessages, boolean verifyIdentity, AbstractTCPBabelChannel.TCPBabelChannelAuthMode authMode, @Nullable Set<BabelNode> permittedNodes) protected io.netty.bootstrap.BootstrapTLSBabelChannel.createClientBootstrap(Babel runtime, NodeStore store, io.netty.channel.EventLoopGroup workerGroup, int numberOfMessages, boolean verifyIdentity, AbstractTCPBabelChannel.TCPBabelChannelAuthMode authMode, @Nullable Set<BabelNode> permittedNodes) protected abstract io.netty.channel.socket.ServerSocketChannelAbstractTCPBabelChannel.createServerSocketChannel(Babel runtime, NodeStore store, InetSocketAddress address, io.netty.channel.EventLoopGroup workerGroup, int numberOfMessages, boolean verifyIdentity, AbstractTCPBabelChannel.TCPBabelChannelAuthMode authMode, @Nullable Set<BabelNode> permittedNodes) Creates and binds the NettyServerSocketChannelfor accepting incoming connections.protected io.netty.channel.socket.ServerSocketChannelTCPBabelChannel.createServerSocketChannel(Babel runtime, NodeStore store, InetSocketAddress address, io.netty.channel.EventLoopGroup workerGroup, int numberOfMessages, boolean verifyIdentity, AbstractTCPBabelChannel.TCPBabelChannelAuthMode authMode, @Nullable Set<BabelNode> permittedNodes) protected io.netty.channel.socket.ServerSocketChannelTLSBabelChannel.createServerSocketChannel(Babel runtime, NodeStore store, InetSocketAddress address, io.netty.channel.EventLoopGroup workerGroup, int numberOfMessages, boolean verifyIdentity, AbstractTCPBabelChannel.TCPBabelChannelAuthMode authMode, @Nullable Set<BabelNode> permittedNodes) Constructors in pt.unl.fct.di.novasys.babel2.channels.tcp_tls with parameters of type BabelModifierConstructorDescriptionprotectedAbstractTCPBabelChannel(Babel runtime, NodeStore store, Comparator<? extends BabelNode> babelNodeComparator, int numberOfConnections, @Nullable Set<? extends BabelNode> permittedNodes, long connectionUpDelay, TimeUnit connectionUpDelayUnit) Initializes the common state of anAbstractTCPBabelChannel. -
Uses of Babel in pt.unl.fct.di.novasys.babel2.channels.udp
Methods in pt.unl.fct.di.novasys.babel2.channels.udp with parameters of type BabelModifier and TypeMethodDescriptionUDPBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) -
Uses of Babel in pt.unl.fct.di.novasys.babel2.core
Methods in pt.unl.fct.di.novasys.babel2.core that return BabelModifier and TypeMethodDescriptionBabelBootstrap.build()Constructs and returns the configuredBabelruntime instance.Babel.init()Starts the runtime by delivering aStartEventto each registered protocol and scheduling the initial queue drain.Methods in pt.unl.fct.di.novasys.babel2.core with parameters of type BabelModifier and TypeMethodDescriptiondefault voidBabelProtocol.init(Babel runtime, ComposedBabelChannel channel) Initiates the protocol's logic and execution.default voidBabelProtocol.resume(Babel runtime, ComposedBabelChannel channel) Reinstates the protocol's execution from a paused state. -
Uses of Babel in pt.unl.fct.di.novasys.babel2.core.broadcast
Methods in pt.unl.fct.di.novasys.babel2.core.broadcast with parameters of type BabelModifier and TypeMethodDescriptiondefault voidBroadcastConsumerBabelProtocol.broadcast(Babel runtime, BabelMessage message) Sendsmessageto all members of the overlay by routing aBroadcastRequestevent to the registered broadcast provider.default voidBroadcastProviderBabelProtocol.deliverMessage(Babel runtime, BabelMessage message, BabelNode node) Delivers a broadcast-received message to all local consumer protocols by dispatching aBroadcastDeliverEventthrough the runtime. -
Uses of Babel in pt.unl.fct.di.novasys.babel2.core.membership
Methods in pt.unl.fct.di.novasys.babel2.core.membership with parameters of type BabelModifier and TypeMethodDescriptiondefault voidMembershipConsumerBabelProtocol.askNeighbourSet(Babel runtime) Requests the current set of neighbours from the membership provider by dispatching anAskNeighbourSetevent.default voidMembershipProviderBabelProtocol.neighbourDown(Babel runtime, BabelNode node) Notifies all registered consumer protocols thatnodehas left the overlay by dispatching aNeighbourDownevent.default voidMembershipProviderBabelProtocol.neighbourUp(Babel runtime, BabelNode node) Notifies all registered consumer protocols thatnodehas joined the overlay by dispatching aNeighbourUpevent. -
Uses of Babel in pt.unl.fct.di.novasys.babel2.events
Methods in pt.unl.fct.di.novasys.babel2.events that return BabelModifier and TypeMethodDescriptionStartEvent.runtime()Returns the value of theruntimerecord component.Constructors in pt.unl.fct.di.novasys.babel2.events with parameters of type BabelModifierConstructorDescriptionStartEvent(Babel runtime, ComposedBabelChannel channel) Creates an instance of aStartEventrecord class. -
Uses of Babel in pt.unl.fct.di.novasys.babel2.protocols.discovery
Methods in pt.unl.fct.di.novasys.babel2.protocols.discovery with parameters of type BabelModifier and TypeMethodDescriptionvoidLocalNetworkDiscoveryProtocol.init(Babel runtime, ComposedBabelChannel composedChannel)