|
Syntax
- com::sun::star::bridge::XBridge createBridge
(
- string sName,
- string sProtocol,
- com::sun::star::connection::XConnection aConnection,
- com::sun::star::bridge::XInstanceProvider anInstanceProvider )
- raises ( com::sun::star::bridge::BridgeExistsException , com::sun::star::lang::IllegalArgumentException );
Description
-
Parameter sName
-
The name of the bridge. The format should be protocol:connection-description
(e.g. iiop:socket:localhost:2000). This allows other components to reuse
an already created bridge (using getBridge).
Parameter sProtocol
-
The protocol, the bridge should work on.
Parameter aConnection
-
The connection on which the calls will be transfered.
Parameter anInstanceProvider
-
gets called, when a request from remote comes in.
Throws
- BridgeExistsException
There is already a bridge registered with this name. Use getBridge instead.
Throws
- IllegalArgumentException
The protocol is unknown.
Syntax
- com::sun::star::bridge::XBridge getBridge
(
- string sName );
Description
tries to get a bridge.
Syntax
- sequence< com::sun::star::bridge::XBridge > getExistingBridges
();
Description
-
Returns
-
Sequence of all existing bridges.
|