Home
last modified time | relevance | path

Searched refs:serviceDefinition (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServerInterceptorsTest.java68 private ServerServiceDefinition serviceDefinition; field in ServerInterceptorsTest
87 serviceDefinition = ServerServiceDefinition.builder(new ServiceDescriptor("basic", flowMethod)) in setUp()
107 ServerInterceptors.intercept(serviceDefinition, (List<ServerInterceptor>) null); in npeForNullInterceptorList()
112 ServerInterceptors.intercept(serviceDefinition, Arrays.asList((ServerInterceptor) null)); in npeForNullInterceptor()
117 assertSame(serviceDefinition, in noop()
118 ServerInterceptors.intercept(serviceDefinition, Arrays.<ServerInterceptor>asList())); in noop()
126 = ServerInterceptors.intercept(serviceDefinition, Arrays.asList(interceptor)); in multipleInvocationsOfHandler()
147 serviceDefinition = ServerServiceDefinition.builder( in correctHandlerCalled()
152 serviceDefinition, Arrays.<ServerInterceptor>asList(new NoopInterceptor())); in correctHandlerCalled()
177 ServerServiceDefinition intercepted = ServerInterceptors.intercept(serviceDefinition, in callNextTwice()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core/
DServer.cs255 private void AddServiceDefinitionInternal(ServerServiceDefinition serviceDefinition) in AddServiceDefinitionInternal() argument
260 foreach (var entry in serviceDefinition.CallHandlers) in AddServiceDefinitionInternal()
264 serviceDefinitionsList.Add(serviceDefinition); in AddServiceDefinitionInternal()
412 public void Add(ServerServiceDefinition serviceDefinition) in Add() argument
414 server.AddServiceDefinitionInternal(serviceDefinition); in Add()
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DUtilServerInterceptorsTest.java59 private ServerServiceDefinition serviceDefinition = field in UtilServerInterceptorsTest
110 serviceDefinition, in statusRuntimeExceptionTransmitter()
146 serviceDefinition, in statusRuntimeExceptionTransmitterIgnoresClosedCalls()