Uses of Interface
pt.unl.fct.di.novasys.babel2.core.BabelProtocolHolder
Packages that use BabelProtocolHolder
Package
Description
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.
Cryptographically signed message support and extensions for Babel 2 protocols.
-
Uses of BabelProtocolHolder in pt.unl.fct.di.novasys.babel2.core
Classes in pt.unl.fct.di.novasys.babel2.core that implement BabelProtocolHolderModifier and TypeClassDescriptionclassAbstract base implementation ofBabelProtocolHolderproviding handler discovery via reflection, dynamic lambda generation, and dispatch routines.final classABabelProtocolHolderimplementation that runs the protocol on a dedicated, single-threaded executor using a lock-freeMpscArrayQueue.final classProtocol holder implementation executing protocol event handlers on a NettyEventLoopGroup.final classABabelProtocolHolderimplementation that schedules event queue draining on a shared thread pool executor.Methods in pt.unl.fct.di.novasys.babel2.core that return BabelProtocolHolderModifier 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) SharedExecutorProtocolHolderFactory.createInstance(BabelProtocol protocol, Set<ProtocolExtension<? extends BabelProtocol>> extensions) Methods in pt.unl.fct.di.novasys.babel2.core with parameters of type BabelProtocolHolderModifier and TypeMethodDescriptiondefault voidProtocolExtension.register(Method method, MethodHandles.Lookup lookup, T protocol, BabelProtocolHolder holder, Annotation annotation) Called bySharedExecutorProtocolHolderduring initialisation for each method on the protocol that carries one of the annotations returned byProtocolExtension.annotationClass(). -
Uses of BabelProtocolHolder in pt.unl.fct.di.novasys.babel2.core.broadcast
Methods in pt.unl.fct.di.novasys.babel2.core.broadcast with parameters of type BabelProtocolHolderModifier and TypeMethodDescriptionvoidBroadcastConsumerExtension.register(Method method, MethodHandles.Lookup lookup, BroadcastConsumerBabelProtocol protocol, BabelProtocolHolder holder, Annotation annotation) -
Uses of BabelProtocolHolder in pt.unl.fct.di.novasys.babel2.core.signed
Methods in pt.unl.fct.di.novasys.babel2.core.signed with parameters of type BabelProtocolHolderModifier and TypeMethodDescriptionvoidSignedMessageExtension.register(Method method, MethodHandles.Lookup lookup, SignedMessageBabelProtocol protocol, BabelProtocolHolder holder, Annotation annotation)