Package net.sf.eBus.config
Provides classes needed to configure eBus network and eBus
core modules. This includes
dispatcher and
pause configuration.
This configuration package provides the utility classes:
-
AddressFilter: provides ability to positively filter accepted connections. "Positive" means that the accepted connection must be from a host or host and port that is in the filter. -
InetAddressComparator: provides comparison between twojava.net.InetAddressinstances. -
InetSocketAddressComparator: provides comparison between twojava.net.InetSocketAddressinstances.
-
Class Summary Class Description AddressFilter Stores a set ofInetSocketAddresses and determines if a given address passes the filter.EConfigure This immutable class contains eBus services, remote connection, dispatcher, and pause configuration.EConfigure.AbstractBuilder<T extends EConfigure.AbstractBuilder> Base class forEConfigure.ServerBuilderandEConfigure.ConnectionBuilder, containing the properties common to both.EConfigure.AbstractConfig Base class for service and remote connections.EConfigure.ConnectionBuilder Constructs anEConfigure.RemoteConnectioninstance based on the parameters set via the builder's API.EConfigure.Dispatcher eBus uses aDispatcherto forward messages to client.EConfigure.DispatcherBuilder Constructs anEConfigure.Dispatcherconfiguration instance based on the parameters set via the builder's API.EConfigure.McastNotifyBuilder Builder used to createEConfigure.McastNotifyConfiginstances.EConfigure.McastNotifyConfig Contains the notification message class and subject(s) which defines the messages either published by aEConfigure.MulticastConnectionor subscribed to.EConfigure.MulticastBuilder Builder used to created aEConfigure.MulticastConnectionconnection instance.EConfigure.MulticastConnection AMulticastConnectioninstance is used to create anet.sf.eBus.client.EMulticastConnectionand contains all the settings which define a multicast connection.EConfigure.PauseBuilder Constructs aEConfigure.PauseConfiginstance based on the parameters set via the builder API.EConfigure.PauseConfig If a remote connection is to be paused, then this is the allowed pause configuration.EConfigure.RemoteConnection This immutable class stores the information pertaining to a remote eBus connection.EConfigure.ScheduledExecutor eBus clients should consider usingnet.sf.eBus.client.EScheduledExecutorto perform timed tasks since expired tasks are posted to the client's dispatcher.EConfigure.ScheduledExecutorBuilder Constructs anEConfigure.ScheduledExecutorconfiguration instance based on the parameters set via the builder's API.EConfigure.ServerBuilder Constructs anEConfigure.Serviceinstance based on the parameters set via this builder's API.EConfigure.Service This immutable class stores the configuration for an eBus service.EConfigure.ThreadBuilder<T extends EConfigure.ThreadConfig,B extends EConfigure.ThreadBuilder> Contains configuration settings common toEConfigure.DispatcherBuilderandEConfigure.ScheduledExecutorBuilder.EConfigure.ThreadConfig Base class forEConfigure.DispatcherandEConfigure.ScheduledExecutorcontaining settings common to both configurations.ENetConfigure This immutable class contains selector thread configuration extracted from properties.ENetConfigure.SelectorInfo This immutable class contains the selector thread configuration for the named selector.ENetConfigure.SelectorInfoBuilder Constructs anENetConfigure.SelectorInfoinstance based on the parameters set via the builder's API.InetAddressComparator Compares twoInetAddressaddresses using the address bytes.InetSocketAddressComparator Compares twojava.net.InetSocketAddressinstances based on the address bytes and the TCP port.ThreadAffinity Provides interface to OpenHFT Thread Affinity Library based on a givenThreadAffinityConfigure.ThreadAffinityConfigure This immutable class contains the necessary information needed to create an affinity between a thread and a core using OpenHFT Thread Affinity Library.ThreadAffinityConfigure.Builder Constructs aThreadAffinityConfigureinstance based on the builder settings. -
Enum Summary Enum Description EConfigure.ConnectionRole Defines remote connection side, either acceptor or initiator.EConfigure.ConnectionType Enumerates the channel types supported by eBusERemoteApp.EConfigure.DiscardPolicy When a connection is paused and the server message backlog breaches the maximum allowed message backlog limit, this policy specifies which messages should be discarded to keep the backlog at the limit.EConfigure.DispatcherType Enumerates the supported eBus dispatcher thread types.EConfigure.MessageCompilerType Defines supported eBus message compilers.EConfigure.MulticastRole Multicast connections are used to transmit notification messages only.EConfigure.MultifeedType A multi-feed uses either a fixed list of subjects or a subject query.ThreadAffinityConfigure.AffinityType These affinity types map to a specificAffinityLock staticmethod used to acquire an affinity lock.ThreadType Lists the thread types available to eBus users when configuring eBus.