org.globus.wsrf
Interface PausableSubscription

All Superinterfaces:
Resource, ResourceLifetime, Subscription
All Known Subinterfaces:
LocalInvocationEnabledSubscription
All Known Implementing Classes:
SimpleSubscription

public interface PausableSubscription
extends Subscription


Method Summary
 boolean isPaused()
          Is the subscription paused?
 void pause()
          Pause the subscription
 void resume()
          Resume the subscription
 
Methods inherited from interface org.globus.wsrf.Subscription
getConsumerReference, getCreationTime, getFilterType, getProducerReference, getResource, getSecurityProperties, getTopicExpression, getUseNotify
 
Methods inherited from interface org.globus.wsrf.ResourceLifetime
getCurrentTime, getTerminationTime, setTerminationTime
 

Method Detail

isPaused

public boolean isPaused()
Is the subscription paused?

Returns:
True if the subscription is paused, false if not.

pause

public void pause()
           throws java.lang.Exception
Pause the subscription

Throws:
java.lang.Exception

resume

public void resume()
            throws java.lang.Exception
Resume the subscription

Throws:
java.lang.Exception