LLVM  6.0.0svn
Static Public Member Functions | List of all members
llvm::orc::rpc::detail::RespondHelper< true > Class Template Reference

#include "llvm/ExecutionEngine/Orc/RPCUtils.h"

Static Public Member Functions

template<typename WireRetT , typename HandlerRetT , typename ChannelT , typename FunctionIdT , typename SequenceNumberT >
static Error sendResult (ChannelT &C, const FunctionIdT &ResponseId, SequenceNumberT SeqNo, Expected< HandlerRetT > ResultOrErr)
 
template<typename ChannelT , typename FunctionIdT , typename SequenceNumberT >
static Error sendResult (ChannelT &C, const FunctionIdT &ResponseId, SequenceNumberT SeqNo, Error Err)
 

Detailed Description

template<>
class llvm::orc::rpc::detail::RespondHelper< true >

Definition at line 392 of file RPCUtils.h.

Member Function Documentation

◆ sendResult() [1/2]

template<typename WireRetT , typename HandlerRetT , typename ChannelT , typename FunctionIdT , typename SequenceNumberT >
static Error llvm::orc::rpc::detail::RespondHelper< true >::sendResult ( ChannelT &  C,
const FunctionIdT &  ResponseId,
SequenceNumberT  SeqNo,
Expected< HandlerRetT >  ResultOrErr 
)
inlinestatic

Definition at line 398 of file RPCUtils.h.

References llvm::Expected< T >::takeError().

◆ sendResult() [2/2]

template<typename ChannelT , typename FunctionIdT , typename SequenceNumberT >
static Error llvm::orc::rpc::detail::RespondHelper< true >::sendResult ( ChannelT &  C,
const FunctionIdT &  ResponseId,
SequenceNumberT  SeqNo,
Error  Err 
)
inlinestatic

Definition at line 420 of file RPCUtils.h.

References llvm::Error::isA(), and llvm::orc::rpc::serializeSeq().


The documentation for this class was generated from the following file: