sendBinaryPointMessages
sendBinaryPointMessages — formats data in binary mode (C++ only).
ST_STATUS sendBinaryPointMessages( | enable); |
bool enable;enableTRUE enables binary mode,
FALSE disables it.
ST_OK if the command was successfully sent to the
DataHub instance. Since the command is sent asynchronously, the actual
success or failure of the command must be determined through the onSuccess
or onError message handlers.
ST_NO_TASK if no connection to the DataHub instance
is established.
ST_TOO_LARGE if the message string exceeds the
message buffer size.
ST_ERROR if the format contains an error or if
the connection socket is unable to send the message.
This method tells the CDataHubConnector instance to
format data in binary mode, and also to request binary mode transmissions from
the DataHub instance. Binary messages are more CPU efficient than ASCII
messages.