PubsubServiceBase constructor

PubsubServiceBase()

Implementation

PubsubServiceBase() {
  $addMethod($grpc.ServiceMethod<$2.PublishRequest_, $2.Empty_>(
      'Publish',
      publish_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $2.PublishRequest_.fromBuffer(value),
      ($2.Empty_ value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$2.SubscriptionRequest_, $2.SubscriptionItem_>(
          'Subscribe',
          subscribe_Pre,
          false,
          true,
          ($core.List<$core.int> value) =>
              $2.SubscriptionRequest_.fromBuffer(value),
          ($2.SubscriptionItem_ value) => value.writeToBuffer()));
}