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

(Global Index)

Syntax

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

Description

A simple mechanism to find out if the connection between a remote content provider distributor and acceptor gets lost.

This interface should be supported by the DoneListener parameter of XRemoteContentProviderAcceptor::addRemoteContentProvider .

Method Summary

enableConnectionControl Enable connection control, using as a token some object implemented on the remote content provider acceptor's side.

Method Details



enableConnectionControl

Syntax

void enableConnectionControl (
com::sun::star::ucb::XRemoteContentProviderAcceptor Acceptor,
com::sun::star::uno::XInterface Token );

Description

Enable connection control, using as a token some object implemented on the remote content provider acceptor's side.

The implementation of this interface must hold a reference to the supplied token. If the connection gets lost, the reference count of the token will drop, which the remote content provider acceptor can observe.

Parameter Acceptor

The remote content provider acceptor on the other side of the connection.

Parameter Token

Some object implemented on the remote content provider acceptor's side of the connection.
Top of Page