LLVM
8.0.1
|
#include "llvm/ExecutionEngine/Orc/RPCUtils.h"
Public Member Functions | |
SingleThreadedRPCEndpoint (ChannelT &C, bool LazyAutoNegotiation) | |
template<typename Func , typename HandlerT > | |
void | addHandler (HandlerT Handler) |
template<typename Func , typename ClassT , typename RetT , typename... ArgTs> | |
void | addHandler (ClassT &Object, RetT(ClassT::*Method)(ArgTs...)) |
template<typename Func , typename HandlerT > | |
void | addAsyncHandler (HandlerT Handler) |
template<typename Func , typename ClassT , typename RetT , typename... ArgTs> | |
void | addAsyncHandler (ClassT &Object, RetT(ClassT::*Method)(ArgTs...)) |
Add a class-method as a handler. More... | |
template<typename Func , typename... ArgTs, typename AltRetT = typename Func::ReturnType> | |
detail::ResultTraits< AltRetT >::ErrorReturnType | callB (const ArgTs &... Args) |
![]() | |
RPCEndpointBase (ChannelT &C, bool LazyAutoNegotiation) | |
Construct an RPC instance on a channel. More... | |
Error | negotiateFunction (bool Retry=false) |
Negotiate a function id for Func with the other end of the channel. More... | |
Error | appendCallAsync (HandlerT Handler, const ArgTs &... Args) |
Append a call Func, does not call send on the channel. More... | |
Error | sendAppendedCalls () |
Error | callAsync (HandlerT Handler, const ArgTs &... Args) |
Error | handleOne () |
Handle one incoming call. More... | |
void | abandonPendingResponses () |
Abandon all outstanding result handlers. More... | |
void | removeHandler () |
Remove the handler for the given function. More... | |
void | clearHandlers () |
Clear all handlers. More... | |
Definition at line 1474 of file RPCUtils.h.
|
inline |
Definition at line 1485 of file RPCUtils.h.
|
inline |
Definition at line 1500 of file RPCUtils.h.
|
inline |
Add a class-method as a handler.
Definition at line 1506 of file RPCUtils.h.
|
inline |
Definition at line 1489 of file RPCUtils.h.
|
inline |
Definition at line 1494 of file RPCUtils.h.
|
inline |
Definition at line 1514 of file RPCUtils.h.