microsoft.exchange.webservices.data
Class NotificationEventArgs

java.lang.Object
  extended by microsoft.exchange.webservices.data.NotificationEventArgs

public class NotificationEventArgs
extends java.lang.Object

Provides data to a StreamingSubscriptionConnection's OnNotificationEvent event.


Constructor Summary
protected NotificationEventArgs(StreamingSubscription subscription, java.lang.Iterable<NotificationEvent> events)
          Initializes a new instance of the NotificationEventArgs class.
 
Method Summary
 java.lang.Iterable<NotificationEvent> getEvents()
          Gets the events that were received.
 StreamingSubscription getSubscription()
          Gets the subscription for which notifications have been received.
protected  void setEvents(java.lang.Iterable<NotificationEvent> value)
          Sets the events that were received.
protected  void setSubscription(StreamingSubscription value)
          Sets the events that were received.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationEventArgs

protected NotificationEventArgs(StreamingSubscription subscription,
                                java.lang.Iterable<NotificationEvent> events)
Initializes a new instance of the NotificationEventArgs class.

Parameters:
subscription - The subscription for which notifications have been received.
events - The events that were received.
Method Detail

getSubscription

public StreamingSubscription getSubscription()
Gets the subscription for which notifications have been received.


setSubscription

protected void setSubscription(StreamingSubscription value)
Sets the events that were received.


getEvents

public java.lang.Iterable<NotificationEvent> getEvents()
Gets the events that were received.


setEvents

protected void setEvents(java.lang.Iterable<NotificationEvent> value)
Sets the events that were received.