| Package | Description |
|---|---|
| net.sf.eBus.client |
This package contains the top-level eBus API which
applications use to interact with eBus.
|
| Modifier and Type | Field and Description |
|---|---|
protected EFeed.FeedScope |
EFeed.mScope
The feed scope is either limited to this local JVM only,
remote JVMs only, and both local and remote JVMs.
|
| Modifier and Type | Method and Description |
|---|---|
EFeed.FeedScope |
IEFeed.scope()
Returns the feed scope.
|
EFeed.FeedScope |
EFeed.scope()
Returns the feed scope: local only, local & remote, or
remote only.
|
static EFeed.FeedScope |
EFeed.FeedScope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EFeed.FeedScope[] |
EFeed.FeedScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
EFeed.checkScopes(EMessageKey key,
EFeed.FeedScope scope)
Checks if the message scope and feed scope are in
agreement.
|
M |
EMultiFeed.MultiFeedFactory.newFeed(EClient client,
Class<? extends C> mc,
EFeed.FeedScope scope,
ECondition condition,
Map<CharSequence,F> feeds)
Returns a newly instantiated multi-key feed based on
the given parameters.
|
F |
EMultiFeed.SubordinateFeedFactory.newFeed(R client,
EMessageKey key,
EFeed.FeedScope scope,
ECondition condition,
EClient.ClientLocation location)
Returns a newly instantiated
EFeed-subclass
instance based on the given parameters. |
static EMultiPublishFeed |
EMultiPublishFeed.open(EPublisher client,
Class<? extends ENotificationMessage> mc,
List<String> subjects,
EFeed.FeedScope scope)
Returns an open publish feed for multiple notification
message keys.
|
static EMultiPublishFeed |
EMultiPublishFeed.open(EPublisher client,
Class<? extends ENotificationMessage> mc,
Pattern query,
EFeed.FeedScope scope)
Returns an open publish feed for a notification message
class and multiple subjects.
|
static EPublishFeed |
EPublishFeed.open(EPublisher client,
EMessageKey key,
EFeed.FeedScope scope)
Returns a notification publish feed for the specified
notification message class and subject.
|
static EPublishFeed |
EPublishFeed.open(EPublisher cl,
EMessageKey key,
EFeed.FeedScope scope,
EClient.ClientLocation l,
boolean isMulti)
Returns a notification publish feed for the specified
notification message class and subject.
|
static EMultiReplyFeed |
EMultiReplyFeed.open(EReplier client,
Class<? extends ERequestMessage> mc,
List<String> subjects,
EFeed.FeedScope scope,
ECondition condition)
Returns an open reply feed for multiple request message
keys.
|
static EMultiReplyFeed |
EMultiReplyFeed.open(EReplier client,
Class<? extends ERequestMessage> mc,
Pattern query,
EFeed.FeedScope scope,
ECondition condition)
Returns an open reply feed for a request message class
and multiple subjects.
|
static EReplyFeed |
EReplyFeed.open(EReplier client,
EMessageKey key,
EFeed.FeedScope scope,
ECondition condition)
Returns a reply advertiser feed for the specified request
message class and subject.
|
static EReplyFeed |
EReplyFeed.open(EReplier client,
EMessageKey key,
EFeed.FeedScope scope,
ECondition condition,
EClient.ClientLocation l,
MessageType dataType,
boolean isMulti)
Returns a reply advertiser feed for the specified request
message class and subject.
|
static EMultiRequestFeed |
EMultiRequestFeed.open(ERequestor client,
Class<? extends ERequestMessage> mc,
List<String> subjects,
EFeed.FeedScope scope)
Returns an open multi-key feed for the given request
message class and message subjects list.
|
static EMultiRequestFeed |
EMultiRequestFeed.open(ERequestor client,
Class<? extends ERequestMessage> mc,
Pattern query,
EFeed.FeedScope scope)
Returns an open multi-key request feed for a given
request message class and multiple message subjects.
|
static ERequestFeed |
ERequestFeed.open(ERequestor client,
EMessageKey key,
EFeed.FeedScope scope)
Creates a new request feed for the given client, message
key, and feed scope.
|
static ERequestFeed |
ERequestFeed.open(ERequestor cl,
EMessageKey key,
EFeed.FeedScope scope,
EClient.ClientLocation l,
boolean isMulti)
Creates a new request feed for the given client, message
key, and feed scope.
|
static EMultiSubscribeFeed |
EMultiSubscribeFeed.open(ESubscriber client,
Class<? extends ENotificationMessage> mc,
List<String> subjects,
EFeed.FeedScope scope,
ECondition condition)
Returns an open multi-key subscribe feed for the given
notification message class and multiple subjects.
|
static EMultiSubscribeFeed |
EMultiSubscribeFeed.open(ESubscriber client,
Class<? extends ENotificationMessage> mc,
Pattern query,
EFeed.FeedScope scope,
ECondition condition)
Returns an open multi-key subscribe feed for a given
notification message class and multiple message subjects.
|
static ESubscribeFeed |
ESubscribeFeed.open(ESubscriber client,
EMessageKey key,
EFeed.FeedScope scope,
ECondition condition)
Returns a notification subscriber feed for the specified
notification message class and subject.
|
protected static <R extends EObject,C extends EMessage,F extends net.sf.eBus.client.ESingleFeed,M extends EMultiFeed<C,F>> |
EMultiFeed.openList(R client,
Class<? extends C> mc,
List<String> subjects,
EFeed.FeedScope scope,
ECondition condition,
EMultiFeed.SubordinateFeedFactory<R,F> subFactory,
EMultiFeed.MultiFeedFactory<M,C,F> multiFactory)
Returns a new, opened multi-key feed for the given
parameters.
|
protected static <R extends EObject,C extends EMessage,F extends net.sf.eBus.client.ESingleFeed,M extends EMultiFeed<C,F>> |
EMultiFeed.openQuery(R client,
Class<? extends C> mc,
Pattern query,
EFeed.FeedScope scope,
ECondition condition,
EMultiFeed.SubordinateFeedFactory<R,F> subFactory,
EMultiFeed.MultiFeedFactory<M,C,F> multiFactory)
Returns a new, opened multi-key feed for the given message
class and subject regular expression query.
|
| Constructor and Description |
|---|
EFeed(EClient client,
EFeed.FeedScope feedScope)
Creates an eBus feed for the given client subject, scope,
and feed type.
|
EMultiFeed(EClient client,
Class<? extends C> msgClass,
EFeed.FeedScope scope,
ECondition condition,
Map<CharSequence,F> feeds)
Creates a new multiple key feed for the given eBus client,
message class, scope, and initial feeds.
|
ENotifyFeed(EClient client,
EFeed.FeedScope scope,
ESingleFeed.FeedType feedType,
net.sf.eBus.client.ESubject subject)
Creates a new notification feed instance.
|
Copyright © 2019. All rights reserved.