tibemsObjectMsg_SetObjectBytes


Function

Purpose

Set the byte sequence of an object message.

C Declaration

tibems_status tibemsObjectMsg_SetObjectBytes( 
    tibemsObjectMsg message, 
    const void* bytes, 
    tibems_uint byteSize ); 

COBOL Call

CALL "tibemsObjectMsg_SetObjectBytes" 
     USING BY VALUE message, 
           BY REFERENCE bytes, 
           BY VALUE byteSize, 
           RETURNING tibems-status 
END-CALL. 

message has usage pointer.

Parameters

Parameter
Description
message
Put bytes (representing an object) into this message.
bytes
Use these bytes (representing a serialized object) as the message body data.
byteSize
Length of the byte sequence.

Remarks

Setting the content of an object message stores a snapshot of the object. subsequent changes to the original object or its serialized representation (as a byte sequence) do not affect the message.


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com