Microsoft SDK for Java

IExternalConnectionSink Interface

The IExternalConnectionSink Interface of the com.ms.com package allows Java objects exposed as Component Object Model (COM) objects to be notified of calls to the IExternalConnection interface. The methods in this interface are notifications, not overrides. The virtual machine always processes the IExternalConnection methods first to manage the lifetime of the objects.

public interface IExternalConnectionSink
{
  // Methods
  public void OnAddConnection(int exconn, int reserved, int refcount);
  public void OnReleaseConnection(int exconn, int reserved, 
    boolean fLastReleaseCloses, int refcount);
}

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