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

interface XRemoteContentProviderAcceptor
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XRemoteContentProviderAcceptor
Description
Accept remote content providers that want to make themselves known to the local process.

Methods' Summary
addRemoteContentProvider Add a remote content provider.
removeRemoteContentProvider Remove a remote content provider.
Methods' Details
addRemoteContentProvider
boolean
addRemoteContentProvider(
 
[in] string
[in] ::com::sun::star::lang::XMultiServiceFactory
[in] sequence< string >
[in] XRemoteContentProviderDoneListener
 
Identifier,
Factory,
Templates,
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
boolean
removeRemoteContentProvider(
 
[in] 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