microsoft.exchange.webservices.data
Class StreamingSubscription
java.lang.Object
microsoft.exchange.webservices.data.SubscriptionBase
microsoft.exchange.webservices.data.StreamingSubscription
public final class StreamingSubscription
- extends SubscriptionBase
Represents a streaming subscription.
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamingSubscription
protected StreamingSubscription(ExchangeService service)
throws Exception
- Throws:
Exception
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.