interface XConnection2 in module com::sun::star::connection::

(Global Index)

Syntax

interface XConnection2 : com::sun::star::connection::XConnection ;

Description

XConnection2 extends the XConnection interface with available and readSomeBytes

Method Summary

available Gives the number of bytes available via read without blocking.

readSomeBytes Blocks if no data is available otherwise reads at max nMaxBytesToRead but at least 1 byte.


Method Details



available

Syntax

long available ();
raises ( com::sun::star::io::IOException );

Description

Gives the number of bytes available via read without blocking.


readSomeBytes

Syntax

long readSomeBytes (
sequence< byte > aData,
long nMaxBytesToRead )
raises ( com::sun::star::io::IOException );

Description

Blocks if no data is available otherwise reads at max nMaxBytesToRead but at least 1 byte.

Top of Page