interface XStreamListener in module com::sun::star::io::

(Global Index)

Syntax

interface XStreamListener : com::sun::star::lang::XEventListener ;

Description

makes it possible to receive events from an active data control.

Method Summary

started gets called as soon as data transfer has started.

closed gets called when data transfer terminates normally or when data transfer is terminated from outside.

terminated gets called when XActiveDataControl::terminate() is called.

error gets called when an internal error in source or sink has occurred.

Method Details



started

Syntax

void started ();

Description

gets called as soon as data transfer has started.


closed

Syntax

void closed ();

Description

gets called when data transfer terminates normally or when data transfer is terminated from outside.

The termination could be done using the method XActiveDataControl::terminate() .


terminated

Syntax

void terminated ();

Description

gets called when XActiveDataControl::terminate() is called.


error

Syntax

void error (
any aException );

Description

gets called when an internal error in source or sink has occurred.

After the method is called, the close is called on the connected streams.

Top of Page