interface XConnectionClientSide in module com::sun::star::bridge::

(Global Index)

Syntax

interface XConnectionClientSide : com::sun::star::uno::XInterface ;

Description

interface to a remote UNO connection.

A connection is used to access one object, provided by the server, on the client side.

See also

XConnectionBroker
for server side implementation.

Method Summary

connect tries to instanciate a remote UNO connection to the denoted server.

close closes the connection, if established.

getRemoteObject gets the object provided by the server.

Method Details



connect

Syntax

boolean connect (
string serverUrl,
string user,
string passwd )
raises ( com::sun::star::lang::SecurityException );

Description

tries to instanciate a remote UNO connection to the denoted server.

The method requires a URL notation, specified by the UNO runtime. This depends on the URL prefix to which the connection is established via TCP/IP, named pipes, or any other communication channel supported by UNO.


close

Syntax

void close ();

Description

closes the connection, if established.

All object references created by this connection will become invalid.


getRemoteObject

Syntax

com::sun::star::uno::XInterface getRemoteObject ();

Description

gets the object provided by the server.

Top of Page