service ObjectInputStream in module com::sun::star::io::

(Global Index)

Syntax

service ObjectInputStream;

Description

is a stream which allows reading the data of persistent objects.

Implementations of this service must fulfill the specifications of the DataInputStream service. It must be chained to an XMarkableStream . Therefore, it provides the XMarkableStream interface, and delegates the calls to the chained object.

The written objects are held until this instance is destroyed. The references to the objects are read as four-byte integers. Data format reads:

 short InfoLength
 long ObjectReference // 0 indicates no object
 UTF ServiceName // length of 0 indicates this is only a reference
 long ObjectLength // 0 if it is a reference or no object, otherwise the len of the object data
 Object ObjectData // the data of the object
 ... // skipping additional data

Guarantees

Exported Interfaces


com::sun::star::io::XObjectInputStream

com::sun::star::io::XActiveDataSink

com::sun::star::io::XConnectable

com::sun::star::io::XMarkableStream
Top of Page