interface XConnectionPointContainer in module com::sun::star::lang::

(Global Index)

Syntax

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

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 XWeak interface. Look at the language binding for a superclass or something else.

See also

XConnectionPoint

See also

XWeak

Method 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.

Method Details



getConnectionPointTypes

Syntax

sequence< type > getConnectionPointTypes ();

Description

Returns

a sequence of all outgoing type spefifies which are supported by this connectable object.

queryConnectionPoint

Syntax

com::sun::star::lang::XConnectionPoint queryConnectionPoint (
type aType );

Description

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

Syntax

oneway void advise (
type aType,
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

Syntax

oneway void unadvise (
type aType,
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