OSRTMessageBufferIF Class Reference
[Message Buffer Classes]
Abstract message buffer or stream interface class.
More...
#include <OSRTMsgBufIF.h>
Inheritance diagram for OSRTMessageBufferIF:

Public Types | |
| enum | Type |
Public Member Functions | |
| virtual void * | getAppInfo ()=0 |
| Returns a pointer to application-specific information block. | |
| virtual size_t | getByteIndex ()=0 |
| The getByteIndex method is used to fetch the current byte offset within the current working buffer. | |
| virtual OSOCTET * | getMsgCopy ()=0 |
| The getMsgCopy method will return a copy of the encoded ASN.1 message managed by the object. | |
| virtual const OSOCTET * | getMsgPtr ()=0 |
| The getMsgPtr method will return a const pointer to the encoded ASN.1 message managed by the object. | |
| virtual int | init ()=0 |
| Initializes message buffer. | |
| virtual int | initBuffer (OSOCTET *pMsgBuf, size_t msgBufLen)=0 |
| This version of the overloaded initBuffer method initializes the message buffer to point at the given null-terminated character string. | |
| virtual OSBOOL | isA (int bufferType)=0 |
| This method checks the type of the message buffer. | |
| virtual void | setAppInfo (void *pAppInfo)=0 |
| Sets the application-specific information block. | |
| virtual void | setNamespace (const OSUTF8CHAR *, const OSUTF8CHAR *, OSRTDList *=0) |
| Sets the namespace information. | |
| virtual void | setDiag (OSBOOL value=TRUE)=0 |
| The setDiag method will turn diagnostic tracing on or off. | |
Protected Member Functions | |
| virtual | ~OSRTMessageBufferIF () |
| The virtual destructor does nothing. | |
Detailed Description
Abstract message buffer or stream interface class.This is the base class for both the in-memory message buffer classes and the run-time stream classes.
Definition at line 47 of file OSRTMsgBufIF.h.
Constructor & Destructor Documentation
|
|
The virtual destructor does nothing. It is overridden by derived versions of this class. Definition at line 58 of file OSRTMsgBufIF.h. |
Member Function Documentation
|
|
The getByteIndex method is used to fetch the current byte offset within the current working buffer. For encoding, this is the next location that will be written to. For decoding, this is the next byte the parser will read. Implemented in OSRTMessageBuffer. |
|
|
The getMsgCopy method will return a copy of the encoded ASN.1 message managed by the object. The memory for the copy is allocated by new [] operator, user is responsible to free it by delete [] operator.
Implemented in OSRTMessageBuffer. |
|
|
The getMsgPtr method will return a const pointer to the encoded ASN.1 message managed by the object.
Implemented in OSRTMessageBuffer. |
|
|
Initializes message buffer.
Implemented in OSRTMessageBuffer. |
|
||||||||||||
|
This version of the overloaded initBuffer method initializes the message buffer to point at the given null-terminated character string.
Implemented in OSRTMessageBuffer. |
|
|
This method checks the type of the message buffer.
|
|
|
The setDiag method will turn diagnostic tracing on or off.
Implemented in OSRTMessageBuffer. |
The documentation for this class was generated from the following file:
