# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: v1/dispatcher.proto for package 'v1'

require 'grpc'
require 'v1/dispatcher_pb'

module V1
  module V1Dispatcher
    class Service

      include ::GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'v1.V1Dispatcher'

      rpc :DurableTask, stream(::V1::DurableTaskRequest), stream(::V1::DurableTaskResponse)
      # NOTE: deprecated after DurableEventLog is implemented
      rpc :RegisterDurableEvent, ::V1::RegisterDurableEventRequest, ::V1::RegisterDurableEventResponse
      rpc :ListenForDurableEvent, stream(::V1::ListenForDurableEventRequest), stream(::V1::DurableEvent)
    end

    Stub = Service.rpc_stub_class
  end
end
