public interface NotificationSender
Notifications will be already detected and the message body will be already computed.
There will be different NotificationSenders, depending on the performance and reliability characteristics required by the message type.
Each notification sender will use a NotificationInvoker to actually forward the notification
NotificationInvoker| Modifier and Type | Method and Description |
|---|---|
void |
send(W3CEndpointReference destination,
NotificationMessage message)
sends a given message according to specific policies.
|
void |
setInvoker(NotificationInvoker invoker)
Sets the notification invoker which will actually perform the notification delivery.
|
void send(W3CEndpointReference destination, NotificationMessage message)
destination - destination EPRmessage - messagevoid setInvoker(NotificationInvoker invoker)
invoker - notification invokerCopyright © 2017. All rights reserved.