interface XRemoteContentProviderDistributor in module com::sun::star::ucb::

(Global Index)

Syntax

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

Description

Distribute a content broker to variuos XRemoteContentProviderAcceptor s.

See also

XRemoteContentProviderAcceptor

Method Summary

connectToRemoteAcceptor Offer the local content broker to a remote content provider acceptor.

disconnectFromRemoteAcceptor Undo the offering of the local content broker to a specific remote content provider acceptor.

disconnectFromAll Undo the offering of the local content broker to all remote content provider acceptors.

Method Details



connectToRemoteAcceptor

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.

disconnectFromRemoteAcceptor

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.

disconnectFromAll

Syntax

void disconnectFromAll ();

Description

Undo the offering of the local content broker to all remote content provider acceptors.

Top of Page