| Package | Description |
|---|---|
| net.sf.eBus.client |
This package contains the top-level eBus API which
applications use to interact with eBus.
|
| net.sf.eBus.client.sysmessages |
This package defines the eBus system messages.
|
| net.sf.eBus.messages |
Messages are the heart of eBus.
|
| Modifier and Type | Field and Description |
|---|---|
static EMessageKey |
ERemoteApp.CONNECTION_UPDATE_KEY
eBus connection updates are reported using
ConnectionMessage and the subject
"/eBus". |
static EMessageKey |
ServerMessage.MESSAGE_KEY
The server message key
ServerMessage.class:/eBus. |
static EMessageKey |
ConnectionMessage.MESSAGE_KEY
The connection message key
ConnectionMessage.class:/eBus. |
static EMessageKey |
EServer.NEW_CONNECTION_KEY
Newly accepted eBus connections are reported using
ServerMessage and the subject
"/eBus". |
| Modifier and Type | Method and Description |
|---|---|
EMessageKey |
IEFeed.key()
Returns the message key associated with this feed.
|
EMessageKey |
EMultiFeed.key()
Returns a message key with
EMultiFeed.messageClass() as the
class and EMultiFeed.MULTIFEED_SUBJECT as the subject. |
| Modifier and Type | Method and Description |
|---|---|
static List<EMessageKey> |
EFeed.findKeys()
Returns a non-
null, possibly empty, message key
list taken from the current message key dictionary
entries. |
static List<EMessageKey> |
EFeed.findKeys(Class<? extends EMessage> mc)
Returns a list containing message keys for the given
message class found in the message key dictionary.
|
static List<EMessageKey> |
EFeed.findKeys(Class<? extends EMessage> mc,
Pattern query)
Returns a list containing message keys for the given
message class and subject pattern found in the message key
dictionary.
|
List<EMessageKey> |
EMultiFeed.keys()
Returns the current subordinate feed message keys.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
EFeed.addKey(EMessageKey key)
Adds
key to the eBus message key dictionary if
key is not already defined. |
protected static void |
EFeed.checkScopes(EMessageKey key,
EFeed.FeedScope scope)
Checks if the message scope and feed scope are in
agreement.
|
protected ESubscribeFeed |
EMultiSubscribeFeed.createFeed(EMessageKey key)
Returns a newly minted subordinate subscribe feed for the
given key.
|
protected ERequestFeed |
EMultiRequestFeed.createFeed(EMessageKey key)
Returns a newly minted subordinate request feed for the
given key.
|
protected EReplyFeed |
EMultiReplyFeed.createFeed(EMessageKey key)
Returns a newly minted subordinate reply feed for the
given key.
|
protected EPublishFeed |
EMultiPublishFeed.createFeed(EMessageKey key)
Returns a newly minted subordinate publish feed for the
given key.
|
protected abstract F |
EMultiFeed.createFeed(EMessageKey key)
Returns a newly minted subordinate feed for the given
message key.
|
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 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 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 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 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.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
EFeed.addAllKeys(Collection<EMessageKey> keys)
Adds the given message key collection to the message key
dictionary if all keys are not null and reference
notification and/or request messages.
|
| Modifier and Type | Method and Description |
|---|---|
EMessageKey |
AbstractKeyMessage.messageKey()
Returns the message key based on the message class name
and subject.
|
| Modifier and Type | Method and Description |
|---|---|
KeyMessage.Builder |
KeyMessage.Builder.key(EMessageKey key)
Sets the message class name and subject based on the
given message key.
|
B |
AbstractKeyMessage.Builder.messageKey(EMessageKey key)
Sets both the message class name and subject based on
the given message key.
|
| Modifier and Type | Method and Description |
|---|---|
EMessageKey |
EMessageList.key()
Returns the list element message key.
|
EMessageKey |
EMessage.key()
Returns the unique message key based on the message class
and subject.
|
EMessageKey |
EMessageHeader.messageKey()
Returns the encapsulated message key.
|
static EMessageKey |
EMessageKey.parseKey(String s)
Returns a message key parsed from the given input.
|
| Modifier and Type | Method and Description |
|---|---|
int |
EMessageKey.compareTo(EMessageKey key)
Returns an integer value that is <, equal to or >
zero if
this EMessageKey is <, equal to or
> key. |
| Constructor and Description |
|---|
EMessageList(Collection<E> c,
EMessageKey key)
Creates a message list instance containing the same
elements as
c and in the order returned by the
collection's iterator. |
EMessageList(EMessageKey key)
Creates an empty message list instance with an initial
capacity of ten.
|
EMessageList(int initialCapacity,
EMessageKey key)
Creates an empty message list instance with the specified
initial capacity.
|
Copyright © 2019. All rights reserved.