19 #ifndef _COM_SUN_STAR_CONNECTION_XCONNECTION_IDL_
20 #define _COM_SUN_STAR_CONNECTION_XCONNECTION_IDL_
25 module
com { module sun { module star { module connection {
54 long read( [out] sequence < byte > aReadBytes , [in]
long nBytesToRead )
63 void write( [in] sequence < byte > aData )
70 raises(
com::sun::star::io::IOException );
76 raises(
com::sun::star::io::IOException );
85 string getDescription();
is thrown when an input or output error has occurred.
Definition: IOException.idl:31
A bidirectional bytestream.
Definition: XConnection.idl:34
long read([out] sequence< byte > aReadBytes, [in] long nBytesToRead)
reads a requested number of bytes from the connection.
void flush()
Empties all internal buffers.
void write([in] sequence< byte > aData)
writes the given bytesequence to the stream.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22