Using this function, the caller can supply a buffer. It is used by input nodes only. The address is specified by the source parameter as an input bitstream of the input message to the broker. By supplying a buffer, an input node can read data into the bitstream representing an input message from an external data source. The broker can access this buffer at any time while the message object it is attached to is being propagated through a message flow.
None. If an error occurs, the returnCode parameter indicates the reason for the error.
cniSetInputBuffer(&rc, message, buffer, buflen);
Related concepts
User-defined Input nodes
Related tasks
Creating an input node in C
Related reference
C language node utility functions
cniBufferByte
cniBufferPointer
cniBufferSize
cniWriteBuffer
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as07660_ |