Home
last modified time | relevance | path

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

123

/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerInterceptors.java43 public static ServerServiceDefinition interceptForward(ServerServiceDefinition serviceDef, in interceptForward()
48 public static ServerServiceDefinition interceptForward(BindableService bindableService, in interceptForward()
62 public static ServerServiceDefinition interceptForward( in interceptForward()
63 ServerServiceDefinition serviceDef, in interceptForward()
70 public static ServerServiceDefinition interceptForward( in interceptForward()
85 public static ServerServiceDefinition intercept(ServerServiceDefinition serviceDef, in intercept()
90 public static ServerServiceDefinition intercept(BindableService bindableService, in intercept()
105 public static ServerServiceDefinition intercept(ServerServiceDefinition serviceDef, in intercept()
111 ServerServiceDefinition.Builder serviceDefBuilder in intercept()
112 = ServerServiceDefinition.builder(serviceDef.getServiceDescriptor()); in intercept()
[all …]
DServer.java60 public List<ServerServiceDefinition> getServices() { in getServices()
71 public List<ServerServiceDefinition> getImmutableServices() { in getImmutableServices()
83 public List<ServerServiceDefinition> getMutableServices() { in getMutableServices()
DServerServiceDefinition.java31 public final class ServerServiceDefinition { class
44 private ServerServiceDefinition( in ServerServiceDefinition() method in ServerServiceDefinition
124 public ServerServiceDefinition build() { in build()
154 return new ServerServiceDefinition(serviceDescriptor, methods); in build()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServerServiceDefinitionTest.java60 ServerServiceDefinition ssd = ServerServiceDefinition.builder(sd) in noMethods()
70 ServerServiceDefinition ssd = ServerServiceDefinition.builder(sd) in addMethod_twoArg()
90 ServerServiceDefinition.Builder ssd = ServerServiceDefinition.builder(sd) in addMethod_duplicateName()
100 ServerServiceDefinition.Builder ssd = ServerServiceDefinition.builder(sd) in buildMisaligned_extraMethod()
109 ServerServiceDefinition.Builder ssd = ServerServiceDefinition.builder(sd) in buildMisaligned_diffMethodInstance()
118 ServerServiceDefinition.Builder ssd = ServerServiceDefinition.builder(sd); in buildMisaligned_missingMethod()
125 ServerServiceDefinition ssd = ServerServiceDefinition.builder(serviceName) in builderWithServiceName()
146 ServerServiceDefinition ssd = ServerServiceDefinition.builder(serviceName) in builderWithServiceName_noMethods()
DServerInterceptorsTest.java68 private ServerServiceDefinition serviceDefinition;
87 serviceDefinition = ServerServiceDefinition.builder(new ServiceDescriptor("basic", flowMethod)) in setUp()
101 ServerServiceDefinition serviceDef = null; in npeForNullServiceDefinition()
125 ServerServiceDefinition intercepted in multipleInvocationsOfHandler()
147 serviceDefinition = ServerServiceDefinition.builder( in correctHandlerCalled()
151 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in correctHandlerCalled()
177 ServerServiceDefinition intercepted = ServerInterceptors.intercept(serviceDefinition, in callNextTwice()
217 ServerServiceDefinition serviceDefinition = ServerServiceDefinition.builder( in ordered()
220 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in ordered()
259 ServerServiceDefinition serviceDefinition = ServerServiceDefinition.builder( in orderedForward()
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DMutableHandlerRegistry.java24 import io.grpc.ServerServiceDefinition;
42 private final ConcurrentMap<String, ServerServiceDefinition> services
43 = new ConcurrentHashMap<String, ServerServiceDefinition>();
52 public ServerServiceDefinition addService(ServerServiceDefinition service) { in addService()
63 public ServerServiceDefinition addService(BindableService bindableService) { in addService()
72 public boolean removeService(ServerServiceDefinition service) { in removeService()
81 public List<ServerServiceDefinition> getServices() { in getServices()
95 ServerServiceDefinition service = services.get(serviceName); in lookupMethod()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DInternalHandlerRegistry.java21 import io.grpc.ServerServiceDefinition;
32 private final List<ServerServiceDefinition> services;
36 List<ServerServiceDefinition> services, Map<String, ServerMethodDefinition<?, ?>> methods) { in InternalHandlerRegistry()
45 public List<ServerServiceDefinition> getServices() { in getServices()
59 private final HashMap<String, ServerServiceDefinition> services =
60 new LinkedHashMap<String, ServerServiceDefinition>();
62 Builder addService(ServerServiceDefinition service) { in addService()
70 for (ServerServiceDefinition service : services.values()) { in build()
DServerImpl.java49 import io.grpc.ServerServiceDefinition;
183 public List<ServerServiceDefinition> getServices() { in getServices()
184 List<ServerServiceDefinition> fallbackServices = fallbackRegistry.getServices(); in getServices()
188 List<ServerServiceDefinition> registryServices = registry.getServices(); in getServices()
190 List<ServerServiceDefinition> services = in getServices()
199 public List<ServerServiceDefinition> getImmutableServices() { in getImmutableServices()
204 public List<ServerServiceDefinition> getMutableServices() { in getMutableServices()
DAbstractServerImplBuilder.java37 import io.grpc.ServerServiceDefinition;
64 public List<ServerServiceDefinition> getServices() {
136 public final T addService(ServerServiceDefinition service) { in addService()
/external/grpc-grpc/src/csharp/Grpc.Core/Interceptors/
DServerServiceDefinitionExtensions.cs43 …public static ServerServiceDefinition Intercept(this ServerServiceDefinition serverServiceDefiniti… in Intercept()
47 …return new ServerServiceDefinition(serverServiceDefinition.CallHandlers.ToDictionary(x => x.Key, x… in Intercept()
66 …public static ServerServiceDefinition Intercept(this ServerServiceDefinition serverServiceDefiniti… in Intercept()
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DMutableHandlerRegistryTest.java32 import io.grpc.ServerServiceDefinition;
66 private ServerServiceDefinition basicServiceDefinition;
67 private ServerServiceDefinition multiServiceDefinition;
81 basicServiceDefinition = ServerServiceDefinition.builder( in setUp()
90 multiServiceDefinition = ServerServiceDefinition.builder( in setUp()
126 public ServerServiceDefinition bindService() { in simpleLookupWithBindable()
170 ServerServiceDefinition replaceServiceDefinition = ServerServiceDefinition.builder( in replaceAndLookup()
203 assertFalse(registry.removeService(ServerServiceDefinition.builder( in removeMissingNameConflictFails()
229 registry.addService(ServerServiceDefinition.builder( in addReturnsPrevious()
DUtilServerInterceptorsTest.java28 import io.grpc.ServerServiceDefinition;
59 private ServerServiceDefinition serviceDefinition =
60 ServerServiceDefinition.builder(new ServiceDescriptor("service_foo", flowMethod))
67 ServerServiceDefinition serviceDef) { in getSoleMethod()
109 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in statusRuntimeExceptionTransmitter()
145 ServerServiceDefinition intercepted = ServerInterceptors.intercept( in statusRuntimeExceptionTransmitterIgnoresClosedCalls()
/external/grpc-grpc/src/csharp/Grpc.Core/
DServerServiceDefinition.cs34 public class ServerServiceDefinition class
38 internal ServerServiceDefinition(Dictionary<string, IServerCallHandler> callHandlers) in ServerServiceDefinition() method in Grpc.Core.ServerServiceDefinition
150 public ServerServiceDefinition Build() in Build()
152 return new ServerServiceDefinition(callHandlers); in Build()
DServer.cs48 …readonly List<ServerServiceDefinition> serviceDefinitionsList = new List<ServerServiceDefinition>(…
255 private void AddServiceDefinitionInternal(ServerServiceDefinition serviceDefinition) in AddServiceDefinitionInternal()
399 public class ServiceDefinitionCollection : IEnumerable<ServerServiceDefinition>
412 public void Add(ServerServiceDefinition serviceDefinition) in Add()
420 public IEnumerator<ServerServiceDefinition> GetEnumerator() in GetEnumerator()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/advanced/
DHelloJsonServer.java24 import io.grpc.ServerServiceDefinition;
102 public ServerServiceDefinition bindService() { in bindService()
103 return io.grpc.ServerServiceDefinition in bindService()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DHandlerRegistryBenchmark.java24 import io.grpc.ServerServiceDefinition;
70 ServerServiceDefinition.Builder serviceBuilder = ServerServiceDefinition.builder(serviceName); in setup()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DGenericService.cs50 …public static ServerServiceDefinition BindHandler(DuplexStreamingServerMethod<byte[], byte[]> hand… in BindHandler()
52 return ServerServiceDefinition.CreateBuilder() in BindHandler()
DEmptyServiceGrpc.cs78 public static grpc::ServerServiceDefinition BindService(EmptyServiceBase serviceImpl) in BindService()
80 return grpc::ServerServiceDefinition.CreateBuilder().Build(); in BindService()
DReportQpsScenarioServiceGrpc.cs140 … public static grpc::ServerServiceDefinition BindService(ReportQpsScenarioServiceBase serviceImpl) in BindService()
142 return grpc::ServerServiceDefinition.CreateBuilder() in BindService()
/external/grpc-grpc-java/services/src/main/java/io/grpc/protobuf/services/
DProtoReflectionService.java31 import io.grpc.ServerServiceDefinition;
103 List<ServerServiceDefinition> serverMutableServices = server.getMutableServices(); in updateIndexIfNecessary()
104 for (ServerServiceDefinition mutableService : serverMutableServices) { in updateIndexIfNecessary()
337 List<ServerServiceDefinition> immutableServices, in ServerReflectionIndex()
338 List<ServerServiceDefinition> mutableServices) { in ServerReflectionIndex()
410 FileDescriptorIndex(List<ServerServiceDefinition> services) { in FileDescriptorIndex()
413 for (ServerServiceDefinition service : services) { in FileDescriptorIndex()
/external/grpc-grpc/src/csharp/Grpc.Reflection/
DReflectionGrpc.cs120 public static grpc::ServerServiceDefinition BindService(ServerReflectionBase serviceImpl) in BindService()
122 return grpc::ServerServiceDefinition.CreateBuilder() in BindService()
/external/grpc-grpc/examples/csharp/HelloworldXamarin/HelloworldXamarin/
DHelloworldGrpc.cs142 public static grpc::ServerServiceDefinition BindService(GreeterBase serviceImpl) in BindService()
144 return grpc::ServerServiceDefinition.CreateBuilder() in BindService()
/external/grpc-grpc/examples/csharp/HelloworldLegacyCsproj/Greeter/
DHelloworldGrpc.cs141 public static grpc::ServerServiceDefinition BindService(GreeterBase serviceImpl) in BindService()
143 return grpc::ServerServiceDefinition.CreateBuilder() in BindService()
/external/grpc-grpc/examples/csharp/Helloworld/Greeter/
DHelloworldGrpc.cs141 public static grpc::ServerServiceDefinition BindService(GreeterBase serviceImpl) in BindService()
143 return grpc::ServerServiceDefinition.CreateBuilder() in BindService()
/external/grpc-grpc/src/csharp/Grpc.HealthCheck/
DHealthGrpc.cs107 public static grpc::ServerServiceDefinition BindService(HealthBase serviceImpl) in BindService()
109 return grpc::ServerServiceDefinition.CreateBuilder() in BindService()

123