LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows to add listeners to a connection. More...
import"XConnectionBroadcaster.idl";
Public Member Functions | |
void | addStreamListener ([in] com::sun::star::io::XStreamListener aListener) |
registers an object to receive events from this connection. More... | |
void | removeStreamListener ([in] com::sun::star::io::XStreamListener aListener) |
unregisters an object to receive events from this connection. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
allows to add listeners to a connection.
Maybe supported by connections returned from XAcceptor::accept() or XConnector::connect().
void addStreamListener | ( | [in] com::sun::star::io::XStreamListener | aListener | ) |
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.
void removeStreamListener | ( | [in] com::sun::star::io::XStreamListener | aListener | ) |
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.