Package | Description |
---|---|
microsoft.exchange.webservices.data.core | |
microsoft.exchange.webservices.data.core.request | |
microsoft.exchange.webservices.data.notification |
Modifier and Type | Method and Description |
---|---|
StreamingSubscription |
ExchangeService.endSubscribeToStreamingNotifications(IAsyncResult asyncResult)
Ends an asynchronous request to subscribe to push notification in the
authenticated user's mailbox.
|
StreamingSubscription |
ExchangeService.subscribeToStreamingNotifications(Iterable<FolderId> folderIds,
EventType... eventTypes)
Subscribes to streaming notification.
|
StreamingSubscription |
ExchangeService.subscribeToStreamingNotificationsOnAllFolders(EventType... eventTypes)
Subscribes to streaming notification on all folder in the authenticated
user's mailbox.
|
Modifier and Type | Method and Description |
---|---|
protected SubscribeResponse<StreamingSubscription> |
SubscribeToStreamingNotificationsRequest.createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
Modifier and Type | Method and Description |
---|---|
StreamingSubscription |
SubscriptionErrorEventArgs.getSubscription()
Gets the subscription for which an error occurred.
|
StreamingSubscription |
NotificationEventArgs.getSubscription()
Gets the subscription for which notification have been received.
|
Modifier and Type | Method and Description |
---|---|
void |
StreamingSubscriptionConnection.addSubscription(StreamingSubscription subscription)
Adds a subscription to this connection.
|
void |
StreamingSubscriptionConnection.removeSubscription(StreamingSubscription subscription)
Removes the specified streaming subscription from the connection.
|
protected void |
SubscriptionErrorEventArgs.setSubscription(StreamingSubscription value)
Sets the subscription for which an error occurred.
|
protected void |
NotificationEventArgs.setSubscription(StreamingSubscription value)
Sets the events that were received.
|
Constructor and Description |
---|
NotificationEventArgs(StreamingSubscription subscription,
Iterable<NotificationEvent> events)
Initializes a new instance of the NotificationEventArgs class.
|
SubscriptionErrorEventArgs(StreamingSubscription subscription,
Exception exception)
Initializes a new instance of the SubscriptionErrorEventArgs class.
|
Constructor and Description |
---|
StreamingSubscriptionConnection(ExchangeService service,
Iterable<StreamingSubscription> subscriptions,
int lifetime)
Initializes a new instance of the StreamingSubscriptionConnection class.
|
Copyright © 2012–2015 Microsoft. All rights reserved.