|
| 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...
|
|
template<typename ChannelT, typename FunctionIdT = uint32_t, typename SequenceNumberT = uint32_t>
class llvm::orc::rpc::SingleThreadedRPCEndpoint< ChannelT, FunctionIdT, SequenceNumberT >
Definition at line 1474 of file RPCUtils.h.
template<typename ChannelT, typename FunctionIdT = uint32_t, typename SequenceNumberT = uint32_t>
template<typename Func , typename ClassT , typename RetT , typename... ArgTs>
Add a class-method as a handler.
Definition at line 1506 of file RPCUtils.h.