#include <netreqpacket.h>
◆ RequestPacket() [1/2]
| Network::RequestPacket::RequestPacket |
( |
od_int32 | payloadsize = 0 | ) |
|
◆ RequestPacket() [2/2]
◆ ~RequestPacket()
| Network::RequestPacket::~RequestPacket |
( |
| ) |
|
|
protected |
◆ addErrMsg()
| void Network::RequestPacket::addErrMsg |
( |
BufferString & | | ) |
const |
◆ allocPayload()
| void * Network::RequestPacket::allocPayload |
( |
od_int32 | size | ) |
|
◆ cBeginSubID()
| static od_int16 Network::RequestPacket::cBeginSubID |
( |
| ) |
|
|
inlinestaticprotected |
◆ cEndSubID()
| static od_int16 Network::RequestPacket::cEndSubID |
( |
| ) |
|
|
inlinestaticprotected |
◆ cErrorSubID()
| static od_int16 Network::RequestPacket::cErrorSubID |
( |
| ) |
|
|
inlinestaticprotected |
◆ cMoreSubID()
| static od_int16 Network::RequestPacket::cMoreSubID |
( |
| ) |
|
|
inlinestaticprotected |
◆ finalize()
◆ getDefaultJsonHeader()
| static OD::JSON::Object Network::RequestPacket::getDefaultJsonHeader |
( |
bool | fortxt, |
|
|
od_int32 | sz ) |
|
staticprivate |
◆ getPayload() [1/4]
◆ getPayload() [2/4]
◆ getPayload() [3/4]
◆ getPayload() [4/4]
◆ getPayloadSize()
| static od_int32 Network::RequestPacket::getPayloadSize |
( |
const void * | | ) |
|
|
static |
◆ getRawHeader() [1/2]
| void * Network::RequestPacket::getRawHeader |
( |
| ) |
|
|
inline |
◆ getRawHeader() [2/2]
| const void * Network::RequestPacket::getRawHeader |
( |
| ) |
const |
|
inline |
◆ getStringPayload()
| void Network::RequestPacket::getStringPayload |
( |
BufferString & | | ) |
const |
◆ headerSize()
| static od_int32 Network::RequestPacket::headerSize |
( |
| ) |
|
|
inlinestatic |
◆ isError()
| bool Network::RequestPacket::isError |
( |
| ) |
const |
|
inline |
◆ isNewRequest()
| bool Network::RequestPacket::isNewRequest |
( |
| ) |
const |
|
inline |
◆ isOK()
| bool Network::RequestPacket::isOK |
( |
| ) |
const |
checks whether the header is reasonable
◆ isRequestEnd()
| bool Network::RequestPacket::isRequestEnd |
( |
| ) |
const |
|
inline |
◆ payload() [1/2]
| const void * Network::RequestPacket::payload |
( |
| ) |
const |
◆ payload() [2/2]
| void * Network::RequestPacket::payload |
( |
bool | takeover = false | ) |
|
◆ payloadSize()
| od_int32 Network::RequestPacket::payloadSize |
( |
| ) |
const |
◆ readJsonHeader()
◆ requestID()
| od_int32 Network::RequestPacket::requestID |
( |
| ) |
const |
◆ setIsError()
| void Network::RequestPacket::setIsError |
( |
| ) |
|
|
inline |
◆ setIsLast()
| void Network::RequestPacket::setIsLast |
( |
| ) |
|
|
inline |
◆ setIsNewRequest()
| int Network::RequestPacket::setIsNewRequest |
( |
| ) |
|
conveniently returns reqID()
◆ setPayload() [1/5]
template<class T >
| bool Network::RequestPacket::setPayload |
( |
const ArrayND< T > & | arr | ) |
|
|
inline |
◆ setPayload() [2/5]
| bool Network::RequestPacket::setPayload |
( |
const IOPar & | | ) |
|
◆ setPayload() [3/5]
◆ setPayload() [4/5]
◆ setPayload() [5/5]
| void Network::RequestPacket::setPayload |
( |
void * | , |
|
|
od_int32 | size ) |
◆ setRequestID()
| void Network::RequestPacket::setRequestID |
( |
od_int32 | | ) |
|
for multi-packet requests
◆ setStringPayload()
| void Network::RequestPacket::setStringPayload |
( |
const char * | | ) |
|
◆ setSubID()
| void Network::RequestPacket::setSubID |
( |
od_int16 | | ) |
|
◆ setSystemSizeLimit()
| static void Network::RequestPacket::setSystemSizeLimit |
( |
od_int32 | | ) |
|
|
static |
◆ subID()
| od_int16 Network::RequestPacket::subID |
( |
| ) |
const |
◆ systemSizeLimit()
| static od_int32 Network::RequestPacket::systemSizeLimit |
( |
| ) |
|
|
static |
◆ totalSize()
| od_int32 Network::RequestPacket::totalSize |
( |
| ) |
const |
|
inline |
◆ PacketFiller
◆ PacketInterpreter
◆ header_
| Header Network::RequestPacket::header_ |
|
protected |
◆ payload_
| char* Network::RequestPacket::payload_ = nullptr |
|
protected |