reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
157 << RPCTypeName<RetT>::getName() << " " << DerivedFunc::getName() 1003 return getRemoteFunctionId<Func>(true, Retry).takeError(); 1015 detail::RPCArgTypeCheck<CanSerializeCheck, typename Func::Type, 1021 if (auto FnIdOrErr = getRemoteFunctionId<Func>(LazyAutoNegotiation, false)) 1042 detail::createResponseHandler<ChannelT, typename Func::ReturnType>( 1053 if (auto Err = detail::HandlerTraits<typename Func::Type>::serializeArgs( 1072 if (auto Err = appendCallAsync<Func>(std::move(Handler), Args...)) 1162 CanDeserializeCheck, typename Func::Type, 1166 FunctionIdT NewFnId = FnIdAllocator.template allocate<Func>(); 1167 LocalFunctionIds[Func::getPrototype()] = NewFnId; 1168 Handlers[NewFnId] = wrapHandler<Func>(std::move(Handler)); 1175 CanDeserializeCheck, typename Func::Type, 1181 FunctionIdT NewFnId = FnIdAllocator.template allocate<Func>(); 1182 LocalFunctionIds[Func::getPrototype()] = NewFnId; 1183 Handlers[NewFnId] = wrapAsyncHandler<Func>(std::move(Handler)); 1233 auto I = RemoteFunctionIds.find(Func::getPrototype()); 1247 Impl.template callB<OrcRPCNegotiate>(Func::getPrototype())) { 1248 RemoteFunctionIds[Func::getPrototype()] = *RemoteIdOrErr; 1250 return make_error<CouldNotNegotiate>(Func::getPrototype()); 1258 return make_error<CouldNotNegotiate>(Func::getPrototype()); 1276 detail::HandlerTraits<typename Func::Type>::deserializeArgs( 1290 using FuncReturn = typename Func::ReturnType; 1310 detail::HandlerTraits<typename Func::Type>::deserializeArgs( 1324 using FuncReturn = typename Func::ReturnType; 1489 return this->template addHandlerImpl<Func>(std::move(Handler)); 1500 return this->template addAsyncHandlerImpl<Func>(std::move(Handler)); 1506 addAsyncHandler<Func>( 1560 return Endpoint.template appendCallAsync<Func>(std::move(Handler), Args...); 1569 RPCAsyncDispatch<RPCEndpointT, Func> rpcAsyncDispatch(RPCEndpointT &Endpoint) { 1652 static const bool value = std::is_same<F, Func>::value | 1653 APICalls<Funcs...>::template Contains<F>::value; 1658 if (auto Err = R.template negotiateFunction<Func>()) 1660 return APICalls<Funcs...>::negotiate(R); 1679 if (auto Err = APICalls<InnerFuncs...>::negotiate(R))unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
124 class IntInt : public Function<IntInt, int32_t(int32_t)> { 237 Server.addHandler<DummyRPCAPI::IntInt>( 257 auto Err = Client.callAsync<DummyRPCAPI::IntInt>( 327 Server.addAsyncHandler<DummyRPCAPI::IntInt>( 348 auto Err = Client.callAsync<DummyRPCAPI::IntInt>( 383 Server.addAsyncHandler<DummyRPCAPI::IntInt>(D, &Dummy::handler); 399 auto Err = Client.callAsync<DummyRPCAPI::IntInt>( 756 Server.addHandler<DummyRPCAPI::IntInt>( 774 rpcAsyncDispatch<DummyRPCAPI::IntInt>(Client), 785 rpcAsyncDispatch<DummyRPCAPI::IntInt>(Client), 796 rpcAsyncDispatch<DummyRPCAPI::IntInt>(Client), 823 using DummyCalls1 = APICalls<DummyRPCAPI::VoidBool, DummyRPCAPI::IntInt>; 840 Server.addHandler<DummyRPCAPI::IntInt>([](int x) { return x; });