:: com :: sun :: star :: connection ::

interface XConnectionBroadcaster
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--XConnectionBroadcaster
::com::sun::star::uno::XInterface
(referenced interface's summary:)
base interface of all UNO interfaces
Description
allows to add listeners to a connection.

Maybe supported by connections returned from XAcceptor::accept or XConnector::connect .


Methods' Summary
addStreamListener registers an object to receive events from this connection.  
removeStreamListener unregisters an object to receive events from this connection.  
Methods' Details
addStreamListener
void
addStreamListener( [in] ::com::sun::star::io::XStreamListener  aListener );

Description
registers an object to receive events from this connection.

It is suggested to allow multiple registration of the same listener, thus for each time a listener is added, it has to be removed.

removeStreamListener
void
removeStreamListener( [in] ::com::sun::star::io::XStreamListener  aListener );

Description
unregisters an object to receive events from this connection.

It is suggested to allow multiple registration of the same listener, thus for each time a listener is added, it has to be removed.

Top of Page