Uses of Interface
pt.unl.fct.di.novasys.babel2.core.BabelProtocol
Packages that use BabelProtocol
Package
Description
Channel abstractions, lifecycle builders, wire messages, and node components for Babel 2.
In-memory simulated communication channels for intra-JVM protocol testing and message passing.
Legacy server-side channel implementation compatible with legacy clients.
QUIC transport channel implementation for Babel 2, providing multiplexed,
stream-oriented communication secured by mutual TLS.
TCP transport channel implementation for Babel 2, providing reliable, ordered,
connection-oriented message delivery over persistent TCP sockets with configurable
authentication modes and identity verification.
UDP datagram channel implementation for connectionless unicast and multicast messaging.
Core runtime, protocol lifecycle, executor models, and protocol extensions for Babel 2.
Provides interfaces and extensions for implementing and consuming
broadcast services in the Babel 2 framework.
Provides interfaces and extensions for implementing and consuming
membership (overlay network) services in the Babel 2 framework.
Address and node component resolution protocol abstractions and extensions for Babel 2.
Cryptographically signed message support and extensions for Babel 2 protocols.
Local network peer discovery protocols for dynamic node address and channel resolution.
-
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.channels
Methods in pt.unl.fct.di.novasys.babel2.channels with parameters of type BabelProtocolModifier and TypeMethodDescriptionBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) Creates a newBabelChannelinstance, registering it with the givenruntimeand limiting its interest to the provided message types. -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.channels.internal
Methods in pt.unl.fct.di.novasys.babel2.channels.internal with parameters of type BabelProtocolModifier and TypeMethodDescriptionInternalBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer
Methods in pt.unl.fct.di.novasys.babel2.channels.legacy.simpleServer with parameters of type BabelProtocolModifier and TypeMethodDescriptionLegacySimpleServerBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.channels.quic
Methods in pt.unl.fct.di.novasys.babel2.channels.quic with parameters of type BabelProtocolModifier and TypeMethodDescriptionQUICBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) Builds the channel or returns a protocol-specific wrapper if the underlying channel has already been constructed. -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.channels.tcp_tls
Methods in pt.unl.fct.di.novasys.babel2.channels.tcp_tls with parameters of type BabelProtocolModifier and TypeMethodDescriptionTCPBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) Creates a newBabelChannelinstance, registering it with the givenruntimeand limiting its interest to the provided message types.TLSBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) Creates a newBabelChannelinstance, registering it with the givenruntimeand limiting its interest to the provided message types. -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.channels.udp
Methods in pt.unl.fct.di.novasys.babel2.channels.udp with parameters of type BabelProtocolModifier and TypeMethodDescriptionUDPBabelChannelBuilder.build(Babel runtime, NodeStore store, BabelNode identity, BabelProtocol protocol) -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.core
Classes in pt.unl.fct.di.novasys.babel2.core with type parameters of type BabelProtocolModifier and TypeInterfaceDescriptioninterfaceBabelProtocolFactory<T extends BabelProtocol>Factory interface for creatingBabelProtocolinstances from aPropertiesconfiguration object.interfaceProtocolExtension<T extends BabelProtocol>A pluggable cross-cutting extension that augments aBabelProtocolwith additional event handling capabilities.Fields in pt.unl.fct.di.novasys.babel2.core declared as BabelProtocolModifier and TypeFieldDescriptionprotected final BabelProtocolAbstractBabelProtocolHolder.protocolThe managed protocol instance.Methods in pt.unl.fct.di.novasys.babel2.core that return BabelProtocolModifier and TypeMethodDescriptionAbstractBabelProtocolHolder.getInnerProtocol()BabelProtocolHolder.getInnerProtocol()Returns the underlying protocol instance managed by this holder.Methods in pt.unl.fct.di.novasys.babel2.core with parameters of type BabelProtocolModifier and TypeMethodDescriptionBabelProtocolHolderFactory.createInstance(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) Creates a newBabelProtocolHolderwrapping the given protocol and extensions.DedicatedExecutorProtocolHolderFactory.createInstance(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) NettyExecutorProtocolHolderFactory.createInstance(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) ProtocolExtensionFactory.createInstance(BabelProtocol protocol) Creates a new instance of the protocol extension.SharedExecutorProtocolHolderFactory.createInstance(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) BabelBootstrap.registerProtocol(BabelProtocol protocol, BabelProtocolHolderFactory holderFactory, BabelChannelBuilder... channelFactories) Registers a protocol instance with this Babel runtime, optionally associating it with one or more channel builders.Method parameters in pt.unl.fct.di.novasys.babel2.core with type arguments of type BabelProtocolModifier and TypeMethodDescription<T> TAbstractBabelProtocolHolder.createHandler(Method method, MethodHandles.Lookup lookup, Class<? extends BabelProtocol> protocolClass, Class<T> handlerInterface, String handlerMethodName, Class<?>[] erasedParamType, Class<?>[] actualParamType) Creates a typed functional-interface handler for the given method usingLambdaMetafactory.<T> TBabelProtocolHolder.createHandler(Method method, MethodHandles.Lookup lookup, Class<? extends BabelProtocol> protocolClass, Class<T> handlerInterface, String handlerMethodName, Class<?>[] erasedParamType, Class<?>[] actualParamType) Creates a typed functional handler instance by binding the specified protocol method viaLambdaMetafactory.BabelProtocolHolderFactory.createInstance(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) Creates a newBabelProtocolHolderwrapping the given protocol and extensions.DedicatedExecutorProtocolHolderFactory.createInstance(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) NettyExecutorProtocolHolderFactory.createInstance(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) SharedExecutorProtocolHolderFactory.createInstance(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) voidBabel.deliverEvent(ProtocolEvent event, Class<? extends BabelProtocol> protocolClass) Distributes aProtocolEventto all protocols that are instances ofprotocolClassregistered with an interest in the event.booleanAbstractBabelProtocolHolder.holdsProtocol(Class<? extends BabelProtocol> protocolClass) booleanBabelProtocolHolder.holdsProtocol(Class<? extends BabelProtocol> protocolClass) Returns whether this holder manages a protocol that is an instance of or assignable to the given protocol class.BabelBootstrap.registerExtension(Class<? extends BabelProtocol> protocol, ProtocolExtensionFactory extension) Registers aProtocolExtensionFactorythat will be applied to every registered protocol that is an instance ofprotocol.Constructors in pt.unl.fct.di.novasys.babel2.core with parameters of type BabelProtocolModifierConstructorDescriptionprotectedAbstractBabelProtocolHolder(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) Constructs a holder forprotocol, wiring up all handlers discovered via reflection and the provided extensions.protectedDedicatedExecutorProtocolHolder(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions, ExecutorService executor, int maxQueueCapacity) Constructs a holder with a dedicated executor and bounded event queue.protectedNettyExecutorProtocolHolder(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions, io.netty.channel.EventLoopGroup executor, int maxQueueCapacity) Constructs a new Netty executor protocol holder.Constructor parameters in pt.unl.fct.di.novasys.babel2.core with type arguments of type BabelProtocolModifierConstructorDescriptionprotectedAbstractBabelProtocolHolder(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) Constructs a holder forprotocol, wiring up all handlers discovered via reflection and the provided extensions.protectedDedicatedExecutorProtocolHolder(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions, ExecutorService executor, int maxQueueCapacity) Constructs a holder with a dedicated executor and bounded event queue.protectedNettyExecutorProtocolHolder(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions, io.netty.channel.EventLoopGroup executor, int maxQueueCapacity) Constructs a new Netty executor protocol holder. -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.core.broadcast
Subinterfaces of BabelProtocol in pt.unl.fct.di.novasys.babel2.core.broadcastModifier and TypeInterfaceDescriptioninterfaceMarker interface for protocols that consume a broadcast service.interfaceInterface for protocols that implement a broadcast service.Methods in pt.unl.fct.di.novasys.babel2.core.broadcast with parameters of type BabelProtocolModifier and TypeMethodDescriptionBroadcastConsumerExtensionFactory.createInstance(BabelProtocol protocol) BroadcastProviderExtensionFactory.createInstance(BabelProtocol protocol) -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.core.membership
Subinterfaces of BabelProtocol in pt.unl.fct.di.novasys.babel2.core.membershipModifier and TypeInterfaceDescriptioninterfaceInterface for protocols that consume a membership (overlay neighbour) service.interfaceInterface for protocols that implement a membership (overlay neighbour) service.Methods in pt.unl.fct.di.novasys.babel2.core.membership with parameters of type BabelProtocolModifier and TypeMethodDescriptionMembershipConsumerExtensionFactory.createInstance(BabelProtocol protocol) MembershipProviderExtensionFactory.createInstance(BabelProtocol protocol) -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.core.resolver
Subinterfaces of BabelProtocol in pt.unl.fct.di.novasys.babel2.core.resolverModifier and TypeInterfaceDescriptioninterfaceInterface for protocols that act as a resolver provider.Methods in pt.unl.fct.di.novasys.babel2.core.resolver with parameters of type BabelProtocolModifier and TypeMethodDescriptionResolverProvideExtensionFactory.createInstance(BabelProtocol protocol) -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.core.signed
Subinterfaces of BabelProtocol in pt.unl.fct.di.novasys.babel2.core.signedModifier and TypeInterfaceDescriptioninterfaceMarker interface for protocols that receive and send cryptographically signed messages.Methods in pt.unl.fct.di.novasys.babel2.core.signed with parameters of type BabelProtocolModifier and TypeMethodDescriptionSignedMessageExtensionFactory.createInstance(BabelProtocol protocol) -
Uses of BabelProtocol in pt.unl.fct.di.novasys.babel2.protocols.discovery
Classes in pt.unl.fct.di.novasys.babel2.protocols.discovery that implement BabelProtocolModifier and TypeClassDescriptionclassProtocol that discovers peer nodes on local networks using multicast/broadcast probes and answers.