public class NotificationEventArgs extends Object
Modifier | Constructor and Description |
---|---|
protected |
NotificationEventArgs(StreamingSubscription subscription,
Iterable<NotificationEvent> events)
Initializes a new instance of the NotificationEventArgs class.
|
Modifier and Type | Method and Description |
---|---|
Iterable<NotificationEvent> |
getEvents()
Gets the events that were received.
|
StreamingSubscription |
getSubscription()
Gets the subscription for which notification have been received.
|
protected void |
setEvents(Iterable<NotificationEvent> value)
Sets the events that were received.
|
protected void |
setSubscription(StreamingSubscription value)
Sets the events that were received.
|
protected NotificationEventArgs(StreamingSubscription subscription, Iterable<NotificationEvent> events)
subscription
- The subscription for which notification have been received.events
- The events that were received.public StreamingSubscription getSubscription()
protected void setSubscription(StreamingSubscription value)
public Iterable<NotificationEvent> getEvents()
protected void setEvents(Iterable<NotificationEvent> value)
Copyright © 2012–2015 Microsoft. All rights reserved.