Sets up the component to run properly.
- Parameters
-
flags | [ in ] Set perferences for the new object. These preferences are fixed during the lifetime of the object. |
streamBufSize | [ in ] To support the streaming IO model of this API, the size of an internal buffer used in streaming can be set with this parameter. If this parameter is set to zero, then the default value of 2000 characters is used. If the size is set too small then an "eTooSmall" error can be returned by the JSON parser to a content handler. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNoMemory | Insuffficient memory to properly initialize the component |
P6R::eAlreadyInitialized | Can only be called once successfully. |