|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.notification.SubscriptionBase
microsoft.exchange.webservices.data.notification.StreamingSubscription
public final class StreamingSubscription
Represents a streaming subscription.
| Constructor Summary | |
|---|---|
StreamingSubscription(ExchangeService service)
|
|
| Method Summary | |
|---|---|
IAsyncResult |
beginUnsubscribe(AsyncCallback callback,
Object state)
Begins an asynchronous request to unsubscribe from the streaming subscription. |
void |
endUnsubscribe(IAsyncResult asyncResult)
Ends an asynchronous request to unsubscribe from the streaming subscription. |
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.notification.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 |
|---|
public StreamingSubscription(ExchangeService service)
throws Exception
Exception| Method Detail |
|---|
public void unsubscribe()
throws Exception
Exception
public IAsyncResult beginUnsubscribe(AsyncCallback callback,
Object state)
throws Exception
callback - The AsyncCallback delegate.state - An object that contains state information for this request.
Exception
public void endUnsubscribe(IAsyncResult asyncResult)
throws Exception
asyncResult - An IAsyncResult that references the asynchronous request.
Exceptionpublic ExchangeService getService()
getService in class SubscriptionBaseprotected boolean getUsesWatermark()
getUsesWatermark in class SubscriptionBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||