HandleServiceResponseObject method
void
HandleServiceResponseObject(
- Object response
)
Handles the service response object.
The response.
Implementation
/* private */
void HandleServiceResponseObject(Object response) {
throw NotImplementedException("HandleServiceResponseObject");
// GetStreamingEventsResponse gseResponse = response as GetStreamingEventsResponse;
//
// if (gseResponse == null)
// {
// throw new ArgumentException();
// }
// else
// {
// if (gseResponse.Result == ServiceResult.Success || gseResponse.Result == ServiceResult.Warning)
// {
// if (gseResponse.Results.Notifications.length > 0)
// {
// // We got notifications; dole them out.
// this.IssueNotificationEvents(gseResponse);
// }
// else
// {
// //// This was just a heartbeat, nothing to do here.
// }
// }
// else if (gseResponse.Result == ServiceResult.Error)
// {
// if (gseResponse.ErrorSubscriptionIds == null ||
// gseResponse.ErrorSubscriptionIds.length == 0)
// {
// // General error
// this.IssueGeneralFailure(gseResponse);
// }
// else
// {
// // subscription-specific errors
// this.IssueSubscriptionFailures(gseResponse);
// }
// }
// }
}