Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBabelChannelBuilder<T> - Class in pt.unl.fct.di.novasys.babel2.channels
-
Abstract base class for
BabelChannelBuilderimplementations. - AbstractBabelChannelBuilder() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.AbstractBabelChannelBuilder
-
Initializes the base channel builder with default connection and message counts.
- AbstractBabelProtocolHolder - Class in pt.unl.fct.di.novasys.babel2.core
-
Abstract base implementation of
BabelProtocolHolderproviding handler discovery via reflection, dynamic lambda generation, and dispatch routines. - AbstractBabelProtocolHolder(BabelProtocol, Set) - Constructor for class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
-
Constructs a holder for
protocol, wiring up all handlers discovered via reflection and the provided extensions. - AbstractIPBabelChannelBuilder<T> - Class in pt.unl.fct.di.novasys.babel2.channels
-
Base builder for channel implementations operating over IP networks.
- AbstractIPBabelChannelBuilder() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Initializes a new IP channel builder with default settings.
- AbstractTCPBabelChannel - Class in pt.unl.fct.di.novasys.babel2.channels.tcp_tls
-
Babel 2 channel implementation that transports messages over persistent TCP connections.
- AbstractTCPBabelChannel(Babel, NodeStore, Comparator, int, Set, long, TimeUnit) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Initializes the common state of an
AbstractTCPBabelChannel. - AbstractTCPBabelChannel.TCPBabelChannelAuthMode - Enum Class in pt.unl.fct.di.novasys.babel2.channels.tcp_tls
-
Modes used to describe which types of signed messages are allowed on the channel.
- addComponent(BabelNode, BabelNodeComponent) - Method in class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
- addComponent(BabelNode, BabelNodeComponent) - Method in interface pt.unl.fct.di.novasys.babel2.channels.NodeStore
-
Adds a newly discovered component to the store.
- addMulticastAddress(InetSocketAddress) - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannelBuilder
-
Adds a multicast group address to join and broadcast to.
- address() - Method in record class pt.unl.fct.di.novasys.babel2.channels.IPBabelNodeComponent
-
Returns the value of the
addressrecord component. - address() - Method in record class pt.unl.fct.di.novasys.babel2.core.IPBabelNodeIdentity
-
Returns the value of the
addressrecord component. - address() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.ChannelInfo
-
Returns the value of the
addressrecord component. - AddressedBabelMessage - Record Class in pt.unl.fct.di.novasys.babel2.channels.udp
-
Envelope holding a deserialized
BabelMessagealongside the sender node identity and physical source address. - AddressedBabelMessage(BabelMessage, BabelNode, InetSocketAddress) - Constructor for record class pt.unl.fct.di.novasys.babel2.channels.udp.AddressedBabelMessage
-
Creates an instance of a
AddressedBabelMessagerecord class. - annotationClass() - Method in class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastConsumerExtension
- annotationClass() - Method in interface pt.unl.fct.di.novasys.babel2.core.ProtocolExtension
-
Returns the set of method-level annotation types that this extension processes.
- annotationClass() - Method in class pt.unl.fct.di.novasys.babel2.core.signed.SignedMessageExtension
- Architecture Overview - Section in Overview
- ArraySerializer<T> - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections
-
Generic serializer for object arrays of type
T[]. - ArraySerializer(BabelNetworkSerializer, Class) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.ArraySerializer
-
Constructs an array serializer.
- AsciiStringSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers
-
Binary serializer for Netty
AsciiStringinstances. - AsciiStringSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.AsciiStringSerializer
-
Constructs a new
AsciiStringSerializer. - askingProtocol() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.AskNeighbourSet
-
Returns the value of the
askingProtocolrecord component. - askNeighbourSet(Babel) - Method in interface pt.unl.fct.di.novasys.babel2.core.membership.MembershipConsumerBabelProtocol
-
Requests the current set of neighbours from the membership provider by dispatching an
AskNeighbourSetevent. - AskNeighbourSet - Record Class in pt.unl.fct.di.novasys.babel2.core.membership.events
-
ProtocolEventemitted by aMembershipConsumerBabelProtocolwhen it wants to retrieve the current neighbour set from the membership provider. - AskNeighbourSet(Class) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.membership.events.AskNeighbourSet
-
Creates an instance of a
AskNeighbourSetrecord class. - attributeMapSize() - Method in interface pt.unl.fct.di.novasys.babel2.channels.legacy.messages.ControlMessage
-
Returns the count of attributes carried in this control message envelope.
- attributeMapSize() - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.messages.HeartbeatMessage
- attributeMapSize() - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.messages.InvalidAttributesMessage
- attributeMapSize() - Method in record class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.FirstHandshakeSimpleClientMessage
- attributeMapSize() - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.SecondHandshakeSimpleServerMessage
- awaitComponent(BabelNode, Class, Runnable, Consumer) - Method in class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
- awaitComponent(BabelNode, Class, Runnable, Consumer) - Method in interface pt.unl.fct.di.novasys.babel2.channels.NodeStore
-
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.
B
- 3. Bootstrap and Initialize the Runtime - Section in Overview
- Babel - Class in pt.unl.fct.di.novasys.babel2.core
-
The
Babelclass serves as the central orchestration engine for the Babel 2 runtime. - BABEL_MAGIC_NUMBER - Static variable in class pt.unl.fct.di.novasys.babel2.channels.utils.BabelIpUtils
-
Magic number (
0xBABE12) written at the start of every regular Babel message frame. - BABEL2_TLS_OID - Static variable in class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator
-
Custom X.509 extension OID used to carry the node's long-term identity public key and signature over the ephemeral TLS public key.
- Babel 2 Distributed Protocol Framework - Section in Overview
- BabelBootstrap - Class in pt.unl.fct.di.novasys.babel2.core
-
Builder class for configuring and creating a
Babelruntime instance. - BabelChannel - Interface in pt.unl.fct.di.novasys.babel2.channels
-
Represents a communication channel between two Babel runtimes.
- BabelChannelBuilder - Interface in pt.unl.fct.di.novasys.babel2.channels
-
Factory interface for creating
BabelChannelinstances during runtime initialisation. - babelChannelType() - Method in record class pt.unl.fct.di.novasys.babel2.core.IPBabelNodeIdentity
-
Returns the value of the
babelChannelTyperecord component. - BabelEvent - Interface in pt.unl.fct.di.novasys.babel2.events
-
Root sealed interface for all events processed by the Babel runtime.
- BabelIPMessage - Annotation Interface in pt.unl.fct.di.novasys.babel2.channels
-
Annotation that marks a Java
recordas a Babel IP network message and assigns it a unique integer identifier used during serialization and deserialization. - BabelIpUtils - Class in pt.unl.fct.di.novasys.babel2.channels.utils
-
Shared utility constants and helper methods used by the Babel 2 IP channel implementations.
- BabelMessage - Interface in pt.unl.fct.di.novasys.babel2.channels
-
Marker interface for all protocol-level messages exchanged between
BabelNodeinstances through aBabelChannel. - BabelMessageSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes
-
General serializer for
BabelMessageinstances. - BabelMessageSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.BabelMessageSerializer
-
Constructs a new
BabelMessageSerializer. - BabelNetworkMessageSerializer<T> - Interface in pt.unl.fct.di.novasys.babel2.channels.serializers
-
Serializer contract for Babel IP network messages.
- BabelNetworkSerializer<T> - Interface in pt.unl.fct.di.novasys.babel2.channels.serializers
-
Low-level binary serializer contract for objects that need to be written to or read from a Netty
ByteBuf. - BabelNode - Interface in pt.unl.fct.di.novasys.babel2.core
-
Opaque handle that represents a remote Babel process reachable through a
BabelChannel. - BabelNodeAnswer - Record Class in pt.unl.fct.di.novasys.babel2.protocols.discovery.messages
-
Discovery message sent in response to a probe, announcing active channels and addresses of the node.
- BabelNodeAnswer - Interface in pt.unl.fct.di.novasys.babel2.core.resolver.events
-
Interface representing a response to a Babel node probe.
- BabelNodeAnswer(BabelNode, List) - Constructor for record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeAnswer
-
Creates an instance of a
BabelNodeAnswerrecord class. - BabelNodeComponent - Interface in pt.unl.fct.di.novasys.babel2.channels
-
Represents a component attached to a
BabelNode. - BabelNodeComponentSerializer<T> - Interface in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes
-
SPI serializer interface for specific
BabelNodeComponentimplementations. - BabelNodeProbe - Record Class in pt.unl.fct.di.novasys.babel2.core.resolver.events
-
Event emitted to probe a Babel node.
- BabelNodeProbe(BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.resolver.events.BabelNodeProbe
-
Creates an instance of a
BabelNodeProberecord class. - BabelNodeProbeMessage - Record Class in pt.unl.fct.di.novasys.babel2.protocols.discovery.messages
-
Multicast probe message querying the local network for contact information of a target node.
- BabelNodeProbeMessage(BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeProbeMessage
-
Creates an instance of a
BabelNodeProbeMessagerecord class. - BabelNodeSerializer<T> - Interface in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes
-
SPI serializer interface for specific
BabelNodeimplementations. - BabelPropertiesReader - Class in pt.unl.fct.di.novasys.babel2.utils
-
Utility class for loading Babel protocol configuration from a properties file and/or command-line arguments.
- BabelProtocol - Interface in pt.unl.fct.di.novasys.babel2.core
-
Defines the lifecycle and configuration requirements for a protocol within the Babel framework.
- BabelProtocolFactory<T> - Interface in pt.unl.fct.di.novasys.babel2.core
-
Factory interface for creating
BabelProtocolinstances from aPropertiesconfiguration object. - BabelProtocolHolder - Interface in pt.unl.fct.di.novasys.babel2.core
-
Wraps a
BabelProtocoland manages its execution environment, event delivery, and dispatching of messages and events. - BabelProtocolHolderFactory - Interface in pt.unl.fct.di.novasys.babel2.core
-
Factory interface for creating instances of
BabelProtocolHolder. - BabelSslContextHelper - Class in pt.unl.fct.di.novasys.babel2.ssl
-
Factory helper for constructing
QuicSslContext(for QUIC) and NettySslContext(for TLS over TCP) using the Babel 2 self-signed peer identity certificate flow. - BasicSignedBabelMessageSerializer<T> - Class in pt.unl.fct.di.novasys.babel2.channels
-
Serializer and verifier for
SignedBabelMessageinstances wrapping a message of typeT. - BasicSignedBabelMessageSerializer(BabelNetworkMessageSerializer) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.BasicSignedBabelMessageSerializer
-
Constructs a basic signed message serializer with the specified inner serializer.
- BooleanArraySerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives
-
Binary serializer for
boolean[]primitive arrays. - BooleanArraySerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.BooleanArraySerializer
-
Constructs a new
BooleanArraySerializer. - BooleanSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.primtive
-
Binary serializer for
Booleanvalues. - BooleanSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.BooleanSerializer
-
Constructs a new
BooleanSerializer. - broadcast(Babel, BabelMessage) - Method in interface pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastConsumerBabelProtocol
-
Sends
messageto all members of the overlay by routing aBroadcastRequestevent to the registered broadcast provider. - BroadcastConsumerBabelProtocol - Interface in pt.unl.fct.di.novasys.babel2.core.broadcast
-
Marker interface for protocols that consume a broadcast service.
- BroadcastConsumerExtension - Class in pt.unl.fct.di.novasys.babel2.core.broadcast
-
ProtocolExtensionthat wires up broadcast-delivery handling forBroadcastConsumerBabelProtocolinstances. - BroadcastConsumerExtension(BroadcastConsumerBabelProtocol) - Constructor for class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastConsumerExtension
-
Constructs a
BroadcastConsumerExtensionfor the given protocol. - BroadcastConsumerExtensionFactory - Class in pt.unl.fct.di.novasys.babel2.core.broadcast
-
ProtocolExtensionFactorythat createsBroadcastConsumerExtensioninstances forBroadcastConsumerBabelProtocolimplementations. - BroadcastConsumerExtensionFactory() - Constructor for class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastConsumerExtensionFactory
-
Constructs a new
BroadcastConsumerExtensionFactory. - BroadcastDeliverEvent - Record Class in pt.unl.fct.di.novasys.babel2.core.broadcast.events
-
ProtocolEventemitted by aBroadcastProviderBabelProtocolwhen a broadcast message has been received and is ready to be delivered to local consumer protocols. - BroadcastDeliverEvent(BabelMessage, BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastDeliverEvent
-
Creates an instance of a
BroadcastDeliverEventrecord class. - BroadcastDeliverHandler<T> - Interface in pt.unl.fct.di.novasys.babel2.handlers
-
Functional interface invoked when a broadcast message is delivered to a
BroadcastConsumerBabelProtocol. - BroadcastIPBabelChannel - Interface in pt.unl.fct.di.novasys.babel2.channels.discovery
-
Channel interface for IP channels supporting local network broadcast or multicast operations.
- BroadcastProviderBabelProtocol - Interface in pt.unl.fct.di.novasys.babel2.core.broadcast
-
Interface for protocols that implement a broadcast service.
- BroadcastProviderExtension - Class in pt.unl.fct.di.novasys.babel2.core.broadcast
-
ProtocolExtensionthat routesBroadcastRequestevents from consumer protocols to the associatedBroadcastProviderBabelProtocol. - BroadcastProviderExtension(BroadcastProviderBabelProtocol) - Constructor for class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastProviderExtension
-
Constructs a
BroadcastProviderExtensionbound to the given provider protocol. - BroadcastProviderExtensionFactory - Class in pt.unl.fct.di.novasys.babel2.core.broadcast
-
ProtocolExtensionFactorythat createsBroadcastProviderExtensioninstances forBroadcastProviderBabelProtocolimplementations. - BroadcastProviderExtensionFactory() - Constructor for class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastProviderExtensionFactory
-
Constructs a new
BroadcastProviderExtensionFactory. - BroadcastRequest - Record Class in pt.unl.fct.di.novasys.babel2.core.broadcast.events
-
ProtocolEventemitted by aBroadcastConsumerBabelProtocolwhen it wishes to broadcast a message to all overlay members. - BroadcastRequest(BabelMessage) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastRequest
-
Creates an instance of a
BroadcastRequestrecord class. - build() - Method in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Constructs and returns the configured
Babelruntime instance. - build(Babel, NodeStore, BabelNode, BabelProtocol) - Method in interface pt.unl.fct.di.novasys.babel2.channels.BabelChannelBuilder
-
Creates a new
BabelChannelinstance, registering it with the givenruntimeand limiting its interest to the provided message types. - build(Babel, NodeStore, BabelNode, BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelChannelBuilder
- build(Babel, NodeStore, BabelNode, BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannelBuilder
- build(Babel, NodeStore, BabelNode, BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannelBuilder
-
Builds the channel or returns a protocol-specific wrapper if the underlying channel has already been constructed.
- build(Babel, NodeStore, BabelNode, BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPBabelChannelBuilder
-
Creates a new
BabelChannelinstance, registering it with the givenruntimeand limiting its interest to the provided message types. - build(Babel, NodeStore, BabelNode, BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannelBuilder
-
Creates a new
BabelChannelinstance, registering it with the givenruntimeand limiting its interest to the provided message types. - build(Babel, NodeStore, BabelNode, BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannelBuilder
- builder() - Static method in class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelChannel
-
Creates a new builder for
InternalBabelChannel. - builder() - Static method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannel
-
Returns a new
LegacySimpleServerBabelChannelBuilderinstance. - builder() - Static method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
-
Creates a new, unconfigured
QUICBabelChannelBuilder. - builder() - Static method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPBabelChannel
-
Creates a new
TCPBabelChannelBuilderinstance for configuring aTCPBabelChannel. - builder() - Static method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannel
-
Creates a new
TLSBabelChannelBuilderinstance for configuring aTLSBabelChannel. - builder() - Static method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannel
-
Returns a new
UDPBabelChannelBuilderconfigured with default settings. - builder() - Static method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Entry to configure and start the runtime with default configs from
BabelBootstrap. - builder(int, int, int, int, int) - Static method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Entry to configure and start the runtime with given configs.
- buildQuicClientContext(CertGenerator.KeyMaterial) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a client-side
QuicSslContextwith defaultPeerIdentityTrustManagerand default "babel2" ALPN protocol. - buildQuicClientContext(CertGenerator.KeyMaterial, TrustManagerFactory, String) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a client-side
QuicSslContextfor QUIC channels with mutual TLS authentication. - buildQuicClientContext(CertGenerator.KeyMaterial, TrustManager, String) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a client-side
QuicSslContextusing aTrustManager. - buildQuicServerContext(CertGenerator.KeyMaterial) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a server-side
QuicSslContextwith defaultPeerIdentityTrustManagerand default "babel2" ALPN protocol. - buildQuicServerContext(CertGenerator.KeyMaterial, TrustManagerFactory, String) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a server-side
QuicSslContextfor QUIC channels with mutual TLS authentication. - buildQuicServerContext(CertGenerator.KeyMaterial, TrustManager, String) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a server-side
QuicSslContextusing aTrustManager. - buildTcpClientContext(CertGenerator.KeyMaterial) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a client-side Netty
SslContextwith defaultPeerIdentityTrustManager. - buildTcpClientContext(CertGenerator.KeyMaterial, TrustManagerFactory, String...) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a client-side Netty
SslContextfor TCP/TLS connections with mutual authentication. - buildTcpClientContext(CertGenerator.KeyMaterial, TrustManager, String...) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a client-side Netty
SslContextusing aTrustManager. - buildTcpServerContext(CertGenerator.KeyMaterial) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a server-side Netty
SslContextwith defaultPeerIdentityTrustManager. - buildTcpServerContext(CertGenerator.KeyMaterial, TrustManagerFactory, String...) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a server-side Netty
SslContextfor TCP/TLS connections with mutual authentication. - buildTcpServerContext(CertGenerator.KeyMaterial, TrustManager, String...) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Builds a server-side Netty
SslContextusing aTrustManager. - ByteArraySerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives
-
Binary serializer for
byte[]arrays. - ByteArraySerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.ByteArraySerializer
-
Constructs a new
ByteArraySerializer. - ByteSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.primtive
-
Binary serializer for
Bytevalues. - ByteSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.ByteSerializer
-
Constructs a new
ByteSerializer. - bytesToHex(byte[]) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Converts a byte array to its lowercase hexadecimal representation.
C
- cause() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutFailed
-
Returns the value of the
causerecord component. - cause() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionDownEvent
-
Returns the value of the
causerecord component. - cause() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionFailedEvent
-
Returns the value of the
causerecord component. - cause() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutFailedEvent
-
Returns the value of the
causerecord component. - CertGenerator - Class in pt.unl.fct.di.novasys.babel2.ssl
-
Generator for ephemeral X.509 certificates carrying a long-term peer identity extension.
- CertGenerator.KeyMaterial - Record Class in pt.unl.fct.di.novasys.babel2.ssl
-
Key material containing the ephemeral private key, the generated self-signed certificate, and the long-term identity public key.
- certificate() - Method in record class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator.KeyMaterial
-
Returns the value of the
certificaterecord component. - channel() - Method in record class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelNodeComponent
-
Returns the value of the
channelrecord component. - channel() - Method in record class pt.unl.fct.di.novasys.babel2.events.StartEvent
-
Returns the value of the
channelrecord component. - channelActive(ChannelHandlerContext) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeHandler
- channelInactive(ChannelHandlerContext) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerConnectionHandler
- ChannelInfo - Record Class in pt.unl.fct.di.novasys.babel2.protocols.discovery.messages
-
Record holding information about an active channel type and its bound socket address.
- ChannelInfo(String, InetSocketAddress) - Constructor for record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.ChannelInfo
-
Creates an instance of a
ChannelInforecord class. - ChannelInfoSerializer - Class in pt.unl.fct.di.novasys.babel2.protocols.discovery.serializers
-
Network serializer for
ChannelInforecords. - ChannelInfoSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.protocols.discovery.serializers.ChannelInfoSerializer
-
Constructs a new
ChannelInfoSerializer. - channelName() - Method in record class pt.unl.fct.di.novasys.babel2.channels.IPBabelNodeComponent
-
Returns the value of the
channelNamerecord component. - channelRead(ChannelHandlerContext, Object) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerConnectionHandler
- channelRead(ChannelHandlerContext, Object) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeHandler
- channelType() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.ChannelInfo
-
Returns the value of the
channelTyperecord component. - CharacterSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.primtive
-
Binary serializer for
Charactervalues. - CharacterSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.CharacterSerializer
-
Constructs a new
CharacterSerializer. - CharSequenceSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives
-
Binary serializer for UTF-8 encoded
CharSequenceinstances. - CharSequenceSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.CharSequenceSerializer
-
Constructs a new
CharSequenceSerializer. - checkClientTrusted(X509Certificate[], String) - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
- checkClientTrusted(X509Certificate[], String, Socket) - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
- checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
- checkServerTrusted(X509Certificate[], String) - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
- checkServerTrusted(X509Certificate[], String, Socket) - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
- checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
- compare(PublicKeyBabelNode, PublicKeyBabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.PublicKeyBabelNodeComparator
- components() - Method in interface pt.unl.fct.di.novasys.babel2.core.resolver.events.BabelNodeAnswer
-
Returns the components associated with the Babel node.
- ComposedBabelChannel - Class in pt.unl.fct.di.novasys.babel2.channels
-
A
BabelChannelthat composes many underlying channels. - ComposedBabelChannel(Babel, BabelChannel...) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.ComposedBabelChannel
-
Creates a new ComposedBabelChannel from the given channels.
- computePeerId(PublicKey) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Computes the hex-encoded SHA-256 peer ID for a given public key.
- computeSha256(byte[]) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Computes the SHA-256 digest of the given data.
- connect(BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.channels.BabelChannel
-
Connect to another Babel runtime.
- connect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.ComposedBabelChannel
- connect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelChannel
- connect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannel
- connect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
-
Initiates a connection to the specified peer.
- connect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Initiates a TCP connection to the specified peer node.
- connect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannel
- connectionDown(BabelNode, Throwable) - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocol
-
Invoked when a previously established connection to
peerhas been closed, either locally or remotely. - ConnectionDownEvent - Record Class in pt.unl.fct.di.novasys.babel2.events
-
NetworkEventdelivered to a protocol when a previously established connection tonodehas been closed. - ConnectionDownEvent(BabelNode, Throwable) - Constructor for record class pt.unl.fct.di.novasys.babel2.events.ConnectionDownEvent
-
Creates an instance of a
ConnectionDownEventrecord class. - connectionFailed(BabelNode, Throwable) - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocol
-
Invoked when an outgoing connection attempt to
peerfailed before a connection could be established. - ConnectionFailedEvent - Record Class in pt.unl.fct.di.novasys.babel2.events
-
NetworkEventdelivered to a protocol when an outgoing connection attempt tonodefailed before the connection could be established. - ConnectionFailedEvent(BabelNode, Throwable) - Constructor for record class pt.unl.fct.di.novasys.babel2.events.ConnectionFailedEvent
-
Creates an instance of a
ConnectionFailedEventrecord class. - connectionUp(BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocol
-
Invoked when an outgoing connection to
peerhas been established successfully through the protocol's assignedBabelChannel. - ConnectionUpEvent - Record Class in pt.unl.fct.di.novasys.babel2.events
-
NetworkEventdelivered to a protocol when an outgoing connection tonodehas been successfully established on the protocol's channel. - ConnectionUpEvent(BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.events.ConnectionUpEvent
-
Creates an instance of a
ConnectionUpEventrecord class. - CONTROL_MAGIC_NUMBER - Static variable in interface pt.unl.fct.di.novasys.babel2.channels.legacy.messages.ControlMessage
-
Magic number used to identify legacy control protocol frames.
- CONTROL_MAGIC_NUMBER - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeCodec
-
Magic number expected in legacy control message payloads.
- CONTROL_MESSAGE_CODE - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeCodec
-
Discriminant byte identifying legacy control frames.
- ControlMessage - Interface in pt.unl.fct.di.novasys.babel2.channels.legacy.messages
-
Interface representing legacy control and handshake messages exchanged over legacy channels.
- createClientBootstrap(Babel, NodeStore, EventLoopGroup, int, boolean, AbstractTCPBabelChannel.TCPBabelChannelAuthMode, Set) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Creates and configures the Netty client
Bootstrapfor initiating outbound connections. - createClientBootstrap(Babel, NodeStore, EventLoopGroup, int, boolean, AbstractTCPBabelChannel.TCPBabelChannelAuthMode, Set) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPBabelChannel
- createClientBootstrap(Babel, NodeStore, EventLoopGroup, int, boolean, AbstractTCPBabelChannel.TCPBabelChannelAuthMode, Set) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannel
- createHandler(Method, MethodHandles.Lookup, Class, Class, String, Class[], Class[]) - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
-
Creates a typed functional-interface handler for the given method using
LambdaMetafactory. - createHandler(Method, MethodHandles.Lookup, Class, Class, String, Class[], Class[]) - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolder
-
Creates a typed functional handler instance by binding the specified protocol method via
LambdaMetafactory. - createInstance(Properties) - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolFactory
-
Creates a new protocol instance using the supplied configuration properties.
- createInstance(BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastConsumerExtensionFactory
- createInstance(BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastProviderExtensionFactory
- createInstance(BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.core.membership.MembershipConsumerExtensionFactory
- createInstance(BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.core.membership.MembershipProviderExtensionFactory
- createInstance(BabelProtocol) - Method in interface pt.unl.fct.di.novasys.babel2.core.ProtocolExtensionFactory
-
Creates a new instance of the protocol extension.
- createInstance(BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.core.resolver.ResolverProvideExtensionFactory
- createInstance(BabelProtocol) - Method in class pt.unl.fct.di.novasys.babel2.core.signed.SignedMessageExtensionFactory
- createInstance(BabelProtocol, Set) - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolderFactory
-
Creates a new
BabelProtocolHolderwrapping the given protocol and extensions. - createInstance(BabelProtocol, Set) - Method in class pt.unl.fct.di.novasys.babel2.core.DedicatedExecutorProtocolHolderFactory
- createInstance(BabelProtocol, Set) - Method in class pt.unl.fct.di.novasys.babel2.core.NettyExecutorProtocolHolderFactory
- createInstance(BabelProtocol, Set) - Method in class pt.unl.fct.di.novasys.babel2.core.SharedExecutorProtocolHolderFactory
- createLoopGroup() - Static method in class pt.unl.fct.di.novasys.babel2.channels.utils.BabelIpUtils
-
Creates a new Netty
EventLoopGroupusing the platform-optimized I/O handler with the default thread count. - createLoopGroup(int) - Static method in class pt.unl.fct.di.novasys.babel2.channels.utils.BabelIpUtils
-
Creates a new Netty
EventLoopGroupusing the platform-optimized I/O handler with the specified thread count. - createServerSocketChannel(Babel, NodeStore, InetSocketAddress, EventLoopGroup, int, boolean, AbstractTCPBabelChannel.TCPBabelChannelAuthMode, Set) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Creates and binds the Netty
ServerSocketChannelfor accepting incoming connections. - createServerSocketChannel(Babel, NodeStore, InetSocketAddress, EventLoopGroup, int, boolean, AbstractTCPBabelChannel.TCPBabelChannelAuthMode, Set) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPBabelChannel
- createServerSocketChannel(Babel, NodeStore, InetSocketAddress, EventLoopGroup, int, boolean, AbstractTCPBabelChannel.TCPBabelChannelAuthMode, Set) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannel
- CryptoUtils - Class in pt.unl.fct.di.novasys.babel2.utils
-
Cryptographic utility methods used by the Babel framework for node key generation and identity management.
D
- 1. Define a Network Message - Section in Overview
- DATAGRAM_CHANNEL_CLASS - Static variable in class pt.unl.fct.di.novasys.babel2.channels.utils.BabelIpUtils
-
Datagram channel class selected for the current OS (epoll / kqueue / NIO).
- decode(ChannelHandlerContext, ByteBuf, List) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeCodec
- decode(ChannelHandlerContext, ByteBuf, List) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPMixedBabelSocketCodec
- DedicatedExecutorProtocolHolder - Class in pt.unl.fct.di.novasys.babel2.core
-
A
BabelProtocolHolderimplementation that runs the protocol on a dedicated, single-threaded executor using a lock-freeMpscArrayQueue. - DedicatedExecutorProtocolHolder(BabelProtocol, Set, ExecutorService, int) - Constructor for class pt.unl.fct.di.novasys.babel2.core.DedicatedExecutorProtocolHolder
-
Constructs a holder with a dedicated executor and bounded event queue.
- DedicatedExecutorProtocolHolderFactory - Class in pt.unl.fct.di.novasys.babel2.core
-
Factory for creating
DedicatedExecutorProtocolHolderinstances. - DedicatedExecutorProtocolHolderFactory(int) - Constructor for class pt.unl.fct.di.novasys.babel2.core.DedicatedExecutorProtocolHolderFactory
-
Constructs a factory with the specified maximum queue capacity per protocol.
- DEFAULT_APPLICATION_PROTOCOL - Static variable in class pt.unl.fct.di.novasys.babel2.ssl.BabelSslContextHelper
-
Default ALPN application protocol identifier for Babel 2.
- DEFAULT_CONNECTION_UP_DELAY - Static variable in class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Default delay in milliseconds before dispatching connection-up notifications.
- DEFAULT_CONNECTION_UP_DELAY - Static variable in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
-
Default delay before delivering a connection up event to allow state settling.
- DEFAULT_CONNECTION_UP_DELAY - Static variable in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Default delay before delivering a connection up event to allow state settling.
- DEFAULT_CONNECTION_UP_DELAY_UNIT - Static variable in class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Default time unit for
AbstractIPBabelChannelBuilder.DEFAULT_CONNECTION_UP_DELAY. - DEFAULT_CONNECTION_UP_DELAY_UNIT - Static variable in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
-
Default time unit for
QUICBabelChannel.DEFAULT_CONNECTION_UP_DELAY. - DEFAULT_CONNECTION_UP_DELAY_UNIT - Static variable in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Default time unit for
AbstractTCPBabelChannel.DEFAULT_CONNECTION_UP_DELAY. - DEFAULT_KEY_ALGORITHM - Static variable in class pt.unl.fct.di.novasys.babel2.utils.CryptoUtils
-
The default asymmetric digital signature algorithm ("Ed25519") used for Babel node cryptographic keys.
- DEFAULT_NUMBER_OF_AWAITS - Static variable in class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
-
Default initial capacity for awaiting callbacks.
- DEFAULT_NUMBER_OF_CHANNELS - Static variable in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Default expected number of channels used to size internal structures.
- DEFAULT_NUMBER_OF_COMPONENTS - Static variable in class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
-
Default initial capacity for components per node.
- DEFAULT_NUMBER_OF_CONNECTIONS - Static variable in class pt.unl.fct.di.novasys.babel2.channels.AbstractBabelChannelBuilder
-
Default number of connections to expect when initializing the channel.
- DEFAULT_NUMBER_OF_EVENTS - Static variable in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Default expected number of distinct event types used to size internal maps.
- DEFAULT_NUMBER_OF_EXTENSIONS - Static variable in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Default expected number of protocol extensions used to size internal maps.
- DEFAULT_NUMBER_OF_MESSAGES - Static variable in class pt.unl.fct.di.novasys.babel2.channels.AbstractBabelChannelBuilder
-
Default number of message types expected by this channel.
- DEFAULT_NUMBER_OF_MESSAGES - Static variable in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Default expected number of distinct message types used to size internal maps.
- DEFAULT_NUMBER_OF_NODES - Static variable in class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
-
Default initial capacity for the node mappings.
- DEFAULT_NUMBER_OF_PROTOCOLS - Static variable in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Default expected number of protocols used to size internal maps.
- DefaultNodeStore - Class in pt.unl.fct.di.novasys.babel2.channels
-
Default implementation of
NodeStoreusing concurrent collections. - DefaultNodeStore() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
-
Creates a DefaultNodeStore with default expected capacities and default ordering.
- DefaultNodeStore(int) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
-
Creates a DefaultNodeStore with the specified expected number of nodes and default ordering.
- DefaultNodeStore(int, int) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
-
Creates a DefaultNodeStore with the specified expected number of nodes and awaits, using default ordering.
- DefaultNodeStore(int, int, Comparator) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
-
Creates a DefaultNodeStore with the specified expected number of nodes, awaits, and component comparator.
- DefaultNodeStore(int, Comparator) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
-
Creates a DefaultNodeStore with the specified expected number of nodes and component comparator.
- DefaultNodeStore(Comparator) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
-
Creates a DefaultNodeStore with default expected capacities and the specified component comparator.
- delayedNetworkEvent(BabelChannel, NetworkEvent, long, TimeUnit) - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Schedules a
NetworkEventoriginating from the givenBabelChannelto be delivered to all interested registered protocols after a specified delay. - deliverEvent(BabelEvent) - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolder
-
Enqueues or delivers an event to the underlying protocol.
- deliverEvent(BabelEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.DedicatedExecutorProtocolHolder
- deliverEvent(BabelEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.NettyExecutorProtocolHolder
- deliverEvent(BabelEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.SharedExecutorProtocolHolder
- deliverEvent(ProtocolEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Dispatches a
ProtocolEventto all registered protocol holders that have expressed interest in that event type. - deliverEvent(ProtocolEvent, Class) - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Distributes a
ProtocolEventto all protocols that are instances ofprotocolClassregistered with an interest in the event. - deliverInMessage(MessageInEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Dispatches an inbound message event to all protocol holders that registered a handler for the contained message type.
- deliverMessage(Babel, BabelMessage, BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastProviderBabelProtocol
-
Delivers a broadcast-received message to all local consumer protocols by dispatching a
BroadcastDeliverEventthrough the runtime. - deliverNetworkEvent(BabelChannel, NetworkEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Delivers a network event that happened in the given
BabelChannel - deliverOutFailedMessage(MessageOutFailedEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Dispatches a failed outbound message event to all protocol holders that registered an
@UponMessageOutFailedhandler for the message type. - deliverOutSuccessMessage(MessageOutSuccessEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Dispatches a successful outbound message event to all protocol holders that registered an
@UponMessageOutSuccesshandler for the message type. - deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.BasicSignedBabelMessageSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.AsciiStringSerializer
- deserialize(ByteBuf, NodeStore) - Method in interface pt.unl.fct.di.novasys.babel2.channels.serializers.BabelNetworkSerializer
-
Reads an instance of
Tfrom the supplied buffer. - deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.BabelMessageSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeComponentSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.IPBabelNodeComponentSerialiazer
-
Reads a
IPBabelNodeComponentfrom the buffer. - deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.PublicKeyBabelNodeSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.ArraySerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.ListSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.MapSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.BooleanArraySerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.ByteArraySerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.CharSequenceSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.DoubleArraySerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.FloatArraySerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.IntArraySerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.LongArraySerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.ShortArraySerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SetSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SortedMapSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SortedSetSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.InetSocketAddressSerializer
-
Reads an
InetSocketAddressfrom the buffer. - deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.BooleanSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.ByteSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.CharacterSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.DoubleSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.FloatSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.IntegerSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.LongSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.ShortSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.StringSerializer
- deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.UUIDSerializer
-
Reads a
UUIDfrom the buffer by consuming 16 bytes (two longs). - deserialize(ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.protocols.discovery.serializers.ChannelInfoSerializer
- disconnect(BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.channels.BabelChannel
-
Closes the connection to
peer. - disconnect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.ComposedBabelChannel
- disconnect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelChannel
- disconnect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannel
- disconnect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
-
Closes the connection to
peer. - disconnect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Disconnects the active TCP connection to the specified peer.
- disconnect(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannel
- DiscoveryMessage - Record Class in pt.unl.fct.di.novasys.babel2.channels.messages
-
Message broadcast across local networks to announce a node's presence and supported protocol names.
- DiscoveryMessage(BabelNode, List) - Constructor for record class pt.unl.fct.di.novasys.babel2.channels.messages.DiscoveryMessage
-
Creates an instance of a
DiscoveryMessagerecord class. - DoubleArraySerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives
-
Binary serializer for
double[]primitive arrays. - DoubleArraySerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.DoubleArraySerializer
-
Constructs a new
DoubleArraySerializer. - DoubleSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.primtive
-
Binary serializer for
Doublevalues. - DoubleSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.DoubleSerializer
-
Constructs a new
DoubleSerializer.
E
- encode(ChannelHandlerContext, BabelMessage, ByteBuf) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPMixedBabelSocketCodec
- encode(ChannelHandlerContext, ControlMessage, ByteBuf) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeCodec
- engineGetTrustManagers() - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManagerFactory
- engineInit(KeyStore) - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManagerFactory
- engineInit(ManagerFactoryParameters) - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManagerFactory
- ephemeralKey() - Method in record class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator.KeyMaterial
-
Returns the value of the
ephemeralKeyrecord component. - equals(Object) - Method in class pt.unl.fct.di.novasys.babel2.channels.SignedBabelMessage
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelNodeComponent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.channels.IPBabelNodeComponent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.FirstHandshakeSimpleClientMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.DiscoveryMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.HandshakeMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.KeepAliveMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.channels.PublicKeyBabelNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.channels.udp.AddressedBabelMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastDeliverEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.IPBabelNodeIdentity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.AskNeighbourSet
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourDown
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourSet
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourUp
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.resolver.events.BabelNodeProbe
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageIn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutSuccess
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionDownEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionFailedEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionUpEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageInEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutFailedEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutSuccessEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.events.StartEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeAnswer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeProbeMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.ChannelInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator.KeyMaterial
-
Indicates whether some other object is "equal to" this one.
- EventHandler<T> - Interface in pt.unl.fct.di.novasys.babel2.handlers
-
Functional interface for handling a
ProtocolEvent. - eventHandlers() - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
- eventHandlers() - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolder
-
Returns the mapping of handled
ProtocolEventclasses to their compiled event handlers. - eventsClass() - Method in class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastConsumerExtension
- eventsClass() - Method in class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastProviderExtension
-
Returns an empty list because this extension does not declare any method annotations.
- eventsClass() - Method in class pt.unl.fct.di.novasys.babel2.core.membership.MembershipConsumerExtension
- eventsClass() - Method in class pt.unl.fct.di.novasys.babel2.core.membership.MembershipProviderExtension
- eventsClass() - Method in interface pt.unl.fct.di.novasys.babel2.core.ProtocolExtension
-
Returns the set of
ProtocolEventtypes that this extension handles. - eventsClass() - Method in class pt.unl.fct.di.novasys.babel2.core.resolver.ResolverProviderExtension
- eventsClass() - Method in class pt.unl.fct.di.novasys.babel2.core.signed.SignedMessageExtension
- exceptionCaught(ChannelHandlerContext, Throwable) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerConnectionHandler
- EXPECTED_PEER - Static variable in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
-
Netty attribute key storing the target
BabelNodeon client channels during connection setup. - EXPECTED_PEER - Static variable in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Netty channel attribute key storing the expected remote peer node identity for outbound connections.
F
- FirstHandshakeSimpleClientMessage - Record Class in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages
-
Initial handshake message sent by a legacy simple client containing its client magic number.
- FirstHandshakeSimpleClientMessage(int) - Constructor for record class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.FirstHandshakeSimpleClientMessage
-
Creates an instance of a
FirstHandshakeSimpleClientMessagerecord class. - FloatArraySerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives
-
Binary serializer for
float[]primitive arrays. - FloatArraySerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.FloatArraySerializer
-
Constructs a new
FloatArraySerializer. - FloatSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.primtive
-
Binary serializer for
Floatvalues. - FloatSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.FloatSerializer
-
Constructs a new
FloatSerializer. - FULL_AUTH - Enum constant in enum class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel.TCPBabelChannelAuthMode
-
Only
SignedBabelMessageinstances are allowed; unsigned messages are rejected. - FullSignedBabelMessageSerializer<T> - Class in pt.unl.fct.di.novasys.babel2.channels
-
Extended serializer for
SignedBabelMessageinstances capable of both signing outgoing messages and forwarding already-signed messages. - FullSignedBabelMessageSerializer(PrivateKey, BabelNode, BabelNetworkMessageSerializer) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.FullSignedBabelMessageSerializer
-
Constructs a full signed message serializer with explicit private key and local node identity.
- FullSignedBabelMessageSerializer(BabelNetworkMessageSerializer, Babel) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.FullSignedBabelMessageSerializer
-
Constructs a full signed message serializer by extracting the private key and local identity from the active
Babelruntime.
G
- GeneralBabelNodeComponentSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes
-
General serializer for polymorphic
BabelNodeComponentinstances. - GeneralBabelNodeComponentSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeComponentSerializer
-
Constructs a new
GeneralBabelNodeComponentSerializer. - GeneralBabelNodeSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes
-
General serializer for polymorphic
BabelNodeinstances. - GeneralBabelNodeSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeSerializer
-
Constructs a new
GeneralBabelNodeSerializer. - generate() - Static method in class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator
-
Generates an ephemeral key pair and self-signed certificate using a newly created identity key pair.
- generate(KeyPair) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator
-
Generates an ephemeral EC key pair and a self-signed certificate embedding the given long-term identity public key and its signature over the ephemeral key.
- generateIdentityKeyPair() - Static method in class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator
-
Generates a new long-term identity key pair defined by
CryptoUtils.DEFAULT_KEY_ALGORITHM. - generateKeyPair() - Static method in class pt.unl.fct.di.novasys.babel2.utils.CryptoUtils
- getAcceptedIssuers() - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
- getBindingAddress() - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Returns the currently configured binding address.
- getBindingAddress() - Method in interface pt.unl.fct.di.novasys.babel2.channels.IPBabelChannel
-
Returns the local IP socket address to which this channel is bound.
- getBindingAddress() - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannel
- getBindingAddress() - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
- getBindingAddress() - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Returns the local socket address to which the server socket channel is bound.
- getBindingAddress() - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannel
- getChannel() - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractBabelChannelBuilder
-
Returns the channel instance created by this builder, or
nullif not yet built. - getComponentsOfType(BabelNode, Class) - Method in class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
- getComponentsOfType(BabelNode, Class) - Method in interface pt.unl.fct.di.novasys.babel2.channels.NodeStore
-
Gets all components of a specific type (e.g., IPBabelNodeComponent.class) attached to a node.
- getConcreteChannel(Class) - Method in class pt.unl.fct.di.novasys.babel2.channels.ComposedBabelChannel
-
Gets all concrete channels of the specified type from the composed channels.
- getConnectionUpDelay() - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Returns the configured connection up delay value.
- getConnectionUpDelayUnit() - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Returns the time unit of the connection up delay.
- getCreatedInstance() - Method in class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelChannelBuilder
-
Returns the
InternalBabelChannelpreviously created byInternalBabelChannelBuilder.build(Babel, NodeStore, BabelNode, BabelProtocol). - getDefaultComparator() - Static method in record class pt.unl.fct.di.novasys.babel2.channels.PublicKeyBabelNode
-
Returns the singleton comparator for ordering
PublicKeyBabelNodeinstances. - getEstimateSize(boolean[]) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.BooleanArraySerializer
- getEstimateSize(byte[]) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.ByteArraySerializer
- getEstimateSize(double[]) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.DoubleArraySerializer
- getEstimateSize(float[]) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.FloatArraySerializer
- getEstimateSize(int[]) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.IntArraySerializer
- getEstimateSize(long[]) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.LongArraySerializer
- getEstimateSize(short[]) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.ShortArraySerializer
- getEstimateSize(AsciiString) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.AsciiStringSerializer
- getEstimateSize(Boolean) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.BooleanSerializer
- getEstimateSize(Byte) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.ByteSerializer
- getEstimateSize(Character) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.CharacterSerializer
- getEstimateSize(CharSequence) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.CharSequenceSerializer
- getEstimateSize(Double) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.DoubleSerializer
- getEstimateSize(Float) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.FloatSerializer
- getEstimateSize(Integer) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.IntegerSerializer
- getEstimateSize(Long) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.LongSerializer
- getEstimateSize(Short) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.ShortSerializer
- getEstimateSize(String) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.StringSerializer
- getEstimateSize(InetSocketAddress) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.InetSocketAddressSerializer
- getEstimateSize(List) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.ListSerializer
- getEstimateSize(Map) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.MapSerializer
- getEstimateSize(Set) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SetSerializer
- getEstimateSize(SortedMap) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SortedMapSerializer
- getEstimateSize(SortedSet) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SortedSetSerializer
- getEstimateSize(BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.BabelMessageSerializer
- getEstimateSize(BabelNodeComponent) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeComponentSerializer
- getEstimateSize(IPBabelNodeComponent) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.IPBabelNodeComponentSerialiazer
- getEstimateSize(PublicKeyBabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.PublicKeyBabelNodeSerializer
- getEstimateSize(SignedBabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.BasicSignedBabelMessageSerializer
- getEstimateSize(BabelNode, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeSerializer
- getEstimateSize(ChannelInfo, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.protocols.discovery.serializers.ChannelInfoSerializer
- getEstimateSize(T) - Method in interface pt.unl.fct.di.novasys.babel2.channels.serializers.BabelNetworkSerializer
-
Returns an estimated size in bytes for the given object.
- getEstimateSize(T[]) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.ArraySerializer
- getEstimateSize(T, NodeStore) - Method in interface pt.unl.fct.di.novasys.babel2.channels.serializers.BabelNetworkSerializer
-
Returns a size estimate to fit the entire object in a
ByteBufwithout needing resizes. - getEventLoopGroup() - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Returns the configured event loop group, initializing a default one via
BabelIpUtils.createLoopGroup()if none has been set. - getFirstTypeArgument(Method, int) - Static method in class pt.unl.fct.di.novasys.babel2.core.signed.SignedMessageExtension
-
Extracts the first generic type argument of the parameter at the specified index.
- getId() - Method in class pt.unl.fct.di.novasys.babel2.channels.BasicSignedBabelMessageSerializer
- getId() - Method in interface pt.unl.fct.di.novasys.babel2.channels.serializers.BabelNetworkMessageSerializer
-
Returns the unique numeric identifier for the message type handled by this serializer.
- getId() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.BabelMessageSerializer
- getInner() - Method in interface pt.unl.fct.di.novasys.babel2.channels.BabelChannel
-
Gets this channel or returns the inner channel if this instance is a wrapper.
- getInnerProtocol() - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
- getInnerProtocol() - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolder
-
Returns the underlying protocol instance managed by this holder.
- getInnerSerializer() - Method in class pt.unl.fct.di.novasys.babel2.channels.BasicSignedBabelMessageSerializer
-
Returns the delegate serializer responsible for the inner message.
- getKey() - Method in class pt.unl.fct.di.novasys.babel2.channels.FullSignedBabelMessageSerializer
-
Returns the private key used by this serializer to compute digital signatures.
- getKeys() - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Returns the private and public keys associated with this Babel instance
- getMessageSerializerByClass(Class) - Static method in class pt.unl.fct.di.novasys.babel2.channels.serializers.SerializerRegistry
-
Looks up the
BabelNetworkMessageSerializerregistered for the given message class. - getMessageSerializerById(int) - Static method in class pt.unl.fct.di.novasys.babel2.channels.serializers.SerializerRegistry
-
Looks up the
BabelNetworkMessageSerializerregistered for the given message ID. - getMyself() - Method in class pt.unl.fct.di.novasys.babel2.channels.FullSignedBabelMessageSerializer
-
Returns the local node identity attached as the sender on outgoing messages.
- getMyself() - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Returns the node identity of this Babel instance.
- getNeighbours(Class) - Method in interface pt.unl.fct.di.novasys.babel2.core.membership.MembershipProviderBabelProtocol
-
Called by the
MembershipProviderExtensionwhen a consumer protocol requests the current neighbour set viaMembershipConsumerBabelProtocol.askNeighbourSet(Babel). - getNumberOfConnections() - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractBabelChannelBuilder
-
Gets the expected number of connections set in this builder.
- getNumberOfMessages() - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractBabelChannelBuilder
-
Gets the expected number of messages set in this builder.
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.BasicSignedBabelMessageSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.AsciiStringSerializer
- getObjectClass() - Method in interface pt.unl.fct.di.novasys.babel2.channels.serializers.BabelNetworkSerializer
-
Returns the class of objects handled by this serializer, used for registry lookup.
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.BabelMessageSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeComponentSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.IPBabelNodeComponentSerialiazer
-
Returns
BabelNode.class, which is the type key used bySerializerRegistryto locate this serializer when encoding or decodingBabelNodefields in generated message serializers. - getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.PublicKeyBabelNodeSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.ArraySerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.ListSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.MapSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.BooleanArraySerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.ByteArraySerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.CharSequenceSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.DoubleArraySerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.FloatArraySerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.IntArraySerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.LongArraySerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.ShortArraySerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SetSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SortedMapSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SortedSetSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.InetSocketAddressSerializer
-
Returns
BabelNode.class, which is the type key used bySerializerRegistryto locate this serializer when encoding or decodingBabelNodefields in generated message serializers. - getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.BooleanSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.ByteSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.CharacterSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.DoubleSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.FloatSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.IntegerSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.LongSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.ShortSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.StringSerializer
- getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.UUIDSerializer
-
Returns
UUID.class, which is the type key used bySerializerRegistryto locate this serializer when encoding or decoding UUID fields in generated message serializers. - getObjectClass() - Method in class pt.unl.fct.di.novasys.babel2.protocols.discovery.serializers.ChannelInfoSerializer
- getPeerId(SSLSession) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Extracts the authenticated peer ID string from an active
SSLSession, if present. - getPeerIdentity(SSLSession) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Extracts the authenticated peer
PublicKeyfrom an activeSSLSession, if present. - getPermittedNodes() - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Returns the set of permitted nodes for this channel, or
nullif all nodes are permitted. - getSerializerByClass(Class) - Static method in class pt.unl.fct.di.novasys.babel2.channels.serializers.SerializerRegistry
-
Looks up the
BabelNetworkSerializerregistered for the given object class. - getSerializersMap(Set) - Static method in class pt.unl.fct.di.novasys.babel2.channels.utils.BabelIpUtils
-
Builds a fast map from message-type IDs to their serializers for the given set of interested message classes.
- getSignatureAlgorithm(String) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator
-
Resolves the appropriate signature algorithm corresponding to a private or public key algorithm.
- getSignedBabelMessageSerializerByClass(Class) - Static method in class pt.unl.fct.di.novasys.babel2.channels.serializers.SerializerRegistry
-
Looks up the
BasicSignedBabelMessageSerializerregistered for the given message class. - getSignedBabelMessageSerializerById(int) - Static method in class pt.unl.fct.di.novasys.babel2.channels.serializers.SerializerRegistry
-
Looks up the
BasicSignedBabelMessageSerializerregistered for the given message ID. - getSignedMessageSerializerById(int) - Static method in class pt.unl.fct.di.novasys.babel2.channels.serializers.SerializerRegistry
-
Looks up the
BasicSignedBabelMessageSerializerregistered for the given message ID. - getTypeInt() - Method in interface pt.unl.fct.di.novasys.babel2.channels.legacy.messages.ControlMessage
-
Returns the integer type identifier of this control message.
- getTypeInt() - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.messages.HeartbeatMessage
- getTypeInt() - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.messages.InvalidAttributesMessage
- getTypeInt() - Method in record class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.FirstHandshakeSimpleClientMessage
- getTypeInt() - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.SecondHandshakeSimpleServerMessage
- getTypeInt() - Method in interface pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.BabelNodeComponentSerializer
-
Returns the unique integer identifier assigned to this component type.
- getTypeInt() - Method in interface pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.BabelNodeSerializer
-
Returns the unique integer identifier assigned to this node identity type.
- getTypeInt() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.IPBabelNodeComponentSerialiazer
- getTypeInt() - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.PublicKeyBabelNodeSerializer
H
- handleDeliver(T, BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.handlers.BroadcastDeliverHandler
-
Handles a broadcast-delivered message.
- handleEvent(ProtocolEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastConsumerExtension
- handleEvent(ProtocolEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastProviderExtension
-
Handles a
BroadcastRequestby forwarding the contained message toBroadcastProviderBabelProtocol.uponBroadcastRequest(BabelMessage). - handleEvent(ProtocolEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.membership.MembershipConsumerExtension
-
Dispatches a membership event to the appropriate callback on the consumer protocol.
- handleEvent(ProtocolEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.membership.MembershipProviderExtension
-
Handles an
AskNeighbourSetevent by callingMembershipProviderBabelProtocol.getNeighbours(Class)on the provider. - handleEvent(ProtocolEvent) - Method in interface pt.unl.fct.di.novasys.babel2.core.ProtocolExtension
-
Dispatches a
ProtocolEventthat was previously claimed by this extension (because its type is listed inProtocolExtension.eventsClass()). - handleEvent(ProtocolEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.resolver.ResolverProviderExtension
- handleEvent(ProtocolEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.signed.SignedMessageExtension
- handleEvent(T) - Method in interface pt.unl.fct.di.novasys.babel2.handlers.EventHandler
-
Handles the given event.
- handleMessage(T, BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.handlers.MessageInHandler
-
Handles an inbound message from a remote node.
- handleMessage(T, BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.handlers.MessageOutSuccessHandler
-
Handles the confirmation that a message was successfully sent.
- handleMessage(T, BabelNode, Throwable) - Method in interface pt.unl.fct.di.novasys.babel2.handlers.MessageOutFailedHandler
-
Handles a send failure for an outbound message.
- HANDLER_METHOD_NAME - Static variable in interface pt.unl.fct.di.novasys.babel2.handlers.BroadcastDeliverHandler
-
The name of the functional method.
- HANDLER_METHOD_NAME - Static variable in interface pt.unl.fct.di.novasys.babel2.handlers.EventHandler
-
The name of the functional method.
- HANDLER_METHOD_NAME - Static variable in interface pt.unl.fct.di.novasys.babel2.handlers.MessageInHandler
-
The name of the functional method.
- HANDLER_METHOD_NAME - Static variable in interface pt.unl.fct.di.novasys.babel2.handlers.MessageOutFailedHandler
-
The name of the functional method.
- HANDLER_METHOD_NAME - Static variable in interface pt.unl.fct.di.novasys.babel2.handlers.MessageOutSuccessHandler
-
The name of the functional method.
- HANDSHAKE_CODEC_NAME - Static variable in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Name of the handshake codec handler in the Netty pipeline.
- HANDSHAKE_HANDLER_NAME - Static variable in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Name of the handshake handler in the Netty pipeline.
- HandshakeMessage - Record Class in pt.unl.fct.di.novasys.babel2.channels.messages
-
Immutable record exchanged as the very first message on a newly established TCP or QUIC connection to identify both endpoints to each other.
- HandshakeMessage(BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.channels.messages.HandshakeMessage
-
Creates an instance of a
HandshakeMessagerecord class. - hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelNodeComponent
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.channels.IPBabelNodeComponent
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.FirstHandshakeSimpleClientMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.DiscoveryMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.HandshakeMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.KeepAliveMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.channels.PublicKeyBabelNode
-
Returns a hash code value for this object.
- hashCode() - Method in class pt.unl.fct.di.novasys.babel2.channels.SignedBabelMessage
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.channels.udp.AddressedBabelMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastDeliverEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.IPBabelNodeIdentity
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.AskNeighbourSet
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourDown
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourSet
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourUp
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.resolver.events.BabelNodeProbe
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageIn
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutSuccess
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionDownEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionFailedEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionUpEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageInEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutFailedEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutSuccessEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.events.StartEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeAnswer
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeProbeMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.ChannelInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator.KeyMaterial
-
Returns a hash code value for this object.
- HeartbeatMessage - Class in pt.unl.fct.di.novasys.babel2.channels.legacy.messages
-
Periodic heartbeat message exchanged to maintain legacy connection liveness.
- holdsProtocol(Class) - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
- holdsProtocol(Class) - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolder
-
Returns whether this holder manages a protocol that is an instance of or assignable to the given protocol class.
I
- 2. Implement a Protocol - Section in Overview
- id() - Element in annotation interface pt.unl.fct.di.novasys.babel2.channels.BabelIPMessage
-
The unique integer identifier for this message type.
- identity() - Method in record class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelNodeComponent
-
Returns the value of the
identityrecord component. - identity() - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.DiscoveryMessage
-
Returns the value of the
identityrecord component. - identity() - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.HandshakeMessage
-
Returns the value of the
identityrecord component. - identity() - Method in record class pt.unl.fct.di.novasys.babel2.channels.PublicKeyBabelNode
-
Returns the value of the
identityrecord component. - identityPublicKey() - Method in record class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator.KeyMaterial
-
Returns the value of the
identityPublicKeyrecord component. - InetSocketAddressSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers
-
Serializer for
InetSocketAddressinstances, supporting both IPv4 (4 bytes) and IPv6 (16 bytes) addresses along with a 4-byte port number. - InetSocketAddressSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.InetSocketAddressSerializer
-
Constructs a new
InetSocketAddressSerializer. - init() - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Starts the runtime by delivering a
StartEventto each registered protocol and scheduling the initial queue drain. - init(InetSocketAddress, EventLoopGroup, int, boolean, AbstractTCPBabelChannel.TCPBabelChannelAuthMode) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Initializes the server channel and client bootstrap by invoking the subclass-defined channel and bootstrap factory methods using the configured permitted nodes.
- init(ProcessingEnvironment) - Method in class pt.unl.fct.di.novasys.babel2.channels.MessageProcessor
- init(Babel, ComposedBabelChannel) - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocol
-
Initiates the protocol's logic and execution.
- init(Babel, ComposedBabelChannel) - Method in class pt.unl.fct.di.novasys.babel2.protocols.discovery.LocalNetworkDiscoveryProtocol
- innerMessage() - Method in class pt.unl.fct.di.novasys.babel2.channels.SignedBabelMessage
-
Returns the encapsulated inner message payload.
- INSTANCE - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.messages.HeartbeatMessage
-
Singleton instance of
HeartbeatMessage. - INSTANCE - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.messages.InvalidAttributesMessage
-
Singleton instance of
InvalidAttributesMessage. - INSTANCE - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.SecondHandshakeSimpleServerMessage
-
Singleton instance of
SecondHandshakeSimpleServerMessage. - INSTANCE - Static variable in record class pt.unl.fct.di.novasys.babel2.channels.messages.KeepAliveMessage
-
Shared singleton instance; always use this instead of creating new objects.
- INSTANCE - Static variable in class pt.unl.fct.di.novasys.babel2.channels.PublicKeyBabelNodeComparator
-
Singleton comparator instance.
- INSTANCE - Static variable in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeSerializer
-
Singleton instance of
GeneralBabelNodeSerializer. - IntArraySerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives
-
Binary serializer for
int[]primitive arrays. - IntArraySerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.IntArraySerializer
-
Constructs a new
IntArraySerializer. - IntegerSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.primtive
-
Binary serializer for
Integervalues. - IntegerSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.IntegerSerializer
-
Constructs a new
IntegerSerializer. - interestedEvents() - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
- interestedEvents() - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolder
-
Returns the set of
ProtocolEventclasses that this protocol has registered interest in. - interestedInMessages() - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
- interestedInMessages() - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolder
-
Returns the set of
BabelMessageclasses that this protocol is interested in receiving. - interestedOutFailedMessages() - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
- interestedOutFailedMessages() - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolder
-
Returns the set of
BabelMessageclasses for which this protocol handles delivery failure. - interestedOutSuccessMessages() - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
- interestedOutSuccessMessages() - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolder
-
Returns the set of
BabelMessageclasses for which this protocol handles successful delivery. - InternalBabelChannel - Class in pt.unl.fct.di.novasys.babel2.channels.internal
-
An in-process (in-JVM) implementation of
BabelChannelintended for testing and single-process multi-protocol scenarios. - InternalBabelChannelBuilder - Class in pt.unl.fct.di.novasys.babel2.channels.internal
-
BabelChannelBuilderthat creates (and caches) a singleInternalBabelChannelinstance. - InternalBabelChannelBuilder() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelChannelBuilder
-
Constructs a new
InternalBabelChannelBuilder. - InternalBabelNodeComponent - Record Class in pt.unl.fct.di.novasys.babel2.channels.internal
-
Internal component representing a node's participation in an internal channel.
- InternalBabelNodeComponent(Babel, InternalBabelChannel, BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelNodeComponent
-
Creates an instance of a
InternalBabelNodeComponentrecord class. - InvalidAttributesMessage - Class in pt.unl.fct.di.novasys.babel2.channels.legacy.messages
-
Control message signaling that invalid or unrecognized attributes were received in a legacy handshake.
- invokeHandler(MessageInEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
-
Invokes the compiled handler for the specified inbound message event.
- invokeHandler(MessageOutFailedEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
-
Invokes the compiled handler for the specified outbound message failure event.
- invokeHandler(MessageOutSuccessEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
-
Invokes the compiled handler for the specified outbound message success event.
- invokeHandler(ProtocolEvent) - Method in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
-
Invokes the compiled handler for the specified protocol event.
- IO_HANLDER - Static variable in class pt.unl.fct.di.novasys.babel2.channels.utils.BabelIpUtils
-
I/O handler factory selected for the current OS (epoll / kqueue / NIO).
- IPBabelChannel - Interface in pt.unl.fct.di.novasys.babel2.channels
-
Interface representing a Babel channel operating over IP network protocols (TCP, TLS, UDP, QUIC).
- IPBabelNodeComponent - Record Class in pt.unl.fct.di.novasys.babel2.channels
-
Immutable record that identifies a Babel node by its IP-level socket address.
- IPBabelNodeComponent(String, InetSocketAddress) - Constructor for record class pt.unl.fct.di.novasys.babel2.channels.IPBabelNodeComponent
-
Creates an instance of a
IPBabelNodeComponentrecord class. - IPBabelNodeComponentSerialiazer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes
-
Binary serializer for
BabelNodeinstances that carry an IP socket address. - IPBabelNodeComponentSerialiazer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.IPBabelNodeComponentSerialiazer
-
Constructs a new
IPBabelNodeComponentSerialiazer. - IPBabelNodeIdentity - Record Class in pt.unl.fct.di.novasys.babel2.core
-
A
BabelNodeidentity implementation based on an IP socket address and channel type. - IPBabelNodeIdentity(String, InetSocketAddress) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.IPBabelNodeIdentity
-
Creates an instance of a
IPBabelNodeIdentityrecord class. - isConnected(BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.channels.BabelChannel
-
Returns
trueif a connection topeeris currently open on this channel. - isConnected(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.ComposedBabelChannel
- isConnected(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelChannel
- isConnected(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannel
- isConnected(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
-
Returns
trueif a connection topeeris currently open on this channel. - isConnected(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Checks whether an active TCP connection to the specified peer exists.
- isConnected(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannel
K
- KEEP_ALIVE_SIGNAL - Static variable in record class pt.unl.fct.di.novasys.babel2.channels.messages.KeepAliveMessage
-
Magic signal value used to identify this message type on the wire.
- KeepAliveMessage - Record Class in pt.unl.fct.di.novasys.babel2.channels.messages
-
Singleton message sent periodically over QUIC connections to prevent the underlying QUIC session from timing out due to inactivity.
- KeepAliveMessage() - Constructor for record class pt.unl.fct.di.novasys.babel2.channels.messages.KeepAliveMessage
-
Creates an instance of a
KeepAliveMessagerecord class. - Key Concepts - Section in package pt.unl.fct.di.novasys.babel2.channels
- KeyMaterial(PrivateKey, X509Certificate, PublicKey) - Constructor for record class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator.KeyMaterial
-
Creates an instance of a
KeyMaterialrecord class.
L
- LegacySimpleServerBabelChannel - Class in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer
-
Legacy server-side channel implementation supporting backward compatibility with older simple-client protocols.
- LegacySimpleServerBabelChannelBuilder - Class in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer
-
Builder for constructing
LegacySimpleServerBabelChannelinstances. - LegacySimpleServerBabelChannelBuilder() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannelBuilder
-
Constructs a new
LegacySimpleServerBabelChannelBuilderwith default parameters. - LegacySimpleServerConnectionHandler - Class in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer
-
Inbound handler managing active legacy simple server connections, reading application messages and managing idle state heartbeat triggers.
- LegacySimpleServerConnectionHandler(LegacySimpleServerBabelChannel, Babel, BabelNode) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerConnectionHandler
-
Constructs a new legacy connection handler.
- LegacySimpleServerHandshakeCodec - Class in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer
-
Netty codec for encoding and decoding legacy control and handshake messages.
- LegacySimpleServerHandshakeCodec() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeCodec
-
Constructs a new
LegacySimpleServerHandshakeCodec. - LegacySimpleServerHandshakeHandler - Class in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer
-
Netty inbound handler processing the initial legacy client handshake and registering connections.
- LegacySimpleServerHandshakeHandler(Babel, LegacySimpleServerBabelChannel) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeHandler
-
Constructs a new legacy handshake handler.
- ListSerializer<T> - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections
-
Generic serializer for
Listcollections of typeT. - ListSerializer(BabelNetworkSerializer) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.ListSerializer
-
Constructs a list serializer.
- loadConfig(Path, String...) - Static method in class pt.unl.fct.di.novasys.babel2.utils.BabelPropertiesReader
-
Reads either the default or the given properties file (the file can be given with the argument -conf).
- LocalNetworkDiscoveryProtocol - Class in pt.unl.fct.di.novasys.babel2.protocols.discovery
-
Protocol that discovers peer nodes on local networks using multicast/broadcast probes and answers.
- LocalNetworkDiscoveryProtocol(NodeStore) - Constructor for class pt.unl.fct.di.novasys.babel2.protocols.discovery.LocalNetworkDiscoveryProtocol
-
Constructs a new local network discovery protocol instance.
- LongArraySerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives
-
Binary serializer for
long[]primitive arrays. - LongArraySerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.LongArraySerializer
-
Constructs a new
LongArraySerializer. - LongSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.primtive
-
Binary serializer for
Longvalues. - LongSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.LongSerializer
-
Constructs a new
LongSerializer.
M
- MAGIC_NUMBER_TAG - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeCodec
-
ASCII attribute tag identifying the client magic number in legacy handshakes.
- MAGIC_NUMBER_TAG_SIZE - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeCodec
-
Byte length of
LegacySimpleServerHandshakeCodec.MAGIC_NUMBER_TAG. - magicNumber() - Method in record class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.FirstHandshakeSimpleClientMessage
-
Returns the value of the
magicNumberrecord component. - MapSerializer<K,
V> - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections -
Network serializer for Java
Mapcollections. - MapSerializer(BabelNetworkSerializer, BabelNetworkSerializer) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.MapSerializer
-
Constructs a new map serializer using the given key and value serializers.
- MembershipConsumerBabelProtocol - Interface in pt.unl.fct.di.novasys.babel2.core.membership
-
Interface for protocols that consume a membership (overlay neighbour) service.
- MembershipConsumerExtension - Class in pt.unl.fct.di.novasys.babel2.core.membership
-
ProtocolExtensionthat delivers membership change events toMembershipConsumerBabelProtocolinstances. - MembershipConsumerExtension(MembershipConsumerBabelProtocol) - Constructor for class pt.unl.fct.di.novasys.babel2.core.membership.MembershipConsumerExtension
-
Constructs a
MembershipConsumerExtensionfor the given consumer protocol. - MembershipConsumerExtensionFactory - Class in pt.unl.fct.di.novasys.babel2.core.membership
-
ProtocolExtensionFactorythat createsMembershipConsumerExtensioninstances forMembershipConsumerBabelProtocolimplementations. - MembershipConsumerExtensionFactory() - Constructor for class pt.unl.fct.di.novasys.babel2.core.membership.MembershipConsumerExtensionFactory
-
Constructs a new
MembershipConsumerExtensionFactory. - MembershipProviderBabelProtocol - Interface in pt.unl.fct.di.novasys.babel2.core.membership
-
Interface for protocols that implement a membership (overlay neighbour) service.
- MembershipProviderExtension - Class in pt.unl.fct.di.novasys.babel2.core.membership
-
ProtocolExtensionthat routesAskNeighbourSetevents from consumer protocols to the associatedMembershipProviderBabelProtocol. - MembershipProviderExtension(MembershipProviderBabelProtocol) - Constructor for class pt.unl.fct.di.novasys.babel2.core.membership.MembershipProviderExtension
-
Constructs a
MembershipProviderExtensionbound to the given provider protocol. - MembershipProviderExtensionFactory - Class in pt.unl.fct.di.novasys.babel2.core.membership
-
ProtocolExtensionFactorythat createsMembershipProviderExtensioninstances forMembershipProviderBabelProtocolimplementations. - MembershipProviderExtensionFactory() - Constructor for class pt.unl.fct.di.novasys.babel2.core.membership.MembershipProviderExtensionFactory
-
Constructs a new
MembershipProviderExtensionFactory. - message() - Method in record class pt.unl.fct.di.novasys.babel2.channels.udp.AddressedBabelMessage
-
Returns the value of the
messagerecord component. - message() - Method in record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastDeliverEvent
-
Returns the value of the
messagerecord component. - message() - Method in record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastRequest
-
Returns the value of the
messagerecord component. - message() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageIn
-
Returns the value of the
messagerecord component. - message() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutFailed
-
Returns the value of the
messagerecord component. - message() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutSuccess
-
Returns the value of the
messagerecord component. - message() - Method in interface pt.unl.fct.di.novasys.babel2.events.MessageEvent
-
The message associated with this event.
- message() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageInEvent
-
Returns the value of the
messagerecord component. - message() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutFailedEvent
-
Returns the value of the
messagerecord component. - message() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutSuccessEvent
-
Returns the value of the
messagerecord component. - MessageEvent - Interface in pt.unl.fct.di.novasys.babel2.events
-
Sealed interface representing the outcome of a message send or receive operation on a
BabelChannel. - MessageInEvent - Record Class in pt.unl.fct.di.novasys.babel2.events
-
MessageEventdelivered when aBabelMessagearrives from a remote node. - MessageInEvent(BabelMessage, BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.events.MessageInEvent
-
Creates an instance of a
MessageInEventrecord class. - MessageInHandler<T> - Interface in pt.unl.fct.di.novasys.babel2.handlers
-
Functional interface for handling an inbound
BabelMessage. - MessageOutFailedEvent - Record Class in pt.unl.fct.di.novasys.babel2.events
-
MessageEventdelivered when an attempt to send aBabelMessageto a remote node failed. - MessageOutFailedEvent(BabelMessage, BabelNode, Throwable) - Constructor for record class pt.unl.fct.di.novasys.babel2.events.MessageOutFailedEvent
-
Creates an instance of a
MessageOutFailedEventrecord class. - MessageOutFailedHandler<T> - Interface in pt.unl.fct.di.novasys.babel2.handlers
-
Functional interface invoked when an attempt to send an outbound
BabelMessagefailed. - MessageOutSuccessEvent - Record Class in pt.unl.fct.di.novasys.babel2.events
-
MessageEventdelivered when a previously sentBabelMessagewas successfully handed off to the remote node. - MessageOutSuccessEvent(BabelMessage, BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.events.MessageOutSuccessEvent
-
Creates an instance of a
MessageOutSuccessEventrecord class. - MessageOutSuccessHandler<T> - Interface in pt.unl.fct.di.novasys.babel2.handlers
-
Functional interface invoked when an outbound
BabelMessagehas been successfully delivered to the remote node. - MessageProcessor - Class in pt.unl.fct.di.novasys.babel2.channels
-
Compile-time annotation processor that generates binary serializer classes for every Java
recordannotated withBabelIPMessage. - MessageProcessor() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.MessageProcessor
-
Default public constructor invoked by the Java annotation processing framework.
- MessagesWithSameIdException - Exception Class in pt.unl.fct.di.novasys.babel2.channels.exceptions
-
Unchecked exception thrown when two distinct message types are registered with the same numeric identifier in the
SerializerRegistry. - MessagesWithSameIdException(String) - Constructor for exception class pt.unl.fct.di.novasys.babel2.channels.exceptions.MessagesWithSameIdException
-
Constructs a new exception with a message that identifies the conflicting message types.
- MIXED_AUTH - Enum constant in enum class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel.TCPBabelChannelAuthMode
-
Both unsigned
BabelMessageandSignedBabelMessageinstances are allowed. - multicast(BabelMessage) - Method in interface pt.unl.fct.di.novasys.babel2.channels.discovery.BroadcastIPBabelChannel
-
Multicast for all the connected local network nodes.
- multicast(BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannel
N
- neigbourDown(BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.core.membership.MembershipConsumerBabelProtocol
-
Called when neighbour
nodehas left or become unreachable. - neighbourDown(Babel, BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.core.membership.MembershipProviderBabelProtocol
-
Notifies all registered consumer protocols that
nodehas left the overlay by dispatching aNeighbourDownevent. - NeighbourDown - Record Class in pt.unl.fct.di.novasys.babel2.core.membership.events
-
ProtocolEventemitted by aMembershipProviderBabelProtocolwhen a neighbour has left or become unreachable. - NeighbourDown(BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourDown
-
Creates an instance of a
NeighbourDownrecord class. - neighbours() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourSet
-
Returns the value of the
neighboursrecord component. - NeighbourSet - Record Class in pt.unl.fct.di.novasys.babel2.core.membership.events
-
ProtocolEventcarrying a snapshot of the current neighbour set, delivered to aMembershipConsumerBabelProtocolin response to anAskNeighbourSetrequest. - NeighbourSet(Set) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourSet
-
Creates an instance of a
NeighbourSetrecord class. - neighbourUp(BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.core.membership.MembershipConsumerBabelProtocol
-
Called when a new neighbour identified by
nodehas joined the overlay and is now considered an active member. - neighbourUp(Babel, BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.core.membership.MembershipProviderBabelProtocol
-
Notifies all registered consumer protocols that
nodehas joined the overlay by dispatching aNeighbourUpevent. - NeighbourUp - Record Class in pt.unl.fct.di.novasys.babel2.core.membership.events
-
ProtocolEventemitted by aMembershipProviderBabelProtocolwhen a new neighbour has joined the overlay. - NeighbourUp(BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourUp
-
Creates an instance of a
NeighbourUprecord class. - NettyExecutorProtocolHolder - Class in pt.unl.fct.di.novasys.babel2.core
-
Protocol holder implementation executing protocol event handlers on a Netty
EventLoopGroup. - NettyExecutorProtocolHolder(BabelProtocol, Set, EventLoopGroup, int) - Constructor for class pt.unl.fct.di.novasys.babel2.core.NettyExecutorProtocolHolder
-
Constructs a new Netty executor protocol holder.
- NettyExecutorProtocolHolderFactory - Class in pt.unl.fct.di.novasys.babel2.core
-
Factory for creating
NettyExecutorProtocolHolderinstances backed by a NettyEventLoopGroup. - NettyExecutorProtocolHolderFactory(int, EventLoopGroup) - Constructor for class pt.unl.fct.di.novasys.babel2.core.NettyExecutorProtocolHolderFactory
-
Constructs a new Netty executor protocol holder factory.
- NetworkEvent - Interface in pt.unl.fct.di.novasys.babel2.events
-
Sealed interface representing connection lifecycle events generated by a
BabelChannel. - NewConnectionPromotionException - Exception Class in pt.unl.fct.di.novasys.babel2.channels.exceptions
-
Checked exception that signals a failure during the promotion of a newly established connection to replace an existing one in the duplicate-connection resolution logic of the TCP and QUIC Babel channels.
- NewConnectionPromotionException() - Constructor for exception class pt.unl.fct.di.novasys.babel2.channels.exceptions.NewConnectionPromotionException
-
Constructs a new
NewConnectionPromotionExceptionwith no detail message. - NewConnectionPromotionException(String) - Constructor for exception class pt.unl.fct.di.novasys.babel2.channels.exceptions.NewConnectionPromotionException
-
Constructs a new
NewConnectionPromotionExceptionwith the specified detail message. - NewConnectionPromotionException(Throwable) - Constructor for exception class pt.unl.fct.di.novasys.babel2.channels.exceptions.NewConnectionPromotionException
-
Constructs a new
NewConnectionPromotionExceptionwith the specified cause. - newFactory() - Static method in class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastProviderExtension
-
Creates a new
BroadcastProviderExtensionFactorysuitable for registration withBabelBootstrap#registerExtension. - NO_AUTH - Enum constant in enum class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel.TCPBabelChannelAuthMode
-
No signed messages are allowed; only standard unsigned
BabelMessageinstances are transmitted and received. - node() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourDown
-
Returns the value of the
noderecord component. - node() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourUp
-
Returns the value of the
noderecord component. - node() - Method in interface pt.unl.fct.di.novasys.babel2.core.resolver.events.BabelNodeAnswer
-
Returns the Babel node.
- node() - Method in record class pt.unl.fct.di.novasys.babel2.core.resolver.events.BabelNodeProbe
-
Returns the value of the
noderecord component. - node() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionDownEvent
-
Returns the value of the
noderecord component. - node() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionFailedEvent
-
Returns the value of the
noderecord component. - node() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionUpEvent
-
Returns the value of the
noderecord component. - node() - Method in interface pt.unl.fct.di.novasys.babel2.events.NetworkEvent
-
The remote node associated with this network event.
- node() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeAnswer
-
Returns the value of the
noderecord component. - node() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeProbeMessage
-
Returns the value of the
noderecord component. - Node Identity & Extensions - Section in package pt.unl.fct.di.novasys.babel2.core
- NodeStore - Interface in pt.unl.fct.di.novasys.babel2.channels
-
A central directory mapping identities (
BabelNode) to transport-specific attributes (BabelNodeComponent).
O
- ofAuthorizedPublicKeys(Set) - Static method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Creates a trust manager authorized for the specified set of long-term public keys.
- openChannels() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeAnswer
-
Returns the value of the
openChannelsrecord component.
P
- pause() - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocol
-
Suspends the protocol's operations.
- PEER_IDENTITY_ID_ATTR - Static variable in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Session attribute key storing the authenticated peer's SHA-256 hex peer ID.
- PEER_IDENTITY_KEY_ATTR - Static variable in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Session attribute key storing the authenticated peer's long-term
PublicKey. - PeerIdentityTrustManager - Class in pt.unl.fct.di.novasys.babel2.ssl
-
An
X509ExtendedTrustManagerthat validates peer certificates according to the Babel 2 / libp2p TLS identity certificate pattern. - PeerIdentityTrustManager() - Constructor for class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Constructs a trust manager that accepts all valid peer certificates conforming to the Babel 2 identity certificate flow without restricting to specific peer IDs.
- PeerIdentityTrustManager(Set) - Constructor for class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Constructs a trust manager that requires the peer's SHA-256 public key hash to be in the specified allowlist.
- PeerIdentityTrustManagerFactory - Class in pt.unl.fct.di.novasys.babel2.ssl
-
TrustManagerFactoryimplementation that producesPeerIdentityTrustManagerinstances for validating Babel 2 self-signed peer certificates. - PeerIdentityTrustManagerFactory() - Constructor for class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManagerFactory
-
Constructs a factory that trusts all valid Babel 2 self-signed peer certificates.
- PeerIdentityTrustManagerFactory(Set) - Constructor for class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManagerFactory
-
Constructs a factory with a set of authorized peer ID hex hashes.
- PeerIdentityTrustManagerFactory(PeerIdentityTrustManager) - Constructor for class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManagerFactory
-
Constructs a factory wrapping an existing
PeerIdentityTrustManager. - process(Set, RoundEnvironment) - Method in class pt.unl.fct.di.novasys.babel2.channels.MessageProcessor
- protocol - Variable in class pt.unl.fct.di.novasys.babel2.core.AbstractBabelProtocolHolder
-
The managed protocol instance.
- Protocol Abstractions & Execution - Section in package pt.unl.fct.di.novasys.babel2.core
- ProtocolEvent - Interface in pt.unl.fct.di.novasys.babel2.events
-
Marker interface for user-defined, application-level events exchanged between protocols.
- ProtocolExtension<T> - Interface in pt.unl.fct.di.novasys.babel2.core
-
A pluggable cross-cutting extension that augments a
BabelProtocolwith additional event handling capabilities. - ProtocolExtensionFactory - Interface in pt.unl.fct.di.novasys.babel2.core
-
Factory interface for creating
ProtocolExtensioninstances. - protocols() - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.DiscoveryMessage
-
Returns the value of the
protocolsrecord component. - pt.unl.fct.di.novasys.babel2.annotations - package pt.unl.fct.di.novasys.babel2.annotations
-
Annotations used to mark methods as handlers for various events and messages in the Babel 2 framework.
- pt.unl.fct.di.novasys.babel2.channels - package pt.unl.fct.di.novasys.babel2.channels
-
Channel abstractions, lifecycle builders, wire messages, and node components for Babel 2.
- pt.unl.fct.di.novasys.babel2.channels.discovery - package pt.unl.fct.di.novasys.babel2.channels.discovery
-
Channel extensions and interfaces for local network broadcast and multicast communication.
- pt.unl.fct.di.novasys.babel2.channels.exceptions - package pt.unl.fct.di.novasys.babel2.channels.exceptions
-
Exception types thrown by Babel 2 channel and serialization subsystems.
- pt.unl.fct.di.novasys.babel2.channels.internal - package pt.unl.fct.di.novasys.babel2.channels.internal
-
In-memory simulated communication channels for intra-JVM protocol testing and message passing.
- pt.unl.fct.di.novasys.babel2.channels.legacy.messages - package pt.unl.fct.di.novasys.babel2.channels.legacy.messages
-
Control and framing messages for backward-compatible legacy channels.
- pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer - package pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer
-
Legacy server-side channel implementation compatible with legacy clients.
- pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages - package pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages
-
Handshake messages specific to the legacy simple server channel protocol.
- pt.unl.fct.di.novasys.babel2.channels.messages - package pt.unl.fct.di.novasys.babel2.channels.messages
-
Network handshake and discovery messages exchanged across IP channels.
- pt.unl.fct.di.novasys.babel2.channels.quic - package pt.unl.fct.di.novasys.babel2.channels.quic
-
QUIC transport channel implementation for Babel 2, providing multiplexed, stream-oriented communication secured by mutual TLS.
- pt.unl.fct.di.novasys.babel2.channels.serializers - package pt.unl.fct.di.novasys.babel2.channels.serializers
-
Core serializer abstractions, registries, and primitive wire serializers for Babel 2 IP messaging.
- pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes - package pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes
-
Serializers for core Babel runtime types including nodes, components, and messages.
- pt.unl.fct.di.novasys.babel2.channels.serializers.collections - package pt.unl.fct.di.novasys.babel2.channels.serializers.collections
-
Serializers for standard Java collection and map types over Netty ByteBuf buffers.
- pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives - package pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives
-
Serializers for primitive array types (boolean[], byte[], short[], int[], long[], float[], double[], CharSequence).
- pt.unl.fct.di.novasys.babel2.channels.serializers.primtive - package pt.unl.fct.di.novasys.babel2.channels.serializers.primtive
-
Serializers for Java primitive wrapper types (Boolean, Byte, Short, Integer, Long, Float, Double, Character).
- pt.unl.fct.di.novasys.babel2.channels.tcp_tls - package pt.unl.fct.di.novasys.babel2.channels.tcp_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.
- pt.unl.fct.di.novasys.babel2.channels.udp - package pt.unl.fct.di.novasys.babel2.channels.udp
-
UDP datagram channel implementation for connectionless unicast and multicast messaging.
- pt.unl.fct.di.novasys.babel2.channels.utils - package pt.unl.fct.di.novasys.babel2.channels.utils
-
Platform transport utilities and helper methods for Netty network channels.
- pt.unl.fct.di.novasys.babel2.core - package pt.unl.fct.di.novasys.babel2.core
-
Core runtime, protocol lifecycle, executor models, and protocol extensions for Babel 2.
- pt.unl.fct.di.novasys.babel2.core.broadcast - package pt.unl.fct.di.novasys.babel2.core.broadcast
-
Provides interfaces and extensions for implementing and consuming broadcast services in the Babel 2 framework.
- pt.unl.fct.di.novasys.babel2.core.broadcast.events - package pt.unl.fct.di.novasys.babel2.core.broadcast.events
-
Contains events used by broadcast protocols to communicate between consumers and providers in the Babel 2 framework.
- pt.unl.fct.di.novasys.babel2.core.membership - package pt.unl.fct.di.novasys.babel2.core.membership
-
Provides interfaces and extensions for implementing and consuming membership (overlay network) services in the Babel 2 framework.
- pt.unl.fct.di.novasys.babel2.core.membership.events - package pt.unl.fct.di.novasys.babel2.core.membership.events
-
Contains events used by membership protocols to communicate overlay neighbour changes between providers and consumers.
- pt.unl.fct.di.novasys.babel2.core.resolver - package pt.unl.fct.di.novasys.babel2.core.resolver
-
Address and node component resolution protocol abstractions and extensions for Babel 2.
- pt.unl.fct.di.novasys.babel2.core.resolver.events - package pt.unl.fct.di.novasys.babel2.core.resolver.events
-
Events exchanged during node identity probe and address resolution.
- pt.unl.fct.di.novasys.babel2.core.signed - package pt.unl.fct.di.novasys.babel2.core.signed
-
Cryptographically signed message support and extensions for Babel 2 protocols.
- pt.unl.fct.di.novasys.babel2.core.signed.annotations - package pt.unl.fct.di.novasys.babel2.core.signed.annotations
-
Annotations for handling inbound and outbound signed messages in Babel 2 protocols.
- pt.unl.fct.di.novasys.babel2.core.signed.events - package pt.unl.fct.di.novasys.babel2.core.signed.events
-
Protocol events delivering signed message reception and send outcomes.
- pt.unl.fct.di.novasys.babel2.events - package pt.unl.fct.di.novasys.babel2.events
-
Event hierarchy defining network states, message delivery outcomes, protocol notifications, and runtime lifecycle events in Babel 2.
- pt.unl.fct.di.novasys.babel2.handlers - package pt.unl.fct.di.novasys.babel2.handlers
-
Functional interfaces defining internal handler signatures for routing Babel events to protocol callback methods.
- pt.unl.fct.di.novasys.babel2.protocols.discovery - package pt.unl.fct.di.novasys.babel2.protocols.discovery
-
Local network peer discovery protocols for dynamic node address and channel resolution.
- pt.unl.fct.di.novasys.babel2.protocols.discovery.messages - package pt.unl.fct.di.novasys.babel2.protocols.discovery.messages
-
Network probe and answer messages exchanged during local network node discovery.
- pt.unl.fct.di.novasys.babel2.protocols.discovery.serializers - package pt.unl.fct.di.novasys.babel2.protocols.discovery.serializers
-
Binary wire serializers for local network discovery protocol messages and structures.
- pt.unl.fct.di.novasys.babel2.ssl - package pt.unl.fct.di.novasys.babel2.ssl
-
Ephemeral self-signed certificate generation and peer identity authentication for TLS/QUIC and TLS/TCP in Babel 2.
- pt.unl.fct.di.novasys.babel2.utils - package pt.unl.fct.di.novasys.babel2.utils
-
General utility classes for configuration loading and cryptographic operations in Babel 2.
- PublicKeyBabelNode - Record Class in pt.unl.fct.di.novasys.babel2.channels
- PublicKeyBabelNode(PublicKey) - Constructor for record class pt.unl.fct.di.novasys.babel2.channels.PublicKeyBabelNode
-
Creates an instance of a
PublicKeyBabelNoderecord class. - PublicKeyBabelNodeComparator - Class in pt.unl.fct.di.novasys.babel2.channels
-
Canonical
ComparatorforPublicKeyBabelNodeinstances based on the lexicographical comparison of their encoded public key bytes. - PublicKeyBabelNodeSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes
-
Network serializer for
PublicKeyBabelNodeidentities using ASN.1 SubjectPublicKeyInfo encoding. - PublicKeyBabelNodeSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.PublicKeyBabelNodeSerializer
-
Constructs a new
PublicKeyBabelNodeSerializer.
Q
- QUICBabelChannel - Class in pt.unl.fct.di.novasys.babel2.channels.quic
-
Babel 2 channel implementation that transports messages over QUIC streams secured with mutual TLS.
- QUICBabelChannelBuilder - Class in pt.unl.fct.di.novasys.babel2.channels.quic
-
Builder for
QUICBabelChannelinstances. - Quick Start Example - Section in Overview
R
- receiver() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutFailed
-
Returns the value of the
receiverrecord component. - receiver() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutSuccess
-
Returns the value of the
receiverrecord component. - receiver() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutFailedEvent
-
Returns the value of the
receiverrecord component. - receiver() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutSuccessEvent
-
Returns the value of the
receiverrecord component. - register(Method, MethodHandles.Lookup, BroadcastConsumerBabelProtocol, BabelProtocolHolder, Annotation) - Method in class pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastConsumerExtension
- register(Method, MethodHandles.Lookup, SignedMessageBabelProtocol, BabelProtocolHolder, Annotation) - Method in class pt.unl.fct.di.novasys.babel2.core.signed.SignedMessageExtension
- register(Method, MethodHandles.Lookup, T, BabelProtocolHolder, Annotation) - Method in interface pt.unl.fct.di.novasys.babel2.core.ProtocolExtension
-
Called by
SharedExecutorProtocolHolderduring initialisation for each method on the protocol that carries one of the annotations returned byProtocolExtension.annotationClass(). - registerExtension(Class, ProtocolExtensionFactory) - Method in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Registers a
ProtocolExtensionFactorythat will be applied to every registered protocol that is an instance ofprotocol. - registerProtocol(BabelProtocol, BabelProtocolHolderFactory, BabelChannelBuilder...) - Method in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Registers a protocol instance with this Babel runtime, optionally associating it with one or more channel builders.
- removeComponent(BabelNode, BabelNodeComponent) - Method in class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
- removeComponent(BabelNode, BabelNodeComponent) - Method in interface pt.unl.fct.di.novasys.babel2.channels.NodeStore
-
Removes a stale or dead component from the store.
- resolutionFailed(BabelNode, Class) - Method in class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
- resolutionFailed(BabelNode, Class) - Method in interface pt.unl.fct.di.novasys.babel2.channels.NodeStore
-
Signals that the resolver protocol failed to find the requested component type for the given node (e.g., discovery timeout).
- resolutionSuccessuful(BabelNode, Class) - Method in class pt.unl.fct.di.novasys.babel2.channels.DefaultNodeStore
- resolutionSuccessuful(BabelNode, Class) - Method in interface pt.unl.fct.di.novasys.babel2.channels.NodeStore
-
Signals that the resolver protocol successfully resolved the requested component type for the given node.
- ResolverProvideExtensionFactory - Class in pt.unl.fct.di.novasys.babel2.core.resolver
-
Factory for creating
ResolverProviderExtensioninstances. - ResolverProvideExtensionFactory() - Constructor for class pt.unl.fct.di.novasys.babel2.core.resolver.ResolverProvideExtensionFactory
-
Constructs a new
ResolverProvideExtensionFactory. - ResolverProviderBabelProtocol - Interface in pt.unl.fct.di.novasys.babel2.core.resolver
-
Interface for protocols that act as a resolver provider.
- ResolverProviderExtension - Class in pt.unl.fct.di.novasys.babel2.core.resolver
-
Extension for the
ResolverProviderBabelProtocolto handle node probe events. - ResolverProviderExtension(ResolverProviderBabelProtocol) - Constructor for class pt.unl.fct.di.novasys.babel2.core.resolver.ResolverProviderExtension
-
Constructs a new extension for the given protocol.
- resume(Babel, ComposedBabelChannel) - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocol
-
Reinstates the protocol's execution from a paused state.
- runtime() - Method in record class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelNodeComponent
-
Returns the value of the
runtimerecord component. - runtime() - Method in record class pt.unl.fct.di.novasys.babel2.events.StartEvent
-
Returns the value of the
runtimerecord component. - Runtime & Bootstrap - Section in package pt.unl.fct.di.novasys.babel2.core
S
- SecondHandshakeSimpleServerMessage - Class in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages
-
Handshake response message sent by a legacy simple server acknowledging connection setup.
- send(BabelNode, BabelMessage) - Method in interface pt.unl.fct.di.novasys.babel2.channels.BabelChannel
-
Sends a message through this channel to the given peer using a persistent connection.
- send(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.ComposedBabelChannel
- send(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelChannel
- send(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannel
- send(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
-
Sends a message through this channel to the given peer using a persistent connection.
- send(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Sends a
BabelMessageto the specified peer over the active TCP connection. - send(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannel
- sendEphemeral(BabelNode, BabelMessage) - Method in interface pt.unl.fct.di.novasys.babel2.channels.BabelChannel
-
Sends a message to
peerwithout establishing a persistent connection. - sendEphemeral(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.ComposedBabelChannel
- sendEphemeral(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelChannel
- sendEphemeral(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannel
- sendEphemeral(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
-
Sends a message to
peerwithout establishing a persistent connection. - sendEphemeral(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Sends a message to
peerwithout establishing a persistent connection. - sendEphemeral(BabelNode, BabelMessage) - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannel
- sender() - Method in class pt.unl.fct.di.novasys.babel2.channels.SignedBabelMessage
-
Returns the identity of the node that sent and signed this message, or
nullif this message is unsigned. - sender() - Method in record class pt.unl.fct.di.novasys.babel2.channels.udp.AddressedBabelMessage
-
Returns the value of the
senderrecord component. - sender() - Method in record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastDeliverEvent
-
Returns the value of the
senderrecord component. - sender() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageIn
-
Returns the value of the
senderrecord component. - sender() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageInEvent
-
Returns the value of the
senderrecord component. - senderAddress() - Method in record class pt.unl.fct.di.novasys.babel2.channels.udp.AddressedBabelMessage
-
Returns the value of the
senderAddressrecord component. - serialize(boolean[], ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.BooleanArraySerializer
- serialize(byte[], ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.ByteArraySerializer
- serialize(double[], ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.DoubleArraySerializer
- serialize(float[], ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.FloatArraySerializer
- serialize(int[], ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.IntArraySerializer
- serialize(long[], ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.LongArraySerializer
- serialize(short[], ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.ShortArraySerializer
- serialize(AsciiString, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.AsciiStringSerializer
- serialize(Boolean, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.BooleanSerializer
- serialize(Byte, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.ByteSerializer
- serialize(Character, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.CharacterSerializer
- serialize(CharSequence, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.CharSequenceSerializer
- serialize(Double, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.DoubleSerializer
- serialize(Float, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.FloatSerializer
- serialize(Integer, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.IntegerSerializer
- serialize(Long, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.LongSerializer
- serialize(Short, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.ShortSerializer
- serialize(String, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.StringSerializer
- serialize(InetSocketAddress, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.InetSocketAddressSerializer
- serialize(List, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.ListSerializer
- serialize(Map, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.MapSerializer
- serialize(Set, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SetSerializer
- serialize(SortedMap, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SortedMapSerializer
- serialize(SortedSet, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SortedSetSerializer
- serialize(UUID, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.UUIDSerializer
- serialize(BabelMessage, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.BabelMessageSerializer
- serialize(BabelNodeComponent, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeComponentSerializer
- serialize(IPBabelNodeComponent, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.IPBabelNodeComponentSerialiazer
- serialize(PublicKeyBabelNode, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.PublicKeyBabelNodeSerializer
- serialize(SignedBabelMessage, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.BasicSignedBabelMessageSerializer
- serialize(SignedBabelMessage, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.FullSignedBabelMessageSerializer
- serialize(BabelNode, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.GeneralBabelNodeSerializer
- serialize(ChannelInfo, ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.protocols.discovery.serializers.ChannelInfoSerializer
- serialize(T[], ByteBuf, NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.ArraySerializer
- serialize(T, ByteBuf, NodeStore) - Method in interface pt.unl.fct.di.novasys.babel2.channels.serializers.BabelNetworkSerializer
-
Encodes
objectand appends the resulting bytes toout. - SerializerRegistry - Class in pt.unl.fct.di.novasys.babel2.channels.serializers
-
Central registry that maps Java types and message IDs to their
BabelNetworkSerializer/BabelNetworkMessageSerializerimplementations. - SERVER_CHANNEL_CLASS - Static variable in class pt.unl.fct.di.novasys.babel2.channels.utils.BabelIpUtils
-
Server socket channel class selected for the current OS (epoll / kqueue / NIO).
- setAuthMode(AbstractTCPBabelChannel.TCPBabelChannelAuthMode) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPBabelChannelBuilder
-
Configures the authentication mode for the channel, controlling which message types (unsigned, signed, or mixed) are permitted.
- setAuthMode(AbstractTCPBabelChannel.TCPBabelChannelAuthMode) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannelBuilder
-
Configures the authentication mode for the channel, controlling which message types (unsigned, signed, or mixed) are permitted.
- setBindingAddress(InetSocketAddress) - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Sets the local IP socket address to which the channel should bind.
- setChannel(BabelChannel) - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractBabelChannelBuilder
-
Sets the constructed channel instance created by this builder.
- setComparator(Comparator) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannelBuilder
-
Sets the comparator used to resolve simultaneous-connection conflicts.
- setComparator(Comparator) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPBabelChannelBuilder
-
Sets the comparator used for tie-breaking when two nodes connect to each other simultaneously.
- setComparator(Comparator) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannelBuilder
-
Sets the comparator used for tie-breaking when two nodes connect to each other simultaneously.
- setConnectionUpDelay(long) - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Sets the delay in milliseconds before notifying the runtime that a connection is fully up.
- setConnectionUpDelay(long, TimeUnit) - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Sets the delay and unit before notifying the runtime that a connection is fully up.
- setEventLoopGroup(EventLoopGroup) - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractIPBabelChannelBuilder
-
Configures the Netty
EventLoopGroupused for network I/O. - setHeartbeatInterval(int) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannelBuilder
-
Sets the interval between outbound heartbeat frames.
- setHeartbeatTolerance(int) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannelBuilder
-
Sets the maximum tolerance before an idle connection is terminated.
- setKeyMaterial(CertGenerator.KeyMaterial) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannelBuilder
-
Sets pre-generated
CertGenerator.KeyMaterialcontaining the ephemeral key and certificate. - setKeyMaterial(CertGenerator.KeyMaterial) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannelBuilder
-
Sets pre-generated
CertGenerator.KeyMaterialcontaining the ephemeral private key and certificate. - setKeyPair(KeyPair) - Method in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Sets the asymmetric key pair representing the cryptographic identity of the local node.
- setMyself(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Sets the local
BabelNodeidentity representing this node. - setNeighbours(Set) - Method in interface pt.unl.fct.di.novasys.babel2.core.membership.MembershipConsumerBabelProtocol
-
Called with the current neighbour set in response to a previous
MembershipConsumerBabelProtocol.askNeighbourSet(Babel)call. - setNodeStore(NodeStore) - Method in class pt.unl.fct.di.novasys.babel2.core.BabelBootstrap
-
Sets the node store to be used by the runtime.
- setNumberOfConnections(int) - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractBabelChannelBuilder
-
Sets the default number of connections expected.
- setNumberOfMessages(int) - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractBabelChannelBuilder
-
Sets the expected number of distinct message types handled by this channel.
- setNumberOfMulticastTtl(int) - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannelBuilder
-
Sets the Time-To-Live (TTL) hop count for outgoing multicast packets.
- setNumberOfStreams(int) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannelBuilder
-
Sets the maximum number of concurrent unidirectional streams per connection.
- setPermittedNodes(Set) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannelBuilder
-
Sets the set of permitted nodes for the channel.
- setPermittedNodes(Set) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPBabelChannelBuilder
-
Sets the set of permitted nodes for the channel.
- setProtoId(short) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannelBuilder
-
Sets the legacy protocol ID to deliver messages to.
- SetSerializer<T> - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections
-
Network serializer for Java
Setcollections. - SetSerializer(BabelNetworkSerializer) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SetSerializer
-
Constructs a new set serializer using the given element serializer.
- setTrustManager(TrustManager) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannelBuilder
-
Sets the
TrustManagerused to validate peer TLS certificates during the QUIC handshake. - setTrustManager(TrustManager) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannelBuilder
-
Sets the
TrustManagerused to validate peer TLS certificates during the TLS handshake. - setTrustManagerFactory(TrustManagerFactory) - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannelBuilder
-
Sets the
TrustManagerFactoryused to validate peer TLS certificates during the QUIC handshake. - setTrustManagerFactory(TrustManagerFactory) - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannelBuilder
-
Sets the
TrustManagerFactoryused to validate peer TLS certificates during the TLS handshake. - setUpTimer(ProtocolEvent, long, long, TimeUnit) - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Registers a periodic timer that delivers an event repeatedly.
- setUpTimer(ProtocolEvent, long, TimeUnit) - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Registers a single-shot timer that delivers an event to the runtime after a specified delay.
- SharedExecutorProtocolHolder - Class in pt.unl.fct.di.novasys.babel2.core
-
A
BabelProtocolHolderimplementation that schedules event queue draining on a shared thread pool executor. - SharedExecutorProtocolHolderFactory - Class in pt.unl.fct.di.novasys.babel2.core
-
Factory for creating
SharedExecutorProtocolHolderinstances that share a common fixed thread pool executor. - SharedExecutorProtocolHolderFactory(int, int, boolean, int) - Constructor for class pt.unl.fct.di.novasys.babel2.core.SharedExecutorProtocolHolderFactory
-
Constructs a factory with a shared thread pool and protocol execution parameters.
- ShortArraySerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives
-
Binary serializer for
short[]primitive arrays. - ShortArraySerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.primitives.ShortArraySerializer
-
Constructs a new
ShortArraySerializer. - ShortSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.primtive
-
Binary serializer for
Shortvalues. - ShortSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.primtive.ShortSerializer
-
Constructs a new
ShortSerializer. - shutdown() - Method in interface pt.unl.fct.di.novasys.babel2.channels.BabelChannel
-
Releases all resources held by this channel, closing any open connections.
- shutdown() - Method in class pt.unl.fct.di.novasys.babel2.channels.ComposedBabelChannel
- shutdown() - Method in class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelChannel
- shutdown() - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerBabelChannel
- shutdown() - Method in class pt.unl.fct.di.novasys.babel2.channels.quic.QUICBabelChannel
-
Releases all resources held by this channel, closing any open connections.
- shutdown() - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel
-
Shuts down the TCP server channel and terminates all active peer connections.
- shutdown() - Method in class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannel
- shutdown() - Method in class pt.unl.fct.di.novasys.babel2.core.Babel
-
Shuts down the runtime by stopping the executor and closing all channels.
- SignedBabelMessage<T> - Class in pt.unl.fct.di.novasys.babel2.channels
-
Wrapper for a
BabelMessagethat optionally carries a cryptographic signature and the identity of the sending node. - SignedBabelMessage(T) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.SignedBabelMessage
-
Constructs an unsigned wrapper around the specified inner message payload.
- SignedBabelMessage(T, BabelNode, byte[]) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.SignedBabelMessage
-
Constructs a signed or unsigned message wrapper.
- SignedMessageBabelProtocol - Interface in pt.unl.fct.di.novasys.babel2.core.signed
-
Marker interface for protocols that receive and send cryptographically signed messages.
- SignedMessageExtension - Class in pt.unl.fct.di.novasys.babel2.core.signed
-
Protocol extension that enables reflective dispatching of signed messages to handler methods annotated with
UponSignedMessageIn,UponSignedMessageOutSuccess, andUponSignedMessageOutFailed. - SignedMessageExtension(SignedMessageBabelProtocol) - Constructor for class pt.unl.fct.di.novasys.babel2.core.signed.SignedMessageExtension
-
Constructs a signed message extension for the specified protocol.
- SignedMessageExtensionFactory - Class in pt.unl.fct.di.novasys.babel2.core.signed
-
Factory for creating
SignedMessageExtensioninstances. - SignedMessageExtensionFactory() - Constructor for class pt.unl.fct.di.novasys.babel2.core.signed.SignedMessageExtensionFactory
-
Constructs a new
SignedMessageExtensionFactory. - SignedMessageIn<T> - Record Class in pt.unl.fct.di.novasys.babel2.core.signed.events
-
Protocol event delivered when an inbound signed message arrives.
- SignedMessageIn(SignedBabelMessage, BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageIn
-
Creates an instance of a
SignedMessageInrecord class. - SignedMessageOutFailed<T> - Record Class in pt.unl.fct.di.novasys.babel2.core.signed.events
-
Protocol event delivered when an outbound signed message fails to be sent.
- SignedMessageOutFailed(SignedBabelMessage, BabelNode, Throwable) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutFailed
-
Creates an instance of a
SignedMessageOutFailedrecord class. - SignedMessageOutSuccess<T> - Record Class in pt.unl.fct.di.novasys.babel2.core.signed.events
-
Protocol event delivered when an outbound signed message is successfully sent.
- SignedMessageOutSuccess(SignedBabelMessage, BabelNode) - Constructor for record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutSuccess
-
Creates an instance of a
SignedMessageOutSuccessrecord class. - SIMPLE_CLIENT_MAGIC_NUMBER - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeHandler
-
Expected magic number from legacy simple clients.
- SOCKET_CHANNEL_CLASS - Static variable in class pt.unl.fct.di.novasys.babel2.channels.utils.BabelIpUtils
-
Socket channel class selected for the current OS (epoll / kqueue / NIO).
- SortedMapSerializer<K,
V> - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections -
Network serializer for Java
SortedMapcollections. - SortedMapSerializer(BabelNetworkSerializer, BabelNetworkSerializer) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SortedMapSerializer
-
Constructs a new sorted map serializer using the given key and value serializers.
- SortedSetSerializer<T> - Class in pt.unl.fct.di.novasys.babel2.channels.serializers.collections
-
Network serializer for Java
SortedSetcollections. - SortedSetSerializer(BabelNetworkSerializer) - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.collections.SortedSetSerializer
-
Constructs a new sorted set serializer using the given element serializer.
- StartEvent - Record Class in pt.unl.fct.di.novasys.babel2.events
-
Special
BabelEventdelivered exactly once to each protocol when the Babel runtime starts (i.e., whenBabel.init()is called). - StartEvent(Babel, ComposedBabelChannel) - Constructor for record class pt.unl.fct.di.novasys.babel2.events.StartEvent
-
Creates an instance of a
StartEventrecord class. - stop() - Method in interface pt.unl.fct.di.novasys.babel2.core.BabelProtocol
-
Completely halt the protocols execution.
- StringSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers
-
Binary serializer for UTF-8 encoded
Stringvalues. - StringSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.StringSerializer
-
Constructs a new
StringSerializer.
T
- TCPBabelChannel - Class in pt.unl.fct.di.novasys.babel2.channels.tcp_tls
-
Concrete TCP Babel channel implementation that transports messages over persistent TCP connections.
- TCPBabelChannelBuilder - Class in pt.unl.fct.di.novasys.babel2.channels.tcp_tls
-
Builder for
AbstractTCPBabelChannelinstances. - TCPBabelChannelBuilder() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPBabelChannelBuilder
-
Creates a new builder instance with default settings (identity verification disabled and
AbstractTCPBabelChannel.TCPBabelChannelAuthMode.NO_AUTH). - TCPMixedBabelSocketCodec - Class in pt.unl.fct.di.novasys.babel2.channels.tcp_tls
-
Netty codec that frames both standard (unsigned) and cryptographically signed Babel messages over the same TCP connection.
- TLSBabelChannel - Class in pt.unl.fct.di.novasys.babel2.channels.tcp_tls
-
Concrete TLS-over-TCP Babel channel implementation that transports messages over persistent TCP connections secured with mutual TLS.
- TLSBabelChannelBuilder - Class in pt.unl.fct.di.novasys.babel2.channels.tcp_tls
-
Builder for
TLSBabelChannelinstances. - TLSBabelChannelBuilder() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannelBuilder
-
Constructs a new, unconfigured
TLSBabelChannelBuilder. - toString() - Method in record class pt.unl.fct.di.novasys.babel2.channels.internal.InternalBabelNodeComponent
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.channels.IPBabelNodeComponent
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.FirstHandshakeSimpleClientMessage
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.DiscoveryMessage
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.HandshakeMessage
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.channels.messages.KeepAliveMessage
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.channels.PublicKeyBabelNode
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.channels.udp.AddressedBabelMessage
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastDeliverEvent
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.broadcast.events.BroadcastRequest
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.IPBabelNodeIdentity
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.AskNeighbourSet
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourDown
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourSet
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.membership.events.NeighbourUp
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.resolver.events.BabelNodeProbe
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageIn
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutFailed
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.core.signed.events.SignedMessageOutSuccess
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionDownEvent
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionFailedEvent
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.events.ConnectionUpEvent
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageInEvent
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutFailedEvent
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.events.MessageOutSuccessEvent
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.events.StartEvent
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeAnswer
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.BabelNodeProbeMessage
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.protocols.discovery.messages.ChannelInfo
-
Returns a string representation of this record class.
- toString() - Method in record class pt.unl.fct.di.novasys.babel2.ssl.CertGenerator.KeyMaterial
-
Returns a string representation of this record class.
- toTrustManagerFactory() - Method in class pt.unl.fct.di.novasys.babel2.ssl.PeerIdentityTrustManager
-
Converts this trust manager into a
TrustManagerFactory. - TYPE_INT - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.messages.HeartbeatMessage
-
Integer type identifier for heartbeat messages.
- TYPE_INT - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.messages.InvalidAttributesMessage
-
Integer type identifier for invalid attributes messages.
- TYPE_INT - Static variable in record class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.FirstHandshakeSimpleClientMessage
-
Integer type identifier for the first client handshake message.
- TYPE_INT - Static variable in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.messages.SecondHandshakeSimpleServerMessage
-
Integer type identifier for the second server handshake message.
- TYPE_INT - Static variable in class pt.unl.fct.di.novasys.babel2.channels.serializers.babelTypes.PublicKeyBabelNodeSerializer
-
Integer type code distinguishing
PublicKeyBabelNodein wire serialization.
U
- UDPBabelChannel - Class in pt.unl.fct.di.novasys.babel2.channels.udp
-
Babel 2 channel implementation that transports messages as connectionless UDP datagrams.
- UDPBabelChannelBuilder - Class in pt.unl.fct.di.novasys.babel2.channels.udp
-
Builder / factory for
UDPBabelChannelinstances. - UDPBabelChannelBuilder() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.udp.UDPBabelChannelBuilder
-
Constructs a new
UDPBabelChannelBuilderbinding to the default port 7964. - UponBabelEvent - Annotation Interface in pt.unl.fct.di.novasys.babel2.annotations
-
Marks a method as a handler for a
ProtocolEvent. - uponBabelNodeAnswer(BabelNodeAnswer, BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.protocols.discovery.LocalNetworkDiscoveryProtocol
-
Handles incoming discovery answers, registering open channel endpoints into the
NodeStoreand completing pending component resolution. - uponBabelNodeProbe(BabelNode) - Method in interface pt.unl.fct.di.novasys.babel2.core.resolver.ResolverProviderBabelProtocol
-
Called when a Babel node is probed.
- uponBabelNodeProbe(BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.protocols.discovery.LocalNetworkDiscoveryProtocol
- uponBabelNodeProbeMessage(BabelNodeProbeMessage, BabelNode) - Method in class pt.unl.fct.di.novasys.babel2.protocols.discovery.LocalNetworkDiscoveryProtocol
-
Handles incoming discovery probes from peer nodes.
- UponBroadcastDeliver - Annotation Interface in pt.unl.fct.di.novasys.babel2.annotations
-
Marks a method as a handler for a broadcast-delivered message on a
BroadcastConsumerBabelProtocol. - uponBroadcastRequest(BabelMessage) - Method in interface pt.unl.fct.di.novasys.babel2.core.broadcast.BroadcastProviderBabelProtocol
-
Called by the
BroadcastProviderExtensionwhen a consumer protocol requests thatmessagebe broadcast to all overlay members. - UponMessageIn - Annotation Interface in pt.unl.fct.di.novasys.babel2.annotations
-
Marks a method as a handler for an inbound
BabelMessage. - UponMessageOutFailed - Annotation Interface in pt.unl.fct.di.novasys.babel2.annotations
-
Marks a method as a handler invoked when an outbound
BabelMessagecould not be delivered. - UponMessageOutSuccess - Annotation Interface in pt.unl.fct.di.novasys.babel2.annotations
-
Marks a method as a handler invoked when an outbound
BabelMessagewas successfully delivered. - UponSignedMessageIn - Annotation Interface in pt.unl.fct.di.novasys.babel2.core.signed.annotations
-
Marks a method as a handler for an inbound cryptographically signed message.
- UponSignedMessageOutFailed - Annotation Interface in pt.unl.fct.di.novasys.babel2.core.signed.annotations
-
Marks a method as a handler for failed transmission of an outbound signed message.
- UponSignedMessageOutSuccess - Annotation Interface in pt.unl.fct.di.novasys.babel2.core.signed.annotations
-
Marks a method as a handler for successful delivery of an outbound signed message.
- userEventTriggered(ChannelHandlerContext, Object) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerConnectionHandler
- userEventTriggered(ChannelHandlerContext, Object) - Method in class pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer.LegacySimpleServerHandshakeHandler
- UUIDSerializer - Class in pt.unl.fct.di.novasys.babel2.channels.serializers
-
Binary serializer for
UUIDvalues, encoding each instance as two consecutive 8-byte big-endian longs (most-significant bits followed by least-significant bits), for a total wire size of 16 bytes. - UUIDSerializer() - Constructor for class pt.unl.fct.di.novasys.babel2.channels.serializers.UUIDSerializer
-
Constructs a new
UUIDSerializer.
V
- validateStateOrThrow() - Method in class pt.unl.fct.di.novasys.babel2.channels.AbstractBabelChannelBuilder
-
Validates that this builder has not yet built its channel instance.
- valueOf(String) - Static method in enum class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel.TCPBabelChannelAuthMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.AbstractTCPBabelChannel.TCPBabelChannelAuthMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyIdentity() - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TCPBabelChannelBuilder
-
Enables cryptographic peer identity verification during the connection handshake.
- verifyIdentity() - Method in class pt.unl.fct.di.novasys.babel2.channels.tcp_tls.TLSBabelChannelBuilder
-
Enables cryptographic handshake identity verification using the local node's private key.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form