Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XRemoteContentProviderDistributor
Description
Distribute a content broker to variuos XRemoteContentProviderAcceptors.
See also
XRemoteContentProviderAcceptor

Methods' 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.  
Methods' Details
connectToRemoteAcceptor
boolean
connectToRemoteAcceptor( [in] string  Url,
[in] 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 ::com::sun::star::bridge::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
boolean
disconnectFromRemoteAcceptor( [in] 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
void
disconnectFromAll();

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.