cgl.narada.wsinfra.wsrm.impl
Class WsrmSequencePoliciesImpl

java.lang.Object
  extended by cgl.narada.wsinfra.wsrm.impl.WsrmSequencePoliciesImpl
All Implemented Interfaces:
WsrmSequencePolicies

public class WsrmSequencePoliciesImpl
extends Object
implements WsrmSequencePolicies

This interface encapsulates the WsrmPolicies associated with a sequence. Among the elements that can be set in the Policy associated with a Sequence are
(a) Sequence creation, expiration and Termination
(b) This also provides information on the retransmission interval and the inactivity timeout.


Constructor Summary
WsrmSequencePoliciesImpl(byte[] marshalledBytes)
           
WsrmSequencePoliciesImpl(Calendar sequenceExpiration, InactivityTimeoutDocument inactivityTimeout, BaseRetransmissionIntervalDocument retransInterval, ExponentialBackoffDocument exponentialBackoff, AcknowledgementIntervalDocument ackInterval)
           
 
Method Summary
 AcknowledgementIntervalDocument getAcknowledgementInterval()
           
 byte[] getBytes()
          Get the byte stream representation
 ExponentialBackoffDocument getExponentialBackoff()
          Retrieve the specified exponential back off
 InactivityTimeoutDocument getInactivityTimeout()
          Retrieve specified inactivity timeout info
 BaseRetransmissionIntervalDocument getRetransmissionInterval()
          Retrieve the retransmission interval related policies
 Calendar getSequenceExpiration()
          Retrieve the specified sequence expiration
 boolean hasAcknowledgementInterval()
          Check if an acknowledgement interval has been specified
 boolean hasExponentialBackoff()
           
 boolean hasInactivityTimeout()
          Check to see if an inactivity timeout has been specified
 boolean hasRetransmissionInterval()
          Check if retransmission related policies have been specified
 boolean hasSequenceExpiration()
          Check to see if sequence expiration has been specified
protected  void resetSequenceExpiration(Calendar sequenceExpiration)
           
protected  void setAcknowledgementInterval(AcknowledgementIntervalDocument acknowledgementInterval)
           
protected  void setExponentialBackoff(ExponentialBackoffDocument exponentialBackoff)
           
protected  void setInactivityTimeout(InactivityTimeoutDocument inactivityTimeout)
           
protected  void setRetransmissionInterval(BaseRetransmissionIntervalDocument retransmissionInterval)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsrmSequencePoliciesImpl

public WsrmSequencePoliciesImpl(Calendar sequenceExpiration,
                                InactivityTimeoutDocument inactivityTimeout,
                                BaseRetransmissionIntervalDocument retransInterval,
                                ExponentialBackoffDocument exponentialBackoff,
                                AcknowledgementIntervalDocument ackInterval)

WsrmSequencePoliciesImpl

public WsrmSequencePoliciesImpl(byte[] marshalledBytes)
Method Detail

hasSequenceExpiration

public boolean hasSequenceExpiration()
Check to see if sequence expiration has been specified

Specified by:
hasSequenceExpiration in interface WsrmSequencePolicies

getSequenceExpiration

public Calendar getSequenceExpiration()
Retrieve the specified sequence expiration

Specified by:
getSequenceExpiration in interface WsrmSequencePolicies

resetSequenceExpiration

protected void resetSequenceExpiration(Calendar sequenceExpiration)

hasInactivityTimeout

public boolean hasInactivityTimeout()
Check to see if an inactivity timeout has been specified

Specified by:
hasInactivityTimeout in interface WsrmSequencePolicies

getInactivityTimeout

public InactivityTimeoutDocument getInactivityTimeout()
Retrieve specified inactivity timeout info

Specified by:
getInactivityTimeout in interface WsrmSequencePolicies

setInactivityTimeout

protected void setInactivityTimeout(InactivityTimeoutDocument inactivityTimeout)

hasRetransmissionInterval

public boolean hasRetransmissionInterval()
Check if retransmission related policies have been specified

Specified by:
hasRetransmissionInterval in interface WsrmSequencePolicies

getRetransmissionInterval

public BaseRetransmissionIntervalDocument getRetransmissionInterval()
Retrieve the retransmission interval related policies

Specified by:
getRetransmissionInterval in interface WsrmSequencePolicies

setRetransmissionInterval

protected void setRetransmissionInterval(BaseRetransmissionIntervalDocument retransmissionInterval)

hasExponentialBackoff

public boolean hasExponentialBackoff()
Specified by:
hasExponentialBackoff in interface WsrmSequencePolicies

getExponentialBackoff

public ExponentialBackoffDocument getExponentialBackoff()
Retrieve the specified exponential back off

Specified by:
getExponentialBackoff in interface WsrmSequencePolicies

setExponentialBackoff

protected void setExponentialBackoff(ExponentialBackoffDocument exponentialBackoff)

hasAcknowledgementInterval

public boolean hasAcknowledgementInterval()
Check if an acknowledgement interval has been specified

Specified by:
hasAcknowledgementInterval in interface WsrmSequencePolicies

getAcknowledgementInterval

public AcknowledgementIntervalDocument getAcknowledgementInterval()
Specified by:
getAcknowledgementInterval in interface WsrmSequencePolicies

setAcknowledgementInterval

protected void setAcknowledgementInterval(AcknowledgementIntervalDocument acknowledgementInterval)

getBytes

public byte[] getBytes()
Get the byte stream representation

Specified by:
getBytes in interface WsrmSequencePolicies


For comments and suggestions please send e-mail to The NaradaBrokering Project