Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: connection ::
interface XConnection2
  Base Interfaces
      XConnection2
      ┗ XConnection
  XConnection | (referenced interface's summary:) A bidirectional bytestream.
Description XConnection2 extends the `XConnection` interface with `available` and `readSomeBytes`

Methods' 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.

Methods' Details
available
long
available()
raises( | ::com::sun::star::io::IOException );
Description Gives the number of bytes available via `read` without blocking.
readSomeBytes
long
readSomeBytes( | [out] sequence< byte > | aData,
| [in] 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 © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.