![]() |
OpendTect
6.6
|
Classes | |
| union | Header |
Public Member Functions | |
| RequestPacket (const RequestPacket &) | |
| RequestPacket (od_int32 payloadsize=0) | |
| void | addErrMsg (BufferString &) const |
| void * | allocPayload (od_int32 size) |
| uiRetVal | getPayload (IOPar &) const |
| PtrMan< PacketInterpreter > | getPayload (ObjectSet< ArrayNDInfo > &, TypeSet< OD::DataRepType > &) const |
| uiRetVal | getPayload (OD::JSON::Object &) const |
| template<class T > | |
| ArrayND< T > * | getPayload (uiRetVal &) const |
| void * | getRawHeader () |
| const void * | getRawHeader () const |
| void | getStringPayload (BufferString &) const |
| bool | isError () const |
| bool | isNewRequest () const |
| bool | isOK () const |
| checks whether the header is reasonable More... | |
| bool | isRequestEnd () const |
| const void * | payload () const |
| void * | payload (bool takeover=false) |
| od_int32 | payloadSize () const |
| od_int32 | requestID () const |
| void | setIsError () |
| void | setIsLast () |
| int | setIsNewRequest () |
| conveniently returns reqID() More... | |
| template<class T > | |
| bool | setPayload (const ArrayND< T > &) |
| bool | setPayload (const IOPar &) |
| PtrMan< PacketFiller > | setPayload (const ObjectSet< ArrayNDInfo > &, const TypeSet< OD::DataRepType > &) |
| bool | setPayload (const OD::JSON::Object &) |
| void | setPayload (void *, od_int32 size) |
| buf becomes mine More... | |
| void | setRequestID (od_int32) |
| for multi-packet requests More... | |
| void | setStringPayload (const char *) |
| void | setSubID (od_int16) |
| od_int16 | subID () const |
| od_int32 | totalSize () const |
Public Member Functions inherited from RefCount::Referenced | |
| void | addObserver (WeakPtrBase *obs) |
| Not for normal use. May become private. More... | |
| int | nrRefs () const |
| Only for expert use. More... | |
| void | ref () const |
| bool | refIfReffed () const |
| Don't use in production, for debugging. More... | |
| void | removeObserver (WeakPtrBase *obs) |
| Not for normal use. May become private. More... | |
| bool | tryRef () const |
| Not for normal use. May become private. More... | |
| void | unRef () const |
| void | unRefNoDelete () const |
Static Public Member Functions | |
| static od_int32 | getPayloadSize (const void *) |
| static od_int32 | headerSize () |
| static void | setSystemSizeLimit (od_int32) |
| static od_int32 | systemSizeLimit () |
Static Public Member Functions inherited from RefCount::Referenced | |
| static bool | isSane (const Referenced *) |
Protected Member Functions | |
| ~RequestPacket () | |
Protected Member Functions inherited from RefCount::Referenced | |
| Referenced () | |
| Referenced (const Referenced &) | |
| virtual | ~Referenced () |
| Referenced & | operator= (const Referenced &) |
Static Protected Member Functions | |
| static od_int16 | cBeginSubID () |
| static od_int16 | cEndSubID () |
| static od_int16 | cErrorSubID () |
| static od_int16 | cMoreSubID () |
Protected Attributes | |
| Header | header_ |
| char * | payload_ = nullptr |
Private Member Functions | |
| PacketFiller * | finalize (const OD::JSON::Object &) |
| PacketInterpreter * | readJsonHeader (OD::JSON::Object &, uiRetVal &) const |
Static Private Member Functions | |
| static OD::JSON::Object | getDefaultJsonHeader (bool fortxt, od_int32 sz) |
Friends | |
| class | PacketFiller |
| class | PacketInterpreter |
<>
| Network::RequestPacket::RequestPacket | ( | od_int32 | payloadsize = 0 | ) |
| Network::RequestPacket::RequestPacket | ( | const RequestPacket & | ) |
|
protected |
| void Network::RequestPacket::addErrMsg | ( | BufferString & | ) | const |
| void* Network::RequestPacket::allocPayload | ( | od_int32 | size | ) |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
private |
|
staticprivate |
| PtrMan<PacketInterpreter> Network::RequestPacket::getPayload | ( | ObjectSet< ArrayNDInfo > & | , |
| TypeSet< OD::DataRepType > & | |||
| ) | const |
| uiRetVal Network::RequestPacket::getPayload | ( | OD::JSON::Object & | ) | const |
|
inline |
|
static |
|
inline |
|
inline |
| void Network::RequestPacket::getStringPayload | ( | BufferString & | ) | const |
|
inlinestatic |
|
inline |
|
inline |
| bool Network::RequestPacket::isOK | ( | ) | const |
checks whether the header is reasonable
|
inline |
| const void* Network::RequestPacket::payload | ( | ) | const |
| void* Network::RequestPacket::payload | ( | bool | takeover = false | ) |
takeover: delete char[]
| od_int32 Network::RequestPacket::payloadSize | ( | ) | const |
|
private |
| od_int32 Network::RequestPacket::requestID | ( | ) | const |
|
inline |
|
inline |
| int Network::RequestPacket::setIsNewRequest | ( | ) |
conveniently returns reqID()
|
inline |
| bool Network::RequestPacket::setPayload | ( | const IOPar & | ) |
| PtrMan<PacketFiller> Network::RequestPacket::setPayload | ( | const ObjectSet< ArrayNDInfo > & | , |
| const TypeSet< OD::DataRepType > & | |||
| ) |
| bool Network::RequestPacket::setPayload | ( | const OD::JSON::Object & | ) |
| void Network::RequestPacket::setPayload | ( | void * | , |
| od_int32 | size | ||
| ) |
buf becomes mine
| void Network::RequestPacket::setRequestID | ( | od_int32 | ) |
for multi-packet requests
| void Network::RequestPacket::setStringPayload | ( | const char * | ) |
| void Network::RequestPacket::setSubID | ( | od_int16 | ) |
|
static |
| od_int16 Network::RequestPacket::subID | ( | ) | const |
|
static |
|
inline |
|
friend |
|
friend |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022