Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XRemoteContentProviderDistributor

Base Interface
com::sun::star::uno::XInterface

Description
Distribute a content broker to variuos XRemoteContentProviderAcceptor s.
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 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