| 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 ECondition |
EMultiFeed.mCondition
Use this condition to check if received message should be
forwarded to client.
|
static ECondition |
EFeed.NO_CONDITION
The default condition always returns true.
|
| Modifier and Type | Method and Description |
|---|---|
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 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 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 |
|---|
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.
|
NotifyTask(ENotificationMessage message,
ECondition condition,
IESubscribeFeed feed,
NotifyCallback cb)
Creates a notify callback task for the given
parameters.
|
Copyright © 2019. All rights reserved.