LLVM 17.0.0git
llvm::orc::SimpleRemoteEPCTransportClient Class Referenceabstract

#include "llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h"

Inheritance diagram for llvm::orc::SimpleRemoteEPCTransportClient:
[legend]

Public Types

enum  HandleMessageAction { ContinueSession , EndSession }

Public Member Functions

virtual ~SimpleRemoteEPCTransportClient ()

Handle receipt of a message.

virtual void handleDisconnect (Error Err)=0
Handle a disconnection from the underlying transport.

Detailed Description

Definition at line 53 of file SimpleRemoteEPCUtils.h.

◆ HandleMessageAction

Enumerator
ContinueSession
EndSession

Definition at line 55 of file SimpleRemoteEPCUtils.h.

◆ ~SimpleRemoteEPCTransportClient()

 llvm::orc::SimpleRemoteEPCTransportClient::~SimpleRemoteEPCTransportClient ( )
virtualdefault

◆ handleDisconnect()

 virtual void llvm::orc::SimpleRemoteEPCTransportClient::handleDisconnect ( Error Err )
pure virtual

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).

Implemented in llvm::orc::SimpleRemoteEPC, and llvm::orc::SimpleRemoteEPCServer.

◆ handleMessage()

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

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.

Implemented in llvm::orc::SimpleRemoteEPC, and llvm::orc::SimpleRemoteEPCServer.

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