Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: connection ::
interface XConnector
Description allows to actively establish an interprocess connection. Developers Guide ProUNO - Opening a Connection

Methods' Summary
connect | creates a new connection interprocess connection.

Methods' Details
connect
XConnection
connect( | [in] string | sConnectionDescription )
raises( | NoConnectException, ConnectionSetupException );
Description creates a new connection interprocess connection. Tries to connect to an XAcceptor. Behavior is unspecified if a call to connect is made when another call to connect either has not yet returned or has returned successfully without raising an exception. Parameter sConnectionDescription contains the kind of the connection plus a comma separated list of attributes, e.g., socket,host=locahost,port=2345 for a tcpip connection. Throws ConnectionSetupException Problems during setting up the connector on client side, (e.g., Security-reasons, socket already busy .. ), or the string could not be interpreted correctly. Throws NoConnectException Couldn't reach a server (e.g. network failure), no server is listening

Top of Page

Copyright © 2000, 2014 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.