Package | Description |
---|---|
org.refcodes.observer | |
org.refcodes.observer.impls |
Modifier and Type | Interface and Description |
---|---|
interface |
EventMatcher<E extends Event<?>>
This interface typifies the
Matcher interface for the usage with
ActionEvent instances. |
interface |
Observer<E extends Event<?>>
The listener of an event subscriber to be fed with events by a event
publisher.
|
interface |
ObserverDescriptor<E extends Event<?>,O extends Observer<E>,EM extends EventMatcher<E>>
This
ObserverDescriptor describes the Observer , i.e. in some
cases an Observer requires an EventMatcher which determines
which ActionEvent instances to pass to the Observer . |
interface |
Publisher<E extends Event<?>>
A system publishing
ActionEvent instances (such as an event bus), may
implement this interface. |
Modifier and Type | Interface and Description |
---|---|
interface |
ActionEvent<A,SRC>
|
interface |
MetaDataActionEvent<A,SRC>
An
MetaDataActionEvent is published by an Observable and is
consumed by zero to many Observer instances. |
interface |
MetaDataEvent<SRC>
|
interface |
SubscribeEvent<O extends Observable<?>>
An
SubscribeEvent is published by an Observable when an
observer is being subscribed. |
interface |
UnsubscribeEvent<O extends Observable<?>>
An
UnsubscribeEvent is published by an Observable when an
observer is being unsubscribed. |
Modifier and Type | Class and Description |
---|---|
class |
ObserverDescriptorImpl<E extends Event<?>,O extends Observer<E>,EM extends EventMatcher<E>>
As a descriptor describes something fixed, this class is immutable in the
sense that there are no setters for the attributes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractActionEvent<A,SRC> |
class |
AbstractEvent<SRC> |
class |
MetaDataActionEventImpl<A,SRC>
Ready to use
ActionEvent storing a defined set of
EventMetaData . |
class |
MetaDataEventImpl<SRC>
Ready to use
ActionEvent storing a defined set of
EventMetaData . |
class |
SubscribeEventImpl<O extends Observable<?>> |
class |
UnsubscribeEventImpl<O extends Observable<?>> |
Copyright © 2017. All rights reserved.