microsoft.exchange.webservices.data
Class StreamingSubscription

java.lang.Object
  extended by microsoft.exchange.webservices.data.SubscriptionBase
      extended by microsoft.exchange.webservices.data.StreamingSubscription

public final class StreamingSubscription
extends SubscriptionBase

Represents a streaming subscription.


Constructor Summary
protected StreamingSubscription(ExchangeService service)
           
 
Method Summary
 ExchangeService getService()
          Gets the service used to create this subscription.
protected  boolean getUsesWatermark()
          Gets a value indicating whether this subscription uses watermarks.
 void unsubscribe()
          Unsubscribes from the streaming subscription.
 
Methods inherited from class microsoft.exchange.webservices.data.SubscriptionBase
getId, getWaterMark, loadFromXml, setId, setWaterMark
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamingSubscription

protected StreamingSubscription(ExchangeService service)
                         throws Exception
Throws:
Exception
Method Detail

unsubscribe

public void unsubscribe()
                 throws Exception
Unsubscribes from the streaming subscription.

Throws:
Exception

getService

public ExchangeService getService()
Gets the service used to create this subscription.

Overrides:
getService in class SubscriptionBase
Returns:
the session

getUsesWatermark

protected boolean getUsesWatermark()
Gets a value indicating whether this subscription uses watermarks.

Overrides:
getUsesWatermark in class SubscriptionBase


Copyright © 2012. All Rights Reserved.