Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: lang ::

interface XConnectionPointContainer
Description
makes it possible to locate a specific connection point for a specified UIK and manages a sequence of connections points.

An implementation of this interface must support the ::com::sun::star::uno::XWeak interface. Look at the language binding for a superclass or something else.

See also
XConnectionPoint, ::com::sun::star::uno::XWeak

Methods' Summary
getConnectionPointTypes  
queryConnectionPoint  
advise creates a connection between this object and a client's sink, where the sink implements the outgoing interface specified with ID.  
unadvise terminates a notification previously set up with advise at the container or at the suitable connection point.  
Methods' Details
getConnectionPointTypes
sequence< type >
getConnectionPointTypes();

Returns
a sequence of all outgoing types; specifies which are supported by this connectable object.
queryConnectionPoint
XConnectionPoint
queryConnectionPoint( [in] type  aType );

Returns
an XConnectionPoint interface of a connection point for a specified type if that type describes a supported outgoing interface. It is NULL on failure of the call.
Parameter aType
specifies the connection point's type.
advise
[oneway] void
advise( [in] type  aType,
[in] ::com::sun::star::uno::XInterface  xListener );

Description
creates a connection between this object and a client's sink, where the sink implements the outgoing interface specified with ID.

The interface is advised under the connection point you get with queryConnectionPoint( id ).

Use this method instead of the advise method at the connection point, only if you know that the broadcaster supports the outgoing interface, or if it does not matter that the outgoing interface is not supported.

See also
XConnectionPoint::advise
unadvise
[oneway] void
unadvise( [in] type  aType,
[in] ::com::sun::star::uno::XInterface  xListener );

Description
terminates a notification previously set up with advise at the container or at the suitable connection point.
See also
XConnectionPoint::unadvise
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.