|
Syntax
- boolean connectToRemoteAcceptor
(
- string Url,
- string Identifier )
- raises ( com::sun::star::connection::NoConnectException , com::sun::star::connection::ConnectionSetupException , com::sun::star::lang::IllegalArgumentException );
Description
Offer the local content broker to a remote content provider acceptor.
The Uno Url is handed to the
UnoUrlResolver service,
which is responsible for raising any of the advertised exceptions.
Parameter Url
- A Uno Url to address the
XRemoteContentProviderAcceptor .
Parameter Identifier
- An identifier handed to the
XRemoteContentProviderAcceptor .
Returns
- success indicator. Escpecially, if there's already a
connection to the given Url, the call will fail, no matter whether
that connection uses the same identifier as the given one or not.
Syntax
- boolean disconnectFromRemoteAcceptor
(
- string Url );
Description
Undo the offering of the local content broker to a specific remote
content provider acceptor.
Parameter Url
- A Uno Url to address the
XRemoteContentProviderAcceptor .
Returns
- success indicator.
Syntax
- void disconnectFromAll
();
Description
Undo the offering of the local content broker to all remote content
provider acceptors.
|