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

(Global Index)

Syntax

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

Description

Accept remote content providers that want to make themselves known to the local process.

Method Summary

addRemoteContentProvider Add a remote content provider.

removeRemoteContentProvider Remove a remote content provider.

Known Services Which Export this Interface

com::sun::star::ucb::RemoteContentProviderAcceptor

Method Details



addRemoteContentProvider

Syntax

boolean addRemoteContentProvider (
string Identifier,
com::sun::star::lang::XMultiServiceFactory Factory,
sequence< string > Templates,
com::sun::star::ucb::XRemoteContentProviderDoneListener DoneListener );

Description

Add a remote content provider.

Parameter Identifier

An arbitrary identifier uniquely identifying the remote content provider.

Parameter Factory

A factory through which the remote content provider's UniversalContentBroker service can be instantiated.

Parameter Templates

A sequence of URL templates the remote content provider is willing to handle.

Parameter DoneListener

If not null, the implementation of this interface can---through this callback---tell the calling side that the implementation no longer needs the remote content provider. (And the calling side should call XRemoteContentProviderAcceptor::removeRemoteContentProvider then.) To enable connection control, it is recommended that this argument also implements the interface XRemoteContentProviderConnectionControl .

Returns

true if the remote content provider has successfully been added.

removeRemoteContentProvider

Syntax

boolean removeRemoteContentProvider (
string Identifier );

Description

Remove a remote content provider.

Parameter Identifier

An arbitrary identifier uniquely identifying the remote content provider.

Returns

true if the remote content provider has successfully been removed.
Top of Page