Microsoft SDK for Java

IConnectionPointContainer Interface

The IConnectionPointContainer interface of the com.ms.com package supports connection points for connectable objects.

To create a connectable object, you need to implement objects that provide four related interfaces:

IConnectionPointContainer indicates the existence of the outgoing interfaces, and provides access to an enumerator sub-object with the IEnumConnectionPoints interface. It also provides a connection point sub-object with the IConnectionPoint interface. The IConnectionPoint interface provides access to an enumerator sub-object with the IEnumConnections interface.

Note   The IConnectionPointContainer interface was added as of versions 2925 through 3167 of the Microsoft virtual machine.

public interface IConnectionPointContainer extends IUnknown
{
  // Methods
  public IEnumConnectionPoints EnumConnectionPoints();
  public IConnectionPoint FindConnectionPoint(_Guid riid);
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.