|
||||||||||
| 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.PullSubscription
public final class PullSubscription
Represents a pull subscription.
| Constructor Summary | |
|---|---|
PullSubscription(ExchangeService service)
Initializes a new instance. |
|
| Method Summary | |
|---|---|
IAsyncResult |
beginGetEvents(AsyncCallback callback,
Object state)
Begins an asynchronous request to obtain a collection of events that occurred on the subscribed folder since the point in time defined by the Watermark property |
IAsyncResult |
beginUnsubscribe(AsyncCallback callback,
Object state)
Begins an asynchronous request to unsubscribe from the pull subscription. |
GetEventsResults |
endGetEvents(IAsyncResult asyncResult)
Ends an asynchronous request to obtain a collection of events that occurred on the subscribed folder since the point in time defined by the Watermark property. |
void |
endUnsubscribe(IAsyncResult asyncResult)
Ends an asynchronous request to unsubscribe from the pull subscription. |
GetEventsResults |
getEvents()
Obtains a collection of events that occurred on the subscribed folder since the point in time defined by the Watermark property. |
boolean |
isMoreEventsAvailable()
Gets a value indicating whether more events are available on the server. |
void |
unsubscribe()
Unsubscribes from the pull subscription. |
| Methods inherited from class microsoft.exchange.webservices.data.notification.SubscriptionBase |
|---|
getId, getService, getUsesWatermark, 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 PullSubscription(ExchangeService service)
throws Exception
service - the service
Exception - the exception| Method Detail |
|---|
public GetEventsResults getEvents()
throws Exception
Exception - the exception
public IAsyncResult beginGetEvents(AsyncCallback callback,
Object state)
throws Exception
callback - The AsyncCallback delegatestate - An object that contains state information for this request
Exception
public GetEventsResults endGetEvents(IAsyncResult asyncResult)
throws Exception
asyncResult - An IAsyncResult that references the asynchronous request.
Exception
public void unsubscribe()
throws Exception
Exception - the 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 boolean isMoreEventsAvailable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||