Home
last modified time | relevance | path

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

12

/external/grpc-grpc/include/grpcpp/impl/codegen/
Drpc_service_method.h39 class MethodHandler {
41 virtual ~MethodHandler() {} in ~MethodHandler()
61 MethodHandler* handler) in RpcServiceMethod()
76 MethodHandler* handler() const { return handler_.get(); } in handler()
77 void SetHandler(MethodHandler* handler) { handler_.reset(handler); } in SetHandler()
99 std::unique_ptr<MethodHandler> handler_;
Dmethod_handler_impl.h53 class RpcMethodHandler : public MethodHandler {
100 class ClientStreamingHandler : public MethodHandler {
143 class ServerStreamingHandler : public MethodHandler {
195 class TemplatedBidiStreamingHandler : public MethodHandler {
278 class ErrorMethodHandler : public MethodHandler {
Dbyte_buffer.h43 class MethodHandler; variable
144 friend class internal::MethodHandler;
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Drpc_service_method.h38 class MethodHandler {
40 virtual ~MethodHandler() {} in ~MethodHandler()
88 MethodHandler* handler) in RpcServiceMethod()
105 MethodHandler* handler() const { return handler_.get(); } in handler()
107 void SetHandler(MethodHandler* handler) { handler_.reset(handler); } in SetHandler()
130 std::unique_ptr<MethodHandler> handler_;
Dservice_type.h107 void MarkMethodCallback(int index, internal::MethodHandler* handler) { in MarkMethodCallback()
111 void MarkMethodRawCallback(int index, internal::MethodHandler* handler) { in MarkMethodRawCallback()
115 internal::MethodHandler* GetHandler(int index) { in GetHandler()
204 void MarkMethodStreamed(int index, internal::MethodHandler* streamed_method) { in MarkMethodStreamed()
220 void MarkMethodCallback(int index, internal::MethodHandler* handler) { in MarkMethodCallback()
224 void MarkMethodRawCallback(int index, internal::MethodHandler* handler) { in MarkMethodRawCallback()
228 internal::MethodHandler* GetHandler(int index) { in GetHandler()
235 void MarkMethodCallbackInternal(int index, internal::MethodHandler* handler) { in MarkMethodCallbackInternal()
249 internal::MethodHandler* handler) { in MarkMethodRawCallbackInternal()
262 internal::MethodHandler* GetHandlerInternal(int index) { in GetHandlerInternal()
Dmethod_handler.h57 void UnaryRunHandlerHelper(const MethodHandler::HandlerParameter& param, in UnaryRunHandlerHelper()
98 class RpcMethodHandler : public ::grpc::internal::MethodHandler {
141 class ClientStreamingHandler : public ::grpc::internal::MethodHandler {
189 class ServerStreamingHandler : public ::grpc::internal::MethodHandler {
262 class TemplatedBidiStreamingHandler : public ::grpc::internal::MethodHandler {
358 class ErrorMethodHandler : public ::grpc::internal::MethodHandler {
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Drpc_service_method.h38 class MethodHandler {
40 virtual ~MethodHandler() {} in ~MethodHandler()
88 MethodHandler* handler) in RpcServiceMethod()
105 MethodHandler* handler() const { return handler_.get(); } in handler()
107 void SetHandler(MethodHandler* handler) { handler_.reset(handler); } in SetHandler()
130 std::unique_ptr<MethodHandler> handler_;
Dservice_type.h107 void MarkMethodCallback(int index, internal::MethodHandler* handler) { in MarkMethodCallback()
111 void MarkMethodRawCallback(int index, internal::MethodHandler* handler) { in MarkMethodRawCallback()
115 internal::MethodHandler* GetHandler(int index) { in GetHandler()
204 void MarkMethodStreamed(int index, internal::MethodHandler* streamed_method) { in MarkMethodStreamed()
220 void MarkMethodCallback(int index, internal::MethodHandler* handler) { in MarkMethodCallback()
224 void MarkMethodRawCallback(int index, internal::MethodHandler* handler) { in MarkMethodRawCallback()
228 internal::MethodHandler* GetHandler(int index) { in GetHandler()
235 void MarkMethodCallbackInternal(int index, internal::MethodHandler* handler) { in MarkMethodCallbackInternal()
249 internal::MethodHandler* handler) { in MarkMethodRawCallbackInternal()
262 internal::MethodHandler* GetHandlerInternal(int index) { in GetHandlerInternal()
Dmethod_handler.h57 void UnaryRunHandlerHelper(const MethodHandler::HandlerParameter& param, in UnaryRunHandlerHelper()
98 class RpcMethodHandler : public ::grpc::internal::MethodHandler {
141 class ClientStreamingHandler : public ::grpc::internal::MethodHandler {
189 class ServerStreamingHandler : public ::grpc::internal::MethodHandler {
262 class TemplatedBidiStreamingHandler : public ::grpc::internal::MethodHandler {
358 class ErrorMethodHandler : public ::grpc::internal::MethodHandler {
/external/javassist/src/test/test/javassist/proxy/
DProxySimpleTest.java11 import javassist.util.proxy.MethodHandler;
31 MethodHandler mi = new MethodHandler() { in testProxyFactory()
126 Extended244 e = (Extended244)factory.create(null, null, new MethodHandler() { in testJIRA244()
170 MethodHandler mi = new MethodHandler() { in testDefaultMethods()
190 MethodHandler mi = new MethodHandler() { in testDefaultMethods2()
226 MethodHandler mi = new MethodHandler() { in testPublicProxy()
258 MethodHandler mi = new MethodHandler() { in testPublicProxy2()
299 Extended267 e = (Extended267)factory.create(null, null, new MethodHandler() { in testJIRA267()
340 Extended267b e = (Extended267b)factory.create(null, null, new MethodHandler() { in testJIRA267b()
DJBPAPP9257Test.java5 import javassist.util.proxy.MethodHandler;
23 MethodHandler mi = new MethodHandler() { in testGetHandler()
51 MethodHandler mi = new MethodHandler() { in testGetHandler2()
DProxyCacheGCTest.java5 import javassist.util.proxy.MethodHandler;
97 MethodHandler handler= (MethodHandler)javaHandlerClass.getConstructor().newInstance(); in createProxy()
DProxyFactoryCompatibilityTest.java5 import javassist.util.proxy.MethodHandler;
24 MethodHandler handler;
35 handler = new MethodHandler() { in setUp()
DProxySerializationTest.java28 MethodHandler handler = new TestHandler(); in testSerialization()
110 public static class TestHandler implements MethodHandler, Serializable
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_exit_scenarios.py93 class MethodHandler(grpc.RpcMethodHandler): class
127 return MethodHandler(False, False, False)
129 return MethodHandler(False, True, False)
131 return MethodHandler(True, False, False)
133 return MethodHandler(True, True, False)
135 return MethodHandler(False, True, True)
137 return MethodHandler(True, False, True)
139 return MethodHandler(True, True, True)
/external/javassist/src/test/javassist/proxyfactory/
DProxyFactoryTest.java3 import javassist.util.proxy.MethodHandler;
28 MethodHandler h2 = ((ProxyObject) myCls).getHandler(); in testMethodHandlers()
55 MethodHandler h2 = ((ProxyObject) myCls2).getHandler(); in testSerialize()
61 public static class MyMethodHandler implements MethodHandler, Serializable {
135 java.util.HashMap e = (java.util.HashMap)factory.create(null, null, new MethodHandler() { in testJava11()
147 …ndardDoclet e = (jdk.javadoc.doclet.StandardDoclet)factory.create(null, null, new MethodHandler() { in testJava11jdk()
DTester.java19 static class MHandler implements MethodHandler, java.io.Serializable {
30 static MethodHandler mi = new MHandler();
/external/javassist/src/main/javassist/util/proxy/
DProxyObject.java35 void setHandler(MethodHandler mi); in setHandler()
44 MethodHandler getHandler(); in getHandler()
DSerializedProxy.java40 private MethodHandler handler;
42 SerializedProxy(Class<?> proxy, byte[] sig, MethodHandler h) { in SerializedProxy()
DRuntimeSupport.java31 public static MethodHandler default_interceptor = new DefaultMethodHandler();
33 static class DefaultMethodHandler implements MethodHandler, Serializable {
269 MethodHandler methodHandler = null; in makeSerializedProxy()
DProxy.java32 void setHandler(MethodHandler mi); in setHandler()
DMethodHandler.java27 public interface MethodHandler { interface
/external/javassist/src/test/testproxy/
DTarget189.java3 import javassist.util.proxy.MethodHandler;
10 public static class TestMethodHandler implements MethodHandler {
DProxyTester.java12 import javassist.util.proxy.MethodHandler;
28 static class Interceptor1 implements MethodHandler {
41 static class Interceptor2 implements MethodHandler {
126 ((ProxyObject)obj).setHandler(new MethodHandler() { in testSetter()
237 MethodHandler handler = new MethodHandler() { in testInit()
464 …7.Sub proxy = (Target127.Sub)proxyFactory.create(new Class[0], new Object[0], new MethodHandler() { in testJIRA127()
DProxyFactoryPerformanceTest.java12 import javassist.util.proxy.MethodHandler;
89 class ProxyMaker extends Thread implements MethodHandler {

12