![]() |
ATLAS Offline Software
|
Namespaces | |
| namespace | Bytestream |
| namespace | Example |
Classes | |
| struct | BoundaryInfo |
| Information what kind of data is expected, in which RPC protocol, and the meaning of the data. More... | |
| class | BytestreamCodec |
| Encode and decode RawEvent data. More... | |
| class | Client |
| class | EDMSerialiserCodec |
| Serialise EDM containers into bytes using TriggerEDMSerialiserTool. More... | |
| struct | EventId |
| An unique event identifier. More... | |
| struct | ExecuteReply |
| struct | ExecuteRequest |
| class | InputCnvAlg |
| class | IPayloadCodec |
| class | OutputCnvAlg |
| struct | Payload |
| The actual data that is sent via RPC. More... | |
| class | PayloadCodecBase |
| class | RawEventCache |
| Class that allows for safe holding of RawEvent data and pointer throughout whole remote execution. More... | |
| class | RemoteExecHiveEventLoopMgr |
| class | ReplyStaging |
| class | RequestAlg |
| class | RequestDescriptor |
| struct | RequestTiming |
| Timestamps of a single request. More... | |
| struct | SequenceInfo |
| Information about what sequence the server is capable of executing. More... | |
| class | Server |
| class | TimingAccumulator |
| Thread-safe accumulator over RequestTiming, producing a phase table. More... | |
Enumerations | |
| enum class | Status : int { Unspecified = 0 , Ok = 1 , UnknownSequence = 2 , InvalidRequest = 3 , AlgFailure = 4 , Timeout = 5 , Overloaded = 6 , ShuttingDown = 7 } |
| RPC reply status. More... | |
Functions | |
| std::string | describeDangling (const std::vector< std::string > &dangling) |
| Message that joins what's returned by dangling in IPayloadCodec::encode(). | |
| athremoteexec::v1::Status | toProto (Status status) |
| Status | fromProto (athremoteexec::v1::Status status) |
| void | toProto (const Payload &payload, athremoteexec::v1::Payload &out) |
| void | fromProto (const athremoteexec::v1::Payload &in, Payload &payload) |
| void | toProto (const ExecuteRequest &request, athremoteexec::v1::ExecuteRequest &out) |
| void | fromProto (const athremoteexec::v1::ExecuteRequest &in, ExecuteRequest &request) |
| void | toProto (const ExecuteReply &reply, athremoteexec::v1::ExecuteReply &out) |
| void | toProto (ExecuteReply &&reply, athremoteexec::v1::ExecuteReply &out) |
| void | fromProto (const athremoteexec::v1::ExecuteReply &in, ExecuteReply &reply) |
| void | toProto (const SequenceInfo &info, athremoteexec::v1::SequenceInfo &out) |
| std::string | rpcFrameworkVersion () |
| Returns string describing RPC framework and its version. | |
| constexpr bool | isRefusal (Status status) |
| Check if server refused to process the request. | |
| constexpr std::string_view | toString (Status status) |
| String representation of Status enum. | |
| std::string | describe (const Payload &payload) |
| Human-readable rendering of a payload, for log messages. | |
| std::optional< BoundaryInfo > | parseBoundary (std::string_view spec) |
| Parse "key#encoding#schema" into BoundaryInfo. | |
Codec | |
Serialisations to/from the RPC format, with wire being the view of binary data. | |
| bool | encode (const ExecuteRequest &request, std::string &wire) |
| bool | decode (std::string_view wire, ExecuteRequest &request) |
| bool | encode (const ExecuteReply &reply, std::string &wire) |
| bool | decode (std::string_view wire, ExecuteReply &reply) |
|
strong |
RPC reply status.
The first six fields are the possible replies to the request while last two fields are related to server failures/refusal.
| Enumerator | |
|---|---|
| Unspecified | |
| Ok | |
| UnknownSequence | |
| InvalidRequest | |
| AlgFailure | |
| Timeout | |
| Overloaded | |
| ShuttingDown | |
Definition at line 32 of file Protocol.h.
| bool AthRemoteExec::decode | ( | std::string_view | wire, |
| ExecuteReply & | reply ) |
Definition at line 172 of file Protocol.cxx.
| bool AthRemoteExec::decode | ( | std::string_view | wire, |
| ExecuteRequest & | request ) |
Definition at line 157 of file Protocol.cxx.
Human-readable rendering of a payload, for log messages.
Definition at line 80 of file Protocol.h.
| std::string AthRemoteExec::describeDangling | ( | const std::vector< std::string > & | dangling | ) |
Message that joins what's returned by dangling in IPayloadCodec::encode().
Definition at line 11 of file PayloadCodecBase.cxx.
| bool AthRemoteExec::encode | ( | const ExecuteReply & | reply, |
| std::string & | wire ) |
Definition at line 166 of file Protocol.cxx.
| bool AthRemoteExec::encode | ( | const ExecuteRequest & | request, |
| std::string & | wire ) |
Definition at line 151 of file Protocol.cxx.
| Status AthRemoteExec::fromProto | ( | athremoteexec::v1::Status | status | ) |
Definition at line 20 of file Protocol.cxx.
| void AthRemoteExec::fromProto | ( | const athremoteexec::v1::ExecuteReply & | in, |
| ExecuteReply & | reply ) |
Definition at line 122 of file Protocol.cxx.
| void AthRemoteExec::fromProto | ( | const athremoteexec::v1::ExecuteRequest & | in, |
| ExecuteRequest & | request ) |
Definition at line 67 of file Protocol.cxx.
Definition at line 31 of file Protocol.cxx.
|
constexpr |
Check if server refused to process the request.
Definition at line 44 of file Protocol.h.
|
inline |
Parse "key#encoding#schema" into BoundaryInfo.
key and encoding must be present, schema is optional.
Definition at line 155 of file Protocol.h.
| std::string AthRemoteExec::rpcFrameworkVersion | ( | ) |
Returns string describing RPC framework and its version.
Definition at line 181 of file Protocol.cxx.
| void AthRemoteExec::toProto | ( | const ExecuteReply & | reply, |
| athremoteexec::v1::ExecuteReply & | out ) |
Definition at line 100 of file Protocol.cxx.
| void AthRemoteExec::toProto | ( | const ExecuteRequest & | request, |
| athremoteexec::v1::ExecuteRequest & | out ) |
Definition at line 38 of file Protocol.cxx.
Definition at line 24 of file Protocol.cxx.
| void AthRemoteExec::toProto | ( | const SequenceInfo & | info, |
| athremoteexec::v1::SequenceInfo & | out ) |
Definition at line 135 of file Protocol.cxx.
| void AthRemoteExec::toProto | ( | ExecuteReply && | reply, |
| athremoteexec::v1::ExecuteReply & | out ) |
Definition at line 109 of file Protocol.cxx.
| athremoteexec::v1::Status AthRemoteExec::toProto | ( | Status | status | ) |
Definition at line 11 of file Protocol.cxx.
|
nodiscardconstexpr |
String representation of Status enum.
Definition at line 49 of file Protocol.h.