| 
||||||||||
| 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.InactivityTimeoutAssertion
This assertion specifies (in milliseconds) a period of inactivity for a Sequence. If during this duration an endpoint has received no application or control messages, the endpoint MAY consider the Sequence to have been terminated due to inactivity.
| Constructor Summary | |
InactivityTimeoutAssertion(long inactivityTimeout,
                           PolicyUsage usage)
Creates this assertion with given inactivityTimeout.  | 
|
InactivityTimeoutAssertion(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 | 
getInactivityTimeout()
Gets inactivity timeout 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 InactivityTimeoutAssertion(javax.xml.transform.Source content)
                           throws PolicyException
content - XML source
PolicyException - when an error occurs during the assertion loading
public InactivityTimeoutAssertion(long inactivityTimeout,
                                  PolicyUsage usage)
inactivityTimeout - inactivity timeout in millisecondsusage - PolicyUsage.OBSERVED or PolicyUsage.IGNORED| Method Detail | 
public long getInactivityTimeout()
public javax.xml.transform.Source getContent()
                                      throws PolicyException
getContent in class PolicyAssertionPolicyException - 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 | |||||||||