org.systinet.wasp.wsrm.feb2005.policy
Class ExponentialBackoffAssertion
java.lang.Object
org.systinet.wasp.policy.PolicyElement
org.systinet.wasp.policy.PolicyAssertion
org.systinet.wasp.wsrm.feb2005.policy.ExponentialBackoffAssertion
- public class ExponentialBackoffAssertion
- extends PolicyAssertion
This assertion specifies that the retransmission interval will be adjusted using the exponential backoff algorithm.
- Component:
- WS Reliable Messaging Implementation
Method Summary |
boolean |
equals(java.lang.Object obj)
|
javax.xml.transform.Source |
getContent()
Gets XML content of this assertion. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ExponentialBackoffAssertion
public ExponentialBackoffAssertion(javax.xml.transform.Source content)
throws PolicyException
- Loads this assertion from given XML source.
- Parameters:
content
- XML source
- Throws:
PolicyException
- when an error occurs during the assertion loading
ExponentialBackoffAssertion
public ExponentialBackoffAssertion(PolicyUsage usage)
- Creates this assertion.
- Parameters:
usage
- PolicyUsage.OBSERVED
or PolicyUsage.IGNORED
getContent
public javax.xml.transform.Source getContent()
throws PolicyException
- Gets XML content of this assertion.
- Specified by:
getContent
in class PolicyAssertion
- Returns:
- the XML content source
- Throws:
PolicyException
- when an error occurs
hashCode
public int hashCode()
equals
public boolean equals(java.lang.Object obj)