CORBA 2.3.3 Programmer's Reference (NonStop CORBA 2.3.7+)
Fw_Message::DEFAULT_BUFFER_SIZE.
void write( char *pp_source, const unsigned long pv_count );
Transfers pv_count bytes from pp_source into the Fw_Message, starting after the last
logical data byte in the Fw_Message. This is accomplished by calling write on the current
write Fw_MD. If the Fw_MD is full, a new Fw_MD is obtained, added to the list in the
Fw_Message, and made the current write Fw_MD. This is repeated until pv_count bytes
have been transferred. iv_size is incremented by pv_count.
void write( char *pp_source, unsigned long pv_count, unsigned long
pv_align );
The same as the previous write method, except the current write position is advanced to a multiple
of pv_align. This method is used by the ORB for marshalling common data representation
(CDR) encoded messages.
void skip_write( unsigned long pv_count );
Advances the current write position by pv_count bytes. New Fw_MDs are obtained and added to
the list in the Fw_Message as needed. iv_size is incremented by pv_count.
void write_long( const long pv_long );
Helper method for writing an aligned signed long.
void write_ulong( const unsigned long pv_ulong );
Helper method for writing an aligned unsigned long.
void trace_self( void );
Debugging aid that dumps the data in Fw_Message to standard out in hex and ASCII.
void reset( void );
Resets the Fw_Message to the empty state by freeing any Fw_MDs in the list in the
Fw_Message, and setting iv_size , iv_bytes_read , iv_data_bytes , and
iv_free_bytes to their original values.
API Data
static long cv_news
Indicates how many Fw_Messages have been instantiated during the life of the process.
enum { DEFAULT_BUFFER_SIZE }
The default size (4096) of physical buffers used by the ORB.
enum { CV_IO_SIZE }
The physical buffer size the system has been configured to use.
enum { MAX_BUFFER_SIZE }
The maximum size of physical buffers allowed by the ORB.