Microsoft SDK for Java

IConnectionPoint Interface

This 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 IConnectionPoint interface was added as of versions 2925 through 3167 of the Microsoft virtual machine.

public interface IConnectionPoint extends IUnknown
{
  // Methods
  public _Guid GetConnectionInterface();
  public IConnectionPointContainer GetConnectionPointContainer();
  public int Advise(IUnknown pUnkSink);
  public void Unadvise(int dwCookie);
  public IEnumConnections EnumConnections();
}

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