CreateServiceResponse method

  1. @override
SubscribeResponse<StreamingSubscription> CreateServiceResponse(
  1. ExchangeService service,
  2. int responseIndex
)
override
Creates the service response. The service. Index of the response.

Implementation

@override
SubscribeResponse<StreamingSubscription> CreateServiceResponse(
    ExchangeService service, int responseIndex) {
  return new SubscribeResponse<StreamingSubscription>(
      new StreamingSubscription(service));
}