Modifier and Type | Method and Description |
---|---|
void |
RemoteEventConnector.activate(Domain aDomain,
EventFilter anEventFilter,
EventNotification anEventNotification,
AsyncCallback<Void> aCallback)
Activates the connector for the domain.
|
void |
RemoteEventConnector.deactivate(Domain aDomain,
AsyncCallback<Void> aCallback)
Deactivates the connector for the domain (no events can be got from the domain).
|
void |
RemoteEventConnector.deregisterEventFilter(Domain aDomain,
AsyncCallback<Void> aCallback)
Deregisters the
EventFilter for a domain. |
void |
RemoteEventConnector.registerEventFilter(Domain aDomain,
EventFilter anEventFilter,
AsyncCallback<Void> aCallback)
Registers an
EventFilter for a domain. |
void |
RemoteEventConnector.sendEvent(Domain aDomain,
Event anEvent,
AsyncCallback<Void> aCallback)
Sends an event to a domain.
|
Modifier and Type | Method and Description |
---|---|
void |
RemoteEventConnector.deactivate(Set<Domain> aDomains,
AsyncCallback<Void> aCallback)
Deactivates the connector for the domains (no events can be got from the domains).
|
Modifier and Type | Method and Description |
---|---|
Domain |
DomainEvent.getDomain()
Returns the domain where the event has occurred.
|
Domain |
DefaultDomainEvent.getDomain()
Returns the domain where the event has occurred.
|
Constructor and Description |
---|
DefaultDomainEvent(Event aEvent,
Domain aDomain)
Creates a new DomainEvent with an event and a domain.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDomain
Domains/contexts are used to specify the range where events should occur and listened.
|
Modifier and Type | Field and Description |
---|---|
static Domain |
DomainFactory.UNLISTEN_DOMAIN
All unlisten events (
UnlistenEvent ) will be registered to
the UNLISTEN_DOMAIN. |
static Domain |
DomainFactory.USER_SPECIFIC_DOMAIN
The
DomainFactory.USER_SPECIFIC_DOMAIN is a special domain for
user-specific events. |
Modifier and Type | Method and Description |
---|---|
static Domain |
DomainFactory.getDomain(String aDomainName)
Creates a new
Domain with a name. |
Modifier and Type | Method and Description |
---|---|
int |
DefaultDomain.compareTo(Domain aDomain) |
Modifier and Type | Method and Description |
---|---|
Set<Domain> |
UnlistenEvent.getDomains()
Returns the domain for which isn't listening anymore.
|
Set<Domain> |
DefaultUnlistenEvent.getDomains()
Returns the domain for which isn't listening anymore.
|
Modifier and Type | Method and Description |
---|---|
void |
UnlistenEvent.setDomains(Set<Domain> aDomains)
A
Domain can be set to the UnlistenEvent when the unlisten event
is domain specific. |
void |
DefaultUnlistenEvent.setDomains(Set<Domain> aDomains)
A
Domain can be set to the UnlistenEvent when the unlisten event
is domain specific. |
Constructor and Description |
---|
DefaultUnlistenEvent(Set<Domain> aDomains,
String aUserId,
boolean isTimeout)
Creates an UnlistenEvent for a specific domain.
|
DefaultUnlistenEvent(Set<Domain> aDomains,
String aUserId,
boolean isTimeout,
boolean isLocal)
Creates an UnlistenEvent for a specific domain.
|
Modifier and Type | Method and Description |
---|---|
Set<Domain> |
EventService.getActiveListenDomains()
Returns the domain names, where the user is listening to
|
Modifier and Type | Method and Description |
---|---|
void |
EventService.addEvent(Domain aDomain,
Event anEvent)
Adds an event for all users in the domain.
|
void |
EventServiceAsync.addEvent(Domain aDomain,
Event anEvent,
AsyncCallback<Void> async)
Adds an event for all users in the domain.
|
void |
EventService.deregisterEventFilter(Domain aDomain)
Deregisters the
EventFilter of the domain. |
void |
EventServiceAsync.deregisterEventFilter(Domain aDomain,
AsyncCallback<Void> async)
Deregisters the
EventFilter of the domain. |
EventFilter |
EventService.getEventFilter(Domain aDomain)
Returns the EventFilter for the user domain combination.
|
void |
EventServiceAsync.getEventFilter(Domain aDomain,
AsyncCallback<EventFilter> async)
Returns the EventFilter for the user domain combination.
|
boolean |
EventService.isUserRegistered(Domain aDomain)
Checks if the user is registered for event listening.
|
void |
EventServiceAsync.isUserRegistered(Domain aDomain,
AsyncCallback<Boolean> async)
Checks if the user is registered for event listening.
|
void |
EventService.register(Domain aDomain)
Register listen for a domain.
|
void |
EventServiceAsync.register(Domain aDomain,
AsyncCallback<Void> async)
Register listen for a domain.
|
void |
EventService.register(Domain aDomain,
EventFilter anEventFilter)
Register listen for a domain.
|
void |
EventServiceAsync.register(Domain aDomain,
EventFilter anEventFilter,
AsyncCallback<Void> async)
Register listen for a domain.
|
void |
EventService.registerEventFilter(Domain aDomain,
EventFilter anEventFilter)
Registers an
EventFilter for the domain. |
void |
EventServiceAsync.registerEventFilter(Domain aDomain,
EventFilter anEventFilter,
AsyncCallback<Void> async)
Registers an
EventFilter for the domain. |
void |
EventService.unlisten(Domain aDomain)
Unlisten for events
|
void |
EventServiceAsync.unlisten(Domain aDomain,
AsyncCallback<Void> async)
Unlisten for events
|
Modifier and Type | Method and Description |
---|---|
void |
EventServiceAsync.getActiveListenDomains(AsyncCallback<Set<Domain>> async)
Returns the domain names, where the user is listening to
|
void |
EventService.register(Set<Domain> aDomains)
Register listen for a domain.
|
void |
EventServiceAsync.register(Set<Domain> aDomains,
AsyncCallback<Void> async)
Register listen for a domain.
|
void |
EventService.register(Set<Domain> aDomains,
EventFilter anEventFilter)
Register listen for domains.
|
void |
EventServiceAsync.register(Set<Domain> aDomains,
EventFilter anEventFilter,
AsyncCallback<Void> async)
Register listen for domains.
|
void |
EventService.unlisten(Set<Domain> aDomains)
Unlisten for events (for the current user) in the domains and deregisters the user from the domains.
|
void |
EventServiceAsync.unlisten(Set<Domain> aDomains,
AsyncCallback<Void> async)
Unlisten for events (for the current user) in the domains and deregisters the user from the domains.
|
Copyright © 2012. All Rights Reserved.