|
| | RequestHeader (const cxx::UniqueId &uniqueClientQueueId, const uint32_t lastKnownClientQueueIndex) noexcept |
| | Constructs and initializes a RpcBaseHeader.
|
|
| RequestHeader (const RequestHeader &other)=delete |
|
RequestHeader & | operator= (const RequestHeader &)=delete |
|
| RequestHeader (RequestHeader &&rhs) noexcept=default |
|
RequestHeader & | operator= (RequestHeader &&rhs) noexcept=default |
| void | setSequenceId (const int64_t sequenceId) noexcept |
| | Sets the sequence ID which is used to match a response to a request.
|
|
|
static RequestHeader * | fromPayload (void *const payload) noexcept |
|
static const RequestHeader * | fromPayload (const void *const payload) noexcept |
◆ RequestHeader()
| iox::popo::RequestHeader::RequestHeader |
( |
const cxx::UniqueId & | uniqueClientQueueId, |
|
|
const uint32_t | lastKnownClientQueueIndex ) |
|
explicitnoexcept |
Constructs and initializes a RpcBaseHeader.
- Parameters
-
| [in] | uniqueClientQueueId | is the cxx::UniqueId of the client queue to which the response shall be delivered |
| [in] | lastKnownClientQueueIndex | is the last know index of the client queue in the ChunkDistributor for fast lookup |
◆ setSequenceId()
| void iox::popo::RequestHeader::setSequenceId |
( |
const int64_t | sequenceId | ) |
|
|
noexcept |
Sets the sequence ID which is used to match a response to a request.
- Parameters
-
| [in] | sequenceId | is a consecutive number set by the user |
- Note
- The user has to set this manually if multiple requests are sent before a response is read since a server might drop a requests or process the requests out of order and therefore the responses might also be out of order
The documentation for this class was generated from the following file: