Class NotificationEventArgs
- java.lang.Object
-
- microsoft.exchange.webservices.data.notification.NotificationEventArgs
-
public class NotificationEventArgs extends Object
Provides data to a StreamingSubscriptionConnection's OnNotificationEvent event.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNotificationEventArgs(StreamingSubscription subscription, Iterable<NotificationEvent> events)Initializes a new instance of the NotificationEventArgs class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<NotificationEvent>getEvents()Gets the events that were received.StreamingSubscriptiongetSubscription()Gets the subscription for which notification have been received.protected voidsetEvents(Iterable<NotificationEvent> value)Sets the events that were received.protected voidsetSubscription(StreamingSubscription value)Sets the events that were received.
-
-
-
Constructor Detail
-
NotificationEventArgs
protected NotificationEventArgs(StreamingSubscription subscription, Iterable<NotificationEvent> events)
Initializes a new instance of the NotificationEventArgs class.- Parameters:
subscription- The subscription for which notification have been received.events- The events that were received.
-
-
Method Detail
-
getSubscription
public StreamingSubscription getSubscription()
Gets the subscription for which notification have been received.
-
setSubscription
protected void setSubscription(StreamingSubscription value)
Sets the events that were received.
-
getEvents
public Iterable<NotificationEvent> getEvents()
Gets the events that were received.
-
setEvents
protected void setEvents(Iterable<NotificationEvent> value)
Sets the events that were received.
-
-