org.systinet.wasp.wsrm.feb2005.policy
Class ExponentialBackoffAssertion

java.lang.Object
  extended byorg.systinet.wasp.policy.PolicyElement
      extended byorg.systinet.wasp.policy.PolicyAssertion
          extended byorg.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

Constructor Summary
ExponentialBackoffAssertion(PolicyUsage usage)
          Creates this assertion.
ExponentialBackoffAssertion(javax.xml.transform.Source content)
          Loads this assertion from given XML source.
 
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 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

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
Method Detail

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)