Top | Module | Use | Manual | Index |
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS  |
Connectable objects support the following features:
To create a connectable object, you need to implement objects that provide two related interfaces:
The XConnectionPointContainer interface is implemented on the connectable object to indicate the existence of the outgoing interfaces. It provides a sequence of sub-objects. It also provides access to all the connection point sub-objects, each of which implements the XConnectionPoint interface. The XConnectionPoint interface provides a sequence of sub-objects.
Each connection point is a separate sub-object to avoid circular reference counting problems. A connection point controls how many connections (one or more) it will allow in its implementation of XConnectionPoint::advise() .
A client can use the XConnectionPointContainer interface:
Methods' Summary |
|
getConnectionType | |
getConnectionPointContainer | |
advise | creates a connection between a connection point and a client's sink, where the sink implements the outgoing interface supported by this connection point. |
unadvise | terminates a notification previously set up with advise. |
getConnections |
Methods' Details |
||
|
||
|
||
|
||
|
||
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.