|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.systinet.wasp.policy.PolicyElement
org.systinet.wasp.policy.PolicyAssertion
org.systinet.wasp.wsrm.feb2005.policy.AcknowledgementIntervalAssertion
Acknowledgements can be sent on return messages or sent stand alone. In the case that a return message is not available to send an acknowledgement a destination may wait for up to the acknowledgement interval before sending a stand alone acknowledgement. If there are no unacknowledged messages, the destination may choose not to send an acknowledgement.
This assertion does not alter the formulation of messages or acknowledgements as transmitted. Its purpose is to communicate the timing of acknowledgements so that the source may tune appropriately. It does not alter the meaning of theAckRequested
directive.
Constructor Summary | |
AcknowledgementIntervalAssertion(long acknowledgementInterval,
PolicyUsage usage)
Creates this assertion with given acknowledgement interval. |
|
AcknowledgementIntervalAssertion(javax.xml.transform.Source content)
Loads this assertion from given XML source. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
long |
getAcknowledgementInterval()
Gets acknowledgement interval of this assertion. |
javax.xml.transform.Source |
getContent()
Gets XML content of this assertion. |
int |
hashCode()
|
Methods inherited from class org.systinet.wasp.policy.PolicyElement |
getParentElement, getPreference, getUsage, readStandardAttributes, setParentElement, setPreference, setUsage, writeStandardAttributes |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AcknowledgementIntervalAssertion(javax.xml.transform.Source content) throws PolicyException
content
- XML source
PolicyException
- when an error occurs during the assertion loadingpublic AcknowledgementIntervalAssertion(long acknowledgementInterval, PolicyUsage usage)
acknowledgementInterval
- acknowledgement interval in millisecondsusage
- PolicyUsage.OBSERVED
or PolicyUsage.IGNORED
Method Detail |
public long getAcknowledgementInterval()
public javax.xml.transform.Source getContent() throws PolicyException
getContent
in class PolicyAssertion
PolicyException
- when an error occurspublic int hashCode()
public boolean equals(java.lang.Object obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |