LLVM 20.0.0git
|
#include "llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h"
Public Types | |
enum | HandleMessageAction { ContinueSession , EndSession } |
Public Member Functions | |
virtual | ~SimpleRemoteEPCTransportClient () |
virtual Expected< HandleMessageAction > | handleMessage (SimpleRemoteEPCOpcode OpC, uint64_t SeqNo, ExecutorAddr TagAddr, SimpleRemoteEPCArgBytesVector ArgBytes)=0 |
Handle receipt of a message. | |
virtual void | handleDisconnect (Error Err)=0 |
Handle a disconnection from the underlying transport. | |
Definition at line 54 of file SimpleRemoteEPCUtils.h.
Enumerator | |
---|---|
ContinueSession | |
EndSession |
Definition at line 56 of file SimpleRemoteEPCUtils.h.
|
virtualdefault |
|
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.
|
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.