Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: connection ::

interface XConnector

Base Interface
com::sun::star::uno::XInterface

Description
allows to actively establish an interprocess connection.


Known Services which Export this Interface

com::sun::star::connection::Connector allows to establish a connection to another process.
com::sun::star::connection::Connector allows to establish a connection to another process.

Methods' Summary

connect creates a new connection interprocess connection.

Methods' Details

connect
 
com::sun::star::connection::XConnection
connect(
[ in ] string sConnectionDescription )
raises ( com::sun::star::connection::NoConnectException, com::sun::star::connection::ConnectionSetupException );

Description
creates a new connection interprocess connection.

Tries to connect to an XAcceptor .

Parameter sConnectionDescription
contains the kind of the connection plus a comma seperated 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