LLVM 20.0.0git
Public Member Functions | List of all members
llvm::orc::SimpleRemoteEPCTransport Class Referenceabstract

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

Inheritance diagram for llvm::orc::SimpleRemoteEPCTransport:
Inheritance graph
[legend]

Public Member Functions

virtual ~SimpleRemoteEPCTransport ()
 
virtual Error start ()=0
 Called during setup of the client to indicate that the client is ready to receive messages.
 
virtual Error sendMessage (SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, ExecutorAddr TagAddr, ArrayRef< char > ArgBytes)=0
 Send a SimpleRemoteEPC message.
 
virtual void disconnect ()=0
 Trigger disconnection from the transport.
 

Detailed Description

Definition at line 78 of file SimpleRemoteEPCUtils.h.

Constructor & Destructor Documentation

◆ ~SimpleRemoteEPCTransport()

llvm::orc::SimpleRemoteEPCTransport::~SimpleRemoteEPCTransport ( )
virtualdefault

Member Function Documentation

◆ disconnect()

virtual void llvm::orc::SimpleRemoteEPCTransport::disconnect ( )
pure virtual

Trigger disconnection from the transport.

The implementation should respond by calling handleDisconnect on the client once disconnection is complete. May be called more than once and from different threads.

Implemented in llvm::orc::FDSimpleRemoteEPCTransport.

◆ sendMessage()

virtual Error llvm::orc::SimpleRemoteEPCTransport::sendMessage ( SimpleRemoteEPCOpcode  OpC,
uint64_t  SeqNo,
ExecutorAddr  TagAddr,
ArrayRef< char ArgBytes 
)
pure virtual

Send a SimpleRemoteEPC message.

This function may be called concurrently. Subclasses should implement locking if required for the underlying transport.

Implemented in llvm::orc::FDSimpleRemoteEPCTransport.

◆ start()

virtual Error llvm::orc::SimpleRemoteEPCTransport::start ( )
pure virtual

Called during setup of the client to indicate that the client is ready to receive messages.

Transport objects should not access the client until this method is called.

Implemented in llvm::orc::FDSimpleRemoteEPCTransport.


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