|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ws4d.java.service.ServiceSubscription
public class ServiceSubscription
Instances of this class hold essential information about an event
subscription as seen from the server-side. These include the
endpoint reference to which events are to be
delivered, the actions the subscription
addresses, its expiration time and the optional
endpoint to which the server-initiated end of the subscription should be
announced.
| Constructor Summary | |
|---|---|
ServiceSubscription(ProtocolInfo pInfo)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCommunicationManagerID()
Returns the ID of the protocol to communicate over with the client (aka. |
EprInfo |
getEndTo()
Returns the (optional) EprInfo to which a server-side cancellation of the subscription should be announced. |
long |
getExpirationTime()
Returns the expiration time of this subscription in milliseconds from the epoch. |
Iterator |
getFilterActions()
Returns a read-only iterator over the set of action URIs to
which this subscription refers. |
EprInfo |
getNotifyTo()
Returns the EprInfo to which notifications matching this subscription shall be sent. |
ProtocolInfo |
getProtocolInfo()
|
EndpointReference |
getSubscriptionManager()
Returns the EPR of the subscription manager governing the state of this service subscription. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceSubscription(ProtocolInfo pInfo)
| Method Detail |
|---|
public long getExpirationTime()
public EprInfo getNotifyTo()
Be aware that the xAddress of the returned EprInfo may be
null if the endpoint reference is not a transport address
EprInfo to which to send notificationspublic EprInfo getEndTo()
Be aware that the xAddress of the returned EprInfo may be
null if the endpoint reference is not a transport address
EprInfo to which to send a subscription-end
announcementpublic java.lang.String getCommunicationManagerID()
notify-to or end-to addresses.
public Iterator getFilterActions()
action URIs to
which this subscription refers. This method never returns
null, it will instead return an empty iterator in the case
where no filter actions are available.
URI instances representing the actions
to which this subscription referspublic EndpointReference getSubscriptionManager()
public ProtocolInfo getProtocolInfo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||