Home
last modified time | relevance | path

Searched refs:AddMethod (Results 1 – 25 of 25) sorted by relevance

/third_party/grpc/src/csharp/Grpc.Core.Api/
DServerServiceDefinition.cs83 public Builder AddMethod<TRequest, TResponse>(
90 addMethodActions.Add((serviceBinder) => serviceBinder.AddMethod(method, handler)); in addMethodActions.Add()
102 public Builder AddMethod<TRequest, TResponse>(
109 addMethodActions.Add((serviceBinder) => serviceBinder.AddMethod(method, handler)); in addMethodActions.Add()
121 public Builder AddMethod<TRequest, TResponse>(
128 addMethodActions.Add((serviceBinder) => serviceBinder.AddMethod(method, handler)); in addMethodActions.Add()
140 public Builder AddMethod<TRequest, TResponse>(
147 addMethodActions.Add((serviceBinder) => serviceBinder.AddMethod(method, handler)); in addMethodActions.Add()
DServiceBinderBase.cs41 public virtual void AddMethod<TRequest, TResponse>(
57 public virtual void AddMethod<TRequest, TResponse>(
73 public virtual void AddMethod<TRequest, TResponse>(
89 public virtual void AddMethod<TRequest, TResponse>(
/third_party/grpc/src/csharp/Grpc.Core/Interceptors/
DServerServiceDefinitionExtensions.cs100 public override void AddMethod<TRequest, TResponse>( in AddMethod() method in Grpc.Core.Interceptors.ServerServiceDefinitionExtensions.InterceptingServiceBinder
104 …builder.AddMethod(method, (request, context) => interceptor.UnaryServerHandler(request, context, h… in AddMethod()
107 public override void AddMethod<TRequest, TResponse>( in AddMethod() method in Grpc.Core.Interceptors.ServerServiceDefinitionExtensions.InterceptingServiceBinder
111 …builder.AddMethod(method, (requestStream, context) => interceptor.ClientStreamingServerHandler(req… in AddMethod()
114 public override void AddMethod<TRequest, TResponse>( in AddMethod() method in Grpc.Core.Interceptors.ServerServiceDefinitionExtensions.InterceptingServiceBinder
118 …builder.AddMethod(method, (request, responseStream, context) => interceptor.ServerStreamingServerH… in AddMethod()
121 public override void AddMethod<TRequest, TResponse>( in AddMethod() method in Grpc.Core.Interceptors.ServerServiceDefinitionExtensions.InterceptingServiceBinder
125 …builder.AddMethod(method, (requestStream, responseStream, context) => interceptor.DuplexStreamingS… in AddMethod()
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DServerServiceDefinitionExtensions.cs49 public override void AddMethod<TRequest, TResponse>( in AddMethod() method in Grpc.Core.Internal.ServerServiceDefinitionExtensions.DefaultServiceBinder
56 public override void AddMethod<TRequest, TResponse>( in AddMethod() method in Grpc.Core.Internal.ServerServiceDefinitionExtensions.DefaultServiceBinder
63 public override void AddMethod<TRequest, TResponse>( in AddMethod() method in Grpc.Core.Internal.ServerServiceDefinitionExtensions.DefaultServiceBinder
70 public override void AddMethod<TRequest, TResponse>( in AddMethod() method in Grpc.Core.Internal.ServerServiceDefinitionExtensions.DefaultServiceBinder
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DBenchmarkServiceGrpc.cs351 .AddMethod(__Method_UnaryCall, serviceImpl.UnaryCall) in BindService()
352 .AddMethod(__Method_StreamingCall, serviceImpl.StreamingCall) in BindService()
353 .AddMethod(__Method_StreamingFromClient, serviceImpl.StreamingFromClient) in BindService()
354 .AddMethod(__Method_StreamingFromServer, serviceImpl.StreamingFromServer) in BindService()
355 .AddMethod(__Method_StreamingBothWays, serviceImpl.StreamingBothWays).Build(); in BindService()
364 …serviceBinder.AddMethod(__Method_UnaryCall, serviceImpl == null ? null : new grpc::UnaryServerMeth… in BindService()
365 …serviceBinder.AddMethod(__Method_StreamingCall, serviceImpl == null ? null : new grpc::DuplexStrea… in BindService()
366 …serviceBinder.AddMethod(__Method_StreamingFromClient, serviceImpl == null ? null : new grpc::Clien… in BindService()
367 …serviceBinder.AddMethod(__Method_StreamingFromServer, serviceImpl == null ? null : new grpc::Serve… in BindService()
368 …serviceBinder.AddMethod(__Method_StreamingBothWays, serviceImpl == null ? null : new grpc::DuplexS… in BindService()
DTestGrpc.cs563 .AddMethod(__Method_EmptyCall, serviceImpl.EmptyCall) in BindService()
564 .AddMethod(__Method_UnaryCall, serviceImpl.UnaryCall) in BindService()
565 .AddMethod(__Method_CacheableUnaryCall, serviceImpl.CacheableUnaryCall) in BindService()
566 .AddMethod(__Method_StreamingOutputCall, serviceImpl.StreamingOutputCall) in BindService()
567 .AddMethod(__Method_StreamingInputCall, serviceImpl.StreamingInputCall) in BindService()
568 .AddMethod(__Method_FullDuplexCall, serviceImpl.FullDuplexCall) in BindService()
569 .AddMethod(__Method_HalfDuplexCall, serviceImpl.HalfDuplexCall) in BindService()
570 .AddMethod(__Method_UnimplementedCall, serviceImpl.UnimplementedCall).Build(); in BindService()
579 …serviceBinder.AddMethod(__Method_EmptyCall, serviceImpl == null ? null : new grpc::UnaryServerMeth… in BindService()
580 …serviceBinder.AddMethod(__Method_UnaryCall, serviceImpl == null ? null : new grpc::UnaryServerMeth… in BindService()
[all …]
DWorkerServiceGrpc.cs349 .AddMethod(__Method_RunServer, serviceImpl.RunServer) in BindService()
350 .AddMethod(__Method_RunClient, serviceImpl.RunClient) in BindService()
351 .AddMethod(__Method_CoreCount, serviceImpl.CoreCount) in BindService()
352 .AddMethod(__Method_QuitWorker, serviceImpl.QuitWorker).Build(); in BindService()
361 …serviceBinder.AddMethod(__Method_RunServer, serviceImpl == null ? null : new grpc::DuplexStreaming… in BindService()
362 …serviceBinder.AddMethod(__Method_RunClient, serviceImpl == null ? null : new grpc::DuplexStreaming… in BindService()
363 …serviceBinder.AddMethod(__Method_CoreCount, serviceImpl == null ? null : new grpc::UnaryServerMeth… in BindService()
364 …serviceBinder.AddMethod(__Method_QuitWorker, serviceImpl == null ? null : new grpc::UnaryServerMet… in BindService()
DMetricsGrpc.cs223 .AddMethod(__Method_GetAllGauges, serviceImpl.GetAllGauges) in BindService()
224 .AddMethod(__Method_GetGauge, serviceImpl.GetGauge).Build(); in BindService()
233 …serviceBinder.AddMethod(__Method_GetAllGauges, serviceImpl == null ? null : new grpc::ServerStream… in BindService()
234 …serviceBinder.AddMethod(__Method_GetGauge, serviceImpl == null ? null : new grpc::UnaryServerMetho… in BindService()
DReportQpsScenarioServiceGrpc.cs174 .AddMethod(__Method_ReportScenario, serviceImpl.ReportScenario).Build(); in BindService()
183 …serviceBinder.AddMethod(__Method_ReportScenario, serviceImpl == null ? null : new grpc::UnaryServe… in BindService()
DGenericService.cs53 .AddMethod(StreamingCallMethod, handler).Build(); in BindHandler()
/third_party/grpc/src/csharp/Grpc.Examples/
DMathGrpc.cs315 .AddMethod(__Method_Div, serviceImpl.Div) in BindService()
316 .AddMethod(__Method_DivMany, serviceImpl.DivMany) in BindService()
317 .AddMethod(__Method_Fib, serviceImpl.Fib) in BindService()
318 .AddMethod(__Method_Sum, serviceImpl.Sum).Build(); in BindService()
327 …serviceBinder.AddMethod(__Method_Div, serviceImpl == null ? null : new grpc::UnaryServerMethod<glo… in BindService()
328 …serviceBinder.AddMethod(__Method_DivMany, serviceImpl == null ? null : new grpc::DuplexStreamingSe… in BindService()
329 …serviceBinder.AddMethod(__Method_Fib, serviceImpl == null ? null : new grpc::ServerStreamingServer… in BindService()
330 …serviceBinder.AddMethod(__Method_Sum, serviceImpl == null ? null : new grpc::ClientStreamingServer… in BindService()
/third_party/grpc/src/csharp/Grpc.Core.Tests/
DMockServiceHelper.cs90 .AddMethod(unaryMethod, (request, context) => unaryHandler(request, context)) in MockServiceHelper()
91 ….AddMethod(clientStreamingMethod, (requestStream, context) => clientStreamingHandler(requestStream… in MockServiceHelper()
92 ….AddMethod(serverStreamingMethod, (request, responseStream, context) => serverStreamingHandler(req… in MockServiceHelper()
93 ….AddMethod(duplexStreamingMethod, (requestStream, responseStream, context) => duplexStreamingHandl… in MockServiceHelper()
/third_party/grpc/src/csharp/Grpc.HealthCheck/
DHealthGrpc.cs263 .AddMethod(__Method_Check, serviceImpl.Check) in BindService()
264 .AddMethod(__Method_Watch, serviceImpl.Watch).Build(); in BindService()
273 …serviceBinder.AddMethod(__Method_Check, serviceImpl == null ? null : new grpc::UnaryServerMethod<g… in BindService()
274 …serviceBinder.AddMethod(__Method_Watch, serviceImpl == null ? null : new grpc::ServerStreamingServ… in BindService()
/third_party/flatbuffers/tests/
Dmonster_test.grpc.fb.cc87 AddMethod(new ::grpc::internal::RpcServiceMethod( in Service()
92 AddMethod(new ::grpc::internal::RpcServiceMethod( in Service()
97 AddMethod(new ::grpc::internal::RpcServiceMethod( in Service()
102 AddMethod(new ::grpc::internal::RpcServiceMethod( in Service()
/third_party/protobuf/python/
Dmox.py677 group.AddMethod(self)
682 new_group.AddMethod(self)
1194 def AddMethod(self, mock_method): member in MethodGroup
1214 def AddMethod(self, mock_method): member in UnorderedGroup
1276 def AddMethod(self, mock_method): member in MultipleTimesGroup
/third_party/grpc/src/csharp/Grpc.Reflection/
DReflectionGrpc.cs154 .AddMethod(__Method_ServerReflectionInfo, serviceImpl.ServerReflectionInfo).Build(); in BindService()
163 …serviceBinder.AddMethod(__Method_ServerReflectionInfo, serviceImpl == null ? null : new grpc::Dupl… in BindService()
/third_party/node/src/
Dstream_base.cc370 void StreamBase::AddMethod(Environment* env, in AddMethod() function in node::StreamBase
392 AddMethod(env, sig, attributes, t, GetFD, env->fd_string()); in AddMethods()
393 AddMethod( in AddMethods()
395 AddMethod(env, sig, attributes, t, GetBytesRead, env->bytes_read_string()); in AddMethods()
396 AddMethod( in AddMethods()
Dstream_base.h398 static void AddMethod(Environment* env,
/third_party/grpc/src/csharp/Grpc.Microbenchmarks/
DPingBenchmark.cs72 …Services = { ServerServiceDefinition.CreateBuilder().AddMethod(PingMethod, ServerMethod).Build() }, in Setup()
/third_party/grpc/examples/csharp/HelloworldUnity/Assets/Scripts/
DHelloworldGrpc.cs145 .AddMethod(__Method_SayHello, serviceImpl.SayHello).Build(); in BindService()
/third_party/grpc/examples/csharp/HelloworldXamarin/HelloworldXamarin/
DHelloworldGrpc.cs145 .AddMethod(__Method_SayHello, serviceImpl.SayHello).Build(); in BindService()
/third_party/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc102 static PyObject* AddMethod(PyObject* self, PyObject* args, PyObject* kwargs) { in AddMethod() function
518 { "add", (PyCFunction)AddMethod, METH_VARARGS | METH_KEYWORDS, in Subscript()
/third_party/grpc/src/cpp/server/health/
Ddefault_health_check_service.cc158 AddMethod(new internal::RpcServiceMethod( in HealthCheckServiceImpl()
161 AddMethod(new internal::RpcServiceMethod( in HealthCheckServiceImpl()
/third_party/grpc/include/grpcpp/impl/codegen/
Dservice_type.h168 void AddMethod(internal::RpcServiceMethod* method) { in AddMethod() function
/third_party/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc179 MethodDescriptorProto* AddMethod(ServiceDescriptorProto* service, in AddMethod() function
1502 AddMethod(service, "Foo", "FooRequest", "FooResponse"); in SetUp()
1503 AddMethod(service, "Bar", "BarRequest", "BarResponse"); in SetUp()
1511 AddMethod(service2, "Foo", "FooRequest", "FooResponse"); in SetUp()
1512 AddMethod(service2, "Baz", "BazRequest", "BazResponse"); in SetUp()