StreamingSubscriptionConnection class

Represents a connection to an ongoing stream of events.

Constructors

StreamingSubscriptionConnection(ExchangeService service, int lifetime)
Represents a delegate that is invoked when notifications are received from the server

Properties

CurrentSubscriptions Iterable<StreamingSubscription>
Initializes a new instance of the
no setter
hashCode int
The hash code for this object.
no setterinherited
IsOpen bool?
Gets a value indicating whether this connection is opened
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

AddSubscription(StreamingSubscription subscription) → void
Adds a subscription to this connection.
Close() → void
Closes this connection so it stops receiving events from the server. This terminates a long-standing call to EWS.
Dispose() → void
Finalizes an instance of the StreamingSubscriptionConnection class.
DisposeWithFinalizer(bool suppressFinalizer) → void
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
HandleServiceResponseObject(Object response) → void
Handles the service response object.
InternalOnDisconnect(Exception ex) → void
helper method called when the request disconnects.
IssueGeneralFailure(GetStreamingEventsResponse gseResponse) → void
Issues the general failure.
IssueNotificationEvents(GetStreamingEventsResponse gseResponse) → void
Issues the notification events.
IssueSubscriptionFailures(GetStreamingEventsResponse gseResponse) → void
Issues the subscription failures.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
Open() → void
Opens this connection so it starts receiving events from the server. This results in a long-standing call to EWS.
RemoveSubscription(StreamingSubscription subscription) → void
Removes the specified streaming subscription from the connection.
ThrowIfDisposed() → void
Throws if disposed.
toString() String
A string representation of this object.
inherited
ValidateConnectionState(bool isConnectedExpected, String errorMessage) → void
Validates the state of the connection.

Operators

operator ==(Object other) bool
The equality operator.
inherited