CHAILink SDK
Version 1.3
|
CLC_ErrorCode Pipe_Send | ( | CPHOBJECT const | hPipe, |
CPHOOKEDOBJECT const | hMessage, | ||
CPBOOLEAN const | fFlush | ||
) |
Send a message with flush control, allowing multipart messages.
[in] | hPipe | Pipe handle |
[in] | hMessage | Message handle. This message object can be released as soon this method returns. |
[in] | fFlush | If TRUE, the message is immediately prepared and sent, including prospective multipart messages added before. Setting fFlush at TRUE is the normal way to send a single message, or to specify the last and send the whole of a multipart message. If FALSE, the message is added to the multipart buffer, except if the buffer is full. In this case, the multipart message is sent, and a new one is created to store the new message. |