GetStreamingEventsRequest constructor

GetStreamingEventsRequest(
  1. ExchangeService service,
  2. HandleResponseObject serviceObjectHandler,
  3. Iterable<String> subscriptionIds,
  4. int connectionTimeout,
)
Initializes a new instance of the The service. Callback method to handle response objects received. List of subscription ids to listen to on this request. Connection timeout, in minutes.

Implementation

GetStreamingEventsRequest(
    ExchangeService service,
    HandleResponseObject serviceObjectHandler,
    Iterable<String> subscriptionIds,
    int connectionTimeout)
    : super(service, serviceObjectHandler,
          GetStreamingEventsRequest.heartbeatFrequency) {
  this.subscriptionIds = subscriptionIds;
  this.connectionTimeout = connectionTimeout;
}