![]() |
OpendTect
6.3
|
Classes | |
| union | Header |
Public Member Functions | |
| RequestPacket (od_int32 payloadsize=0) | |
| RequestPacket (const RequestPacket &) | |
| od_int32 | requestID () const |
| bool | isNewRequest () const |
| bool | isRequestEnd () const |
| bool | isError () const |
| const void * | payload () const |
| void | getStringPayload (BufferString &) const |
| od_int32 | payloadSize () const |
| od_int32 | totalSize () const |
| int | setIsNewRequest () |
| conveniently returns reqID() More... | |
| void | setRequestID (od_int32) |
| for multi-packet requests More... | |
| void | setIsError () |
| void | setIsLast () |
| void * | allocPayload (od_int32 size) |
| void | setPayload (void *, od_int32 size) |
| buf becomes mine More... | |
| void | setStringPayload (const char *) |
| void | addErrMsg (BufferString &) const |
| bool | isOK () const |
| checks whether the header is reasonable More... | |
| od_int16 | subID () const |
| void | setSubID (od_int16) |
| void * | payload (bool takeover=false) |
| void * | getRawHeader () |
| const void * | getRawHeader () const |
Static Public Member Functions | |
| static od_int32 | systemSizeLimit () |
| static void | setSystemSizeLimit (od_int32) |
| static od_int32 | headerSize () |
| static od_int32 | getPayloadSize (const void *) |
Protected Member Functions | |
| ~RequestPacket () | |
Static Protected Member Functions | |
| static od_int16 | cBeginSubID () |
| static od_int16 | cMoreSubID () |
| static od_int16 | cEndSubID () |
| static od_int16 | cErrorSubID () |
Protected Attributes | |
| Header | header_ |
| char * | payload_ |
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 |
|
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 |
| od_int32 Network::RequestPacket::requestID | ( | ) | const |
|
inline |
|
inline |
| int Network::RequestPacket::setIsNewRequest | ( | ) |
conveniently returns reqID()
| 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. 2017