Uses of Interface
pt.unl.fct.di.novasys.babel2.core.BabelNode
Packages that use BabelNode
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.
Network handshake and discovery messages exchanged across IP channels.
QUIC transport channel implementation for Babel 2, providing multiplexed,
stream-oriented communication secured by mutual TLS.
Serializers for core Babel runtime types including nodes, components, and messages.
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.
Contains events used by broadcast protocols to communicate
between consumers and providers in the Babel 2 framework.
Provides interfaces and extensions for implementing and consuming
membership (overlay network) services in the Babel 2 framework.
Contains events used by membership protocols to communicate
overlay neighbour changes between providers and consumers.
Address and node component resolution protocol abstractions and extensions for Babel 2.
Events exchanged during node identity probe and address resolution.
Protocol events delivering signed message reception and send outcomes.
Event hierarchy defining network states, message delivery outcomes, protocol notifications, and runtime lifecycle events in Babel 2.
Functional interfaces defining internal handler signatures for routing Babel events to protocol callback methods.
Local network peer discovery protocols for dynamic node address and channel resolution.
Network probe and answer messages exchanged during local network node discovery.
-
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.channels
Classes in pt.unl.fct.di.novasys.babel2.channels that implement BabelNodeModifier and TypeClassDescriptionfinal recordMethods in pt.unl.fct.di.novasys.babel2.channels that return BabelNodeModifier and TypeMethodDescriptionFullSignedBabelMessageSerializer.getMyself()Returns the local node identity attached as the sender on outgoing messages.@Nullable BabelNodeSignedBabelMessage.sender()Returns the identity of the node that sent and signed this message, ornullif this message is unsigned.Methods in pt.unl.fct.di.novasys.babel2.channels with parameters of type BabelNodeModifier and TypeMethodDescriptionDefaultNodeStore.addComponent(BabelNode node, BabelNodeComponent component) NodeStore.addComponent(BabelNode node, BabelNodeComponent component) Adds a newly discovered component to the store.<T extends BabelNodeComponent>
voidDefaultNodeStore.awaitComponent(BabelNode node, Class<T> type, Runnable missing, Consumer<SortedSet<T>> callback) <T extends BabelNodeComponent>
voidNodeStore.awaitComponent(BabelNode node, Class<T> type, Runnable missing, Consumer<SortedSet<T>> callback) Registers a one-shot callback that executes the next time a component of the requested type is added for the given node, or when resolution explicitly fails.BabelChannelBuilder.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.voidConnect to another Babel runtime.voidvoidBabelChannel.disconnect(BabelNode peer) Closes the connection topeer.voidComposedBabelChannel.disconnect(BabelNode peer) <T extends BabelNodeComponent>
SortedSet<T> DefaultNodeStore.getComponentsOfType(BabelNode node, Class<T> type) <T extends BabelNodeComponent>
SortedSet<T> NodeStore.getComponentsOfType(BabelNode node, Class<T> type) Gets all components of a specific type (e.g., IPBabelNodeComponent.class) attached to a node.booleanBabelChannel.isConnected(BabelNode peer) Returnstrueif a connection topeeris currently open on this channel.booleanComposedBabelChannel.isConnected(BabelNode peer) booleanDefaultNodeStore.removeComponent(BabelNode node, BabelNodeComponent component) booleanNodeStore.removeComponent(BabelNode node, BabelNodeComponent component) Removes a stale or dead component from the store.voidDefaultNodeStore.resolutionFailed(BabelNode node, Class<? extends BabelNodeComponent> type) voidNodeStore.resolutionFailed(BabelNode node, Class<? extends BabelNodeComponent> type) Signals that the resolver protocol failed to find the requested component type for the given node (e.g., discovery timeout).voidDefaultNodeStore.resolutionSuccessuful(BabelNode node, Class<? extends BabelNodeComponent> type) voidNodeStore.resolutionSuccessuful(BabelNode node, Class<? extends BabelNodeComponent> type) Signals that the resolver protocol successfully resolved the requested component type for the given node.voidBabelChannel.send(BabelNode peer, BabelMessage message) Sends a message through this channel to the given peer using a persistent connection.voidComposedBabelChannel.send(BabelNode peer, BabelMessage message) voidBabelChannel.sendEphemeral(BabelNode peer, BabelMessage message) Sends a message topeerwithout establishing a persistent connection.voidComposedBabelChannel.sendEphemeral(BabelNode peer, BabelMessage message) Constructors in pt.unl.fct.di.novasys.babel2.channels with parameters of type BabelNodeModifierConstructorDescriptionFullSignedBabelMessageSerializer(PrivateKey key, BabelNode myself, BabelNetworkMessageSerializer<T> innerSerializer) Constructs a full signed message serializer with explicit private key and local node identity.SignedBabelMessage(T innerMessage, @Nullable BabelNode sender, @Nullable byte[] signature) Constructs a signed or unsigned message wrapper. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.channels.internal
Methods in pt.unl.fct.di.novasys.babel2.channels.internal that return BabelNodeModifier and TypeMethodDescriptionInternalBabelNodeComponent.identity()Returns the value of theidentityrecord component.Methods in pt.unl.fct.di.novasys.babel2.channels.internal with parameters of type BabelNodeModifier and TypeMethodDescriptionInternalBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) voidvoidInternalBabelChannel.disconnect(BabelNode peer) booleanInternalBabelChannel.isConnected(BabelNode peer) voidInternalBabelChannel.send(BabelNode peer, BabelMessage message) voidInternalBabelChannel.sendEphemeral(BabelNode peer, BabelMessage message) Constructors in pt.unl.fct.di.novasys.babel2.channels.internal with parameters of type BabelNodeModifierConstructorDescriptionInternalBabelNodeComponent(Babel runtime, InternalBabelChannel channel, BabelNode identity) Creates an instance of aInternalBabelNodeComponentrecord class. -
Uses of BabelNode 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 BabelNodeModifier and TypeMethodDescriptionLegacySimpleServerBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) voidvoidLegacySimpleServerBabelChannel.disconnect(BabelNode peer) booleanLegacySimpleServerBabelChannel.isConnected(BabelNode peer) voidLegacySimpleServerBabelChannel.send(BabelNode peer, BabelMessage message) voidLegacySimpleServerBabelChannel.sendEphemeral(BabelNode peer, BabelMessage message) Constructors in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer with parameters of type BabelNodeModifierConstructorDescriptionLegacySimpleServerConnectionHandler(LegacySimpleServerBabelChannel channel, Babel runtime, BabelNode peer) Constructs a new legacy connection handler. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.channels.messages
Methods in pt.unl.fct.di.novasys.babel2.channels.messages that return BabelNodeModifier and TypeMethodDescriptionDiscoveryMessage.identity()Returns the value of theidentityrecord component.HandshakeMessage.identity()Returns the value of theidentityrecord component.Constructors in pt.unl.fct.di.novasys.babel2.channels.messages with parameters of type BabelNodeModifierConstructorDescriptionDiscoveryMessage(BabelNode identity, List<String> protocols) Creates an instance of aDiscoveryMessagerecord class.HandshakeMessage(BabelNode identity) Creates an instance of aHandshakeMessagerecord class. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.channels.quic
Fields in pt.unl.fct.di.novasys.babel2.channels.quic with type parameters of type BabelNodeModifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<BabelNode> QUICBabelChannel.EXPECTED_PEERNetty attribute key storing the targetBabelNodeon client channels during connection setup.Methods in pt.unl.fct.di.novasys.babel2.channels.quic with parameters of type BabelNodeModifier 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.voidInitiates a connection to the specified peer.voidQUICBabelChannel.disconnect(BabelNode peer) Closes the connection topeer.booleanQUICBabelChannel.isConnected(BabelNode peer) Returnstrueif a connection topeeris currently open on this channel.voidQUICBabelChannel.send(BabelNode peer, BabelMessage message) Sends a message through this channel to the given peer using a persistent connection.voidQUICBabelChannel.sendEphemeral(BabelNode peer, BabelMessage message) Sends a message topeerwithout establishing a persistent connection.Method parameters in pt.unl.fct.di.novasys.babel2.channels.quic with type arguments of type BabelNodeModifier and TypeMethodDescriptionQUICBabelChannelBuilder.setComparator(Comparator<? extends BabelNode> comparator) Sets the comparator used to resolve simultaneous-connection conflicts. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes
Classes in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes with type parameters of type BabelNodeModifier and TypeInterfaceDescriptioninterfaceBabelNodeSerializer<T extends BabelNode>SPI serializer interface for specificBabelNodeimplementations.Classes in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes that implement interfaces with type arguments of type BabelNodeMethods in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes that return BabelNodeModifier and TypeMethodDescriptionGeneralBabelNodeSerializer.deserialize(io.netty.buffer.ByteBuf in, NodeStore store) Methods in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes that return types with arguments of type BabelNodeMethods in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes with parameters of type BabelNode -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.channels.tcp_tls
Fields in pt.unl.fct.di.novasys.babel2.channels.tcp_tls with type parameters of type BabelNodeModifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<BabelNode> AbstractTCPBabelChannel.EXPECTED_PEERNetty channel attribute key storing the expected remote peer node identity for outbound connections.Methods in pt.unl.fct.di.novasys.babel2.channels.tcp_tls that return types with arguments of type BabelNodeModifier and TypeMethodDescriptionAbstractTCPBabelChannel.getPermittedNodes()Returns the set of permitted nodes for this channel, ornullif all nodes are permitted.Methods in pt.unl.fct.di.novasys.babel2.channels.tcp_tls with parameters of type BabelNodeModifier 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.voidInitiates a TCP connection to the specified peer node.voidAbstractTCPBabelChannel.disconnect(BabelNode peer) Disconnects the active TCP connection to the specified peer.booleanAbstractTCPBabelChannel.isConnected(BabelNode peer) Checks whether an active TCP connection to the specified peer exists.voidAbstractTCPBabelChannel.send(BabelNode peer, BabelMessage message) Sends aBabelMessageto the specified peer over the active TCP connection.voidAbstractTCPBabelChannel.sendEphemeral(BabelNode peer, BabelMessage message) Sends a message topeerwithout establishing a persistent connection.Method parameters in pt.unl.fct.di.novasys.babel2.channels.tcp_tls with type arguments of type BabelNodeModifier and TypeMethodDescriptionprotected 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) TCPBabelChannelBuilder.setComparator(Comparator<? extends BabelNode> comparator) Sets the comparator used for tie-breaking when two nodes connect to each other simultaneously.TLSBabelChannelBuilder.setComparator(Comparator<? extends BabelNode> comparator) Sets the comparator used for tie-breaking when two nodes connect to each other simultaneously.TCPBabelChannelBuilder.setPermittedNodes(Set<? extends BabelNode> permittedNodes) Sets the set of permitted nodes for the channel.TLSBabelChannelBuilder.setPermittedNodes(@Nullable Set<? extends BabelNode> permittedNodes) Sets the set of permitted nodes for the channel.Constructor parameters in pt.unl.fct.di.novasys.babel2.channels.tcp_tls with type arguments of type BabelNodeModifierConstructorDescriptionprotectedAbstractTCPBabelChannel(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.protectedAbstractTCPBabelChannel(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 BabelNode in pt.unl.fct.di.novasys.babel2.channels.udp
Methods in pt.unl.fct.di.novasys.babel2.channels.udp that return BabelNodeModifier and TypeMethodDescriptionAddressedBabelMessage.sender()Returns the value of thesenderrecord component.Methods in pt.unl.fct.di.novasys.babel2.channels.udp with parameters of type BabelNodeModifier and TypeMethodDescriptionUDPBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) voidvoidUDPBabelChannel.disconnect(BabelNode peer) booleanUDPBabelChannel.isConnected(BabelNode peer) voidUDPBabelChannel.send(BabelNode peer, BabelMessage message) voidUDPBabelChannel.sendEphemeral(BabelNode peer, BabelMessage message) Constructors in pt.unl.fct.di.novasys.babel2.channels.udp with parameters of type BabelNodeModifierConstructorDescriptionAddressedBabelMessage(BabelMessage message, BabelNode sender, InetSocketAddress senderAddress) Creates an instance of aAddressedBabelMessagerecord class. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.core
Classes in pt.unl.fct.di.novasys.babel2.core that implement BabelNodeModifier and TypeClassDescriptionfinal recordABabelNodeidentity implementation based on an IP socket address and channel type.Methods in pt.unl.fct.di.novasys.babel2.core that return BabelNodeModifier and TypeMethodDescriptionBabel.getMyself()Returns the node identity of this Babel instance.Methods in pt.unl.fct.di.novasys.babel2.core with parameters of type BabelNodeModifier and TypeMethodDescriptiondefault voidBabelProtocol.connectionDown(BabelNode peer, @Nullable Throwable cause) Invoked when a previously established connection topeerhas been closed, either locally or remotely.default voidBabelProtocol.connectionFailed(BabelNode peer, @Nullable Throwable cause) Invoked when an outgoing connection attempt topeerfailed before a connection could be established.default voidBabelProtocol.connectionUp(BabelNode peer) Invoked when an outgoing connection topeerhas been established successfully through the protocol's assignedBabelChannel.Sets the localBabelNodeidentity representing this node. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.core.broadcast
Methods in pt.unl.fct.di.novasys.babel2.core.broadcast with parameters of type BabelNodeModifier and TypeMethodDescriptiondefault 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 BabelNode in pt.unl.fct.di.novasys.babel2.core.broadcast.events
Methods in pt.unl.fct.di.novasys.babel2.core.broadcast.events that return BabelNodeModifier and TypeMethodDescriptionBroadcastDeliverEvent.sender()Returns the value of thesenderrecord component.Constructors in pt.unl.fct.di.novasys.babel2.core.broadcast.events with parameters of type BabelNodeModifierConstructorDescriptionBroadcastDeliverEvent(BabelMessage message, BabelNode sender) Creates an instance of aBroadcastDeliverEventrecord class. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.core.membership
Methods in pt.unl.fct.di.novasys.babel2.core.membership with parameters of type BabelNodeModifier and TypeMethodDescriptionvoidMembershipConsumerBabelProtocol.neigbourDown(BabelNode node) Called when neighbournodehas left or become unreachable.default voidMembershipProviderBabelProtocol.neighbourDown(Babel runtime, BabelNode node) Notifies all registered consumer protocols thatnodehas left the overlay by dispatching aNeighbourDownevent.voidMembershipConsumerBabelProtocol.neighbourUp(BabelNode node) Called when a new neighbour identified bynodehas joined the overlay and is now considered an active member.default voidMembershipProviderBabelProtocol.neighbourUp(Babel runtime, BabelNode node) Notifies all registered consumer protocols thatnodehas joined the overlay by dispatching aNeighbourUpevent.Method parameters in pt.unl.fct.di.novasys.babel2.core.membership with type arguments of type BabelNodeModifier and TypeMethodDescriptiondefault voidMembershipConsumerBabelProtocol.setNeighbours(Set<BabelNode> neighbours) Called with the current neighbour set in response to a previousMembershipConsumerBabelProtocol.askNeighbourSet(Babel)call. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.core.membership.events
Methods in pt.unl.fct.di.novasys.babel2.core.membership.events that return BabelNodeModifier and TypeMethodDescriptionNeighbourDown.node()Returns the value of thenoderecord component.NeighbourUp.node()Returns the value of thenoderecord component.Methods in pt.unl.fct.di.novasys.babel2.core.membership.events that return types with arguments of type BabelNodeModifier and TypeMethodDescriptionNeighbourSet.neighbours()Returns the value of theneighboursrecord component.Constructors in pt.unl.fct.di.novasys.babel2.core.membership.events with parameters of type BabelNodeModifierConstructorDescriptionNeighbourDown(BabelNode node) Creates an instance of aNeighbourDownrecord class.NeighbourUp(BabelNode node) Creates an instance of aNeighbourUprecord class.Constructor parameters in pt.unl.fct.di.novasys.babel2.core.membership.events with type arguments of type BabelNodeModifierConstructorDescriptionNeighbourSet(Set<BabelNode> neighbours) Creates an instance of aNeighbourSetrecord class. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.core.resolver
Methods in pt.unl.fct.di.novasys.babel2.core.resolver with parameters of type BabelNodeModifier and TypeMethodDescriptionvoidResolverProviderBabelProtocol.uponBabelNodeProbe(BabelNode node) Called when a Babel node is probed. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.core.resolver.events
Methods in pt.unl.fct.di.novasys.babel2.core.resolver.events that return BabelNodeModifier and TypeMethodDescriptionBabelNodeAnswer.node()Returns the Babel node.BabelNodeProbe.node()Returns the value of thenoderecord component.Constructors in pt.unl.fct.di.novasys.babel2.core.resolver.events with parameters of type BabelNodeModifierConstructorDescriptionBabelNodeProbe(BabelNode node) Creates an instance of aBabelNodeProberecord class. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.core.signed.events
Methods in pt.unl.fct.di.novasys.babel2.core.signed.events that return BabelNodeModifier and TypeMethodDescriptionSignedMessageOutFailed.receiver()Returns the value of thereceiverrecord component.SignedMessageOutSuccess.receiver()Returns the value of thereceiverrecord component.SignedMessageIn.sender()Returns the value of thesenderrecord component.Constructors in pt.unl.fct.di.novasys.babel2.core.signed.events with parameters of type BabelNodeModifierConstructorDescriptionSignedMessageIn(SignedBabelMessage<T> message, BabelNode sender) Creates an instance of aSignedMessageInrecord class.SignedMessageOutFailed(SignedBabelMessage<T> message, BabelNode receiver, Throwable cause) Creates an instance of aSignedMessageOutFailedrecord class.SignedMessageOutSuccess(SignedBabelMessage<T> message, BabelNode receiver) Creates an instance of aSignedMessageOutSuccessrecord class. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.events
Methods in pt.unl.fct.di.novasys.babel2.events that return BabelNodeModifier and TypeMethodDescriptionConnectionDownEvent.node()Returns the value of thenoderecord component.ConnectionFailedEvent.node()Returns the value of thenoderecord component.ConnectionUpEvent.node()Returns the value of thenoderecord component.NetworkEvent.node()The remote node associated with this network event.MessageOutFailedEvent.receiver()Returns the value of thereceiverrecord component.MessageOutSuccessEvent.receiver()Returns the value of thereceiverrecord component.MessageInEvent.sender()Returns the value of thesenderrecord component.Constructors in pt.unl.fct.di.novasys.babel2.events with parameters of type BabelNodeModifierConstructorDescriptionConnectionDownEvent(BabelNode node, @Nullable Throwable cause) Creates an instance of aConnectionDownEventrecord class.ConnectionFailedEvent(BabelNode node, @Nullable Throwable cause) Creates an instance of aConnectionFailedEventrecord class.ConnectionUpEvent(BabelNode node) Creates an instance of aConnectionUpEventrecord class.MessageInEvent(BabelMessage message, BabelNode sender) Creates an instance of aMessageInEventrecord class.MessageOutFailedEvent(BabelMessage message, BabelNode receiver, @Nullable Throwable cause) Creates an instance of aMessageOutFailedEventrecord class.MessageOutSuccessEvent(BabelMessage message, BabelNode receiver) Creates an instance of aMessageOutSuccessEventrecord class. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.handlers
Methods in pt.unl.fct.di.novasys.babel2.handlers with parameters of type BabelNodeModifier and TypeMethodDescriptionvoidBroadcastDeliverHandler.handleDeliver(T message, BabelNode node) Handles a broadcast-delivered message.voidMessageInHandler.handleMessage(T msg, BabelNode node) Handles an inbound message from a remote node.voidMessageOutFailedHandler.handleMessage(T msg, BabelNode node, @Nullable Throwable cause) Handles a send failure for an outbound message.voidMessageOutSuccessHandler.handleMessage(T msg, BabelNode node) Handles the confirmation that a message was successfully sent. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.protocols.discovery
Methods in pt.unl.fct.di.novasys.babel2.protocols.discovery with parameters of type BabelNodeModifier and TypeMethodDescriptionvoidLocalNetworkDiscoveryProtocol.uponBabelNodeAnswer(BabelNodeAnswer msg, BabelNode sender) Handles incoming discovery answers, registering open channel endpoints into theNodeStoreand completing pending component resolution.voidLocalNetworkDiscoveryProtocol.uponBabelNodeProbe(BabelNode node) voidLocalNetworkDiscoveryProtocol.uponBabelNodeProbeMessage(BabelNodeProbeMessage msg, BabelNode sender) Handles incoming discovery probes from peer nodes. -
Uses of BabelNode in pt.unl.fct.di.novasys.babel2.protocols.discovery.messages
Methods in pt.unl.fct.di.novasys.babel2.protocols.discovery.messages that return BabelNodeModifier and TypeMethodDescriptionBabelNodeAnswer.node()Returns the value of thenoderecord component.BabelNodeProbeMessage.node()Returns the value of thenoderecord component.Constructors in pt.unl.fct.di.novasys.babel2.protocols.discovery.messages with parameters of type BabelNodeModifierConstructorDescriptionBabelNodeAnswer(BabelNode node, List<ChannelInfo> openChannels) Creates an instance of aBabelNodeAnswerrecord class.Creates an instance of aBabelNodeProbeMessagerecord class.