class SimpleRemoteEPCTransportClient

Declaration

class SimpleRemoteEPCTransportClient { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h:53

Method Overview

  • public virtual void handleDisconnect(llvm::Error Err)
  • public virtual Expected<llvm::orc::SimpleRemoteEPCTransportClient::HandleMessageAction> handleMessage(llvm::orc::SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, llvm::orc::ExecutorAddr TagAddr, llvm::orc::SimpleRemoteEPCArgBytesVector ArgBytes)
  • public virtual ~SimpleRemoteEPCTransportClient()

Methods

virtual void handleDisconnect(llvm::Error Err)

Description

Handle a disconnection from the underlying transport. No further messages should be sent to handleMessage after this is called. Err may contain an Error value indicating unexpected disconnection. This allows clients to log such errors, but no attempt should be made at recovery (which should be handled inside the transport class, if it is supported at all).

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h:74

Parameters

llvm::Error Err

virtual Expected<
    llvm::orc::SimpleRemoteEPCTransportClient::
        HandleMessageAction>
handleMessage(
    llvm::orc::SimpleRemoteEPCOpcode OpC,
    uint64_t SeqNo,
    llvm::orc::ExecutorAddr TagAddr,
    llvm::orc::SimpleRemoteEPCArgBytesVector
        ArgBytes)

Description

Handle receipt of a message. Returns an Error if the message cannot be handled, 'EndSession' if the client will not accept any further messages, and 'ContinueSession' otherwise.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h:65

Parameters

llvm::orc::SimpleRemoteEPCOpcode OpC
uint64_t SeqNo
llvm::orc::ExecutorAddr TagAddr
llvm::orc::SimpleRemoteEPCArgBytesVector ArgBytes

virtual ~SimpleRemoteEPCTransportClient()

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h:57