cgl.narada.wsinfra.wse
Interface WseSubscriptionManager

All Known Implementing Classes:
WseSubscriptionManagerProcessor

public interface WseSubscriptionManager

This interface encapsulates the behavior of a WS-Eventing subscription manager node.


Method Summary
 GetStatusResponseDocument processGetStatusOfSubscription(GetStatusDocument getStatusDocument)
          Process the a GetStatus request issued by a sink.
 RenewResponseDocument processRenewSubscription(RenewDocument renewDocument)
          Process a renew request issued by a sink.
 void processSubscriptionAddition(EnvelopeDocument envelopeDocument, AddressingHeaders addressingHeaders)
          This method is used to notify a subscription manager of the a successuful subscription request-response combination.
 EnvelopeDocument processUnsubscribe(UnsubscribeDocument unsubscribeDocument)
          Process an unsubscribe request issued by a sink.
 

Method Detail

processSubscriptionAddition

void processSubscriptionAddition(EnvelopeDocument envelopeDocument,
                                 AddressingHeaders addressingHeaders)
                                 throws WsFaultException,
                                        MessageFlowException
This method is used to notify a subscription manager of the a successuful subscription request-response combination. The request (issued by the sink) allows a subscription manager to know about the subscription, while the response (issued by the source) allows it know the wse:Identifer for this subscription and also the expiry associated with the subscription. Also note that the wse:Identifier is what is used by the sinks in all their interactions with the subscription manager

Throws:
WsFaultException
MessageFlowException

processGetStatusOfSubscription

GetStatusResponseDocument processGetStatusOfSubscription(GetStatusDocument getStatusDocument)
                                                         throws WsFaultException
Process the a GetStatus request issued by a sink. A fault may be thrown if there are problems processing this request. wse:Identifer is needed.

Throws:
WsFaultException

processRenewSubscription

RenewResponseDocument processRenewSubscription(RenewDocument renewDocument)
                                               throws WsFaultException
Process a renew request issued by a sink. A fault may be thrown if there are problems processing this request. wse:Identifier is needed

Throws:
WsFaultException

processUnsubscribe

EnvelopeDocument processUnsubscribe(UnsubscribeDocument unsubscribeDocument)
                                    throws WsFaultException
Process an unsubscribe request issued by a sink. A fault may be thrown if there are problems processing this request. wse:Identifier is needed

Throws:
WsFaultException


For comments and suggestions please send e-mail to The NaradaBrokering Project
indiana.edu> The NaradaBrokering Project
HTML>