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
|
|
Syntax
- long available
();
- raises ( com::sun::star::io::IOException );
Description
Gives the number of bytes available via read
without blocking.
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
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.