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