| Package | Description |
|---|---|
| net.sf.eBus.client |
This package contains the top-level eBus API which
applications use to interact with eBus.
|
| net.sf.eBus.messages |
Messages are the heart of eBus.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEBusMessage
Base class for eBus
ConnectionMessage and
ServerMessage classes. |
class |
ConnectionMessage
This message reports when a
remote connection has either
logged on or logged off. |
class |
ServerMessage
This message reports the
remote Internet address and TCP port
of a connection newly accepted by EServer but not yet
logged in. |
| Modifier and Type | Method and Description |
|---|---|
void |
NotifyCallback.call(ENotificationMessage msg,
IESubscribeFeed feed)
An incoming notification message from
feed. |
void |
TestSubscriberContext.notify(ENotificationMessage msg) |
default void |
ESubscriber.notify(ENotificationMessage msg,
IESubscribeFeed feed)
An incoming notification message from
feed. |
void |
ERemoteApp.notify(ENotificationMessage msg,
IESubscribeFeed feed)
Forwards the message to the remote eBus application if the
subscription is still in place.
|
void |
TestPublisherContext.publish(ENotificationMessage msg) |
void |
IEPublishFeed.publish(ENotificationMessage msg)
Posts this notification message to all interested
subscribers.
|
void |
EPublishFeed.publish(ENotificationMessage msg)
Posts this notification message to all interested
subscribers.
|
void |
EMultiPublishFeed.publish(ENotificationMessage msg)
Posts a notification message to all subscribers via the
subordinate publish feed which matches the message's key.
|
| Modifier and Type | Method and Description |
|---|---|
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 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.
|
| Constructor and Description |
|---|
NotifyTask(ENotificationMessage message,
ECondition condition,
IESubscribeFeed feed,
NotifyCallback cb)
Creates a notify callback task for the given
parameters.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ENotificationMessage.Builder<M extends ENotificationMessage,B extends ENotificationMessage.Builder<M,?>>
Base class for all
ENotificationMessage builders. |
Copyright © 2019. All rights reserved.