42 #ifndef _das_out_of_band_h_
43 #define _das_out_of_band_h_
53 #define EXCEPTION_UNTYPED ""
56 #define DAS2_EXCEPT_NO_DATA_IN_INTERVAL "NoDataInInterval"
57 #define DAS2_EXCEPT_ILLEGAL_ARGUMENT "IllegalArgument"
58 #define DAS2_EXCEPT_SERVER_ERROR "ServerError"
60 typedef enum oob_type {OOB_EXCEPT, OOB_COMMENT} oob_t;
63 typedef struct out_of_band {
65 void (*clean)(
struct out_of_band* pThis);
80 typedef struct stream_exception {
134 typedef struct stream_comment{
void OutOfBand_clean(OutOfBand *pThis)
Clean up extra memory allocated when an out of band object is initialized.
int DasErrCode
return code type 0 indicates success, negative integer indicates failure
Definition: util.h:117
Little buffer class to handle accumulating string data.
Definition: buffer.h:49
void OobExcept_init(OobExcept *pThis)
Initialize an Exception Structure This only needs to be called once, the same structure will be reuse...
describes an exception that can live in a stream.
Definition: oob.h:80
Utility to assist with encode and decode operations.
DasErrCode OutOfBand_decode(DasBuf *pBuf, OutOfBand **ppObjs, int *which)
Factory function to produce out of band objects from general data.
void OobExcept_set(OobExcept *pThis, const char *sType, const char *sMsg)
Set an exception structure to a particular exception.
A container for Out-of-Band data.
Definition: oob.h:63