|
||||||||||
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.RetransmissionIntervalAssertion
A source may optionally specify a base retransmission interval for a sequence. If no acknowledgement has been received for a given message within the interval, the source will retransmit the message. The retransmission interval may be modified at the source's discretion during the lifetime of the sequence. This assertion does not alter the formulation of messages as transmitted, only the timing of their transmission.
Constructor Summary | |
RetransmissionIntervalAssertion(long retransmissionInterval,
PolicyUsage usage)
Creates this assertion with given retransmission interval. |
|
RetransmissionIntervalAssertion(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. |
long |
getRetransmissionInterval()
Gets retransmission interval 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 RetransmissionIntervalAssertion(javax.xml.transform.Source content) throws PolicyException
content
- XML source
PolicyException
- when an error occurs during the assertion loadingpublic RetransmissionIntervalAssertion(long retransmissionInterval, PolicyUsage usage)
retransmissionInterval
- retransmission interval in millisecondsusage
- PolicyUsage.OBSERVED
or PolicyUsage.IGNORED
Method Detail |
public long getRetransmissionInterval()
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 |