public interface NotificationSubscriber extends Subscriber
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT_NOTICE |
Modifier and Type | Method and Description |
---|---|
void |
postExitCall(java.lang.String emitter,
DataObject daisyChainDGRootDO,
DataObject adapterDGRootDO)
Function call is called at the end of a Topic-Emitter and allows
the NotificationSubscriber to execute its PostExit code.
|
void |
preExitCall(java.lang.String emitter,
DataObject pristineDGRootDO)
This function is called at the beginning of a Topic-Emitter and allows
the NotificationSubscriber to execute its PreExit code.
|
getSubscriberName, getSubscriberType, initSubscriber, recovery, shutdownSubscriber
static final java.lang.String COPYRIGHT_NOTICE
void preExitCall(java.lang.String emitter, DataObject pristineDGRootDO) throws SubscriberException
emitter
- The topic-emitter name on which the subscriber is listening onpristineDGRootDO
- Root The DataObject which has the information passed from API.
This DataObject will be unchanged from the call to the API.SubscriberException
void postExitCall(java.lang.String emitter, DataObject daisyChainDGRootDO, DataObject adapterDGRootDO) throws SubscriberException
emitter
- The topic-emitter name on which the subscriber is listening ondaisyChainDGRootDO
- Root The DataObject which has the information passed from API
which might have been modified by other subscribersadapterDGRootDO
- Root The DataObject returned by the adapterSubscriberException