Platform SDK: Synchronization Manager

ISensNetwork

The ISensNetwork interface handles network events fired by the System Event Notification Service (SENS).

When to Implement

Implement this interface on your sink object if you subscribe to any of the SENS network events. Each event corresponds to a method in this interface. This interface is an outgoing interface defined by SENS and implemented by the subscriber application as a dispatch interface.

When to Use

SENS and the COM Event System call the ISensNetwork methods on your sink object to fire the corresponding event.

Methods in Vtable Order

IUnknown methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IDispatch methods Description
GetTypeInfoCount Retrieves the number of type descriptions.
GetTypeInfo Retrieves a description of the object's programmable interface.
GetIDsOfNames Maps name of method or property to DISPID.
Invoke Calls one of the object's methods, or gets/sets one of its properties.

ISensNetwork methods Description
ConnectionMade Specified connection has been established.
ConnectionMadeNoQOCInfo Specified connection has been established with no Quality of Connection information available.
ConnectionLost Specified connection has been dropped.
DestinationReachable Specified connection can be reached.
DestinationReachableNoQOCInfo Specified connection can be reached with no Quality of Connection information.

Requirements

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 5 or later).
  Windows 95/98: Requires Windows 95 or later (with Internet Explorer 5 or later).
  Header: Declared in Sensevts.h.
  Library: Use Sensevts.tlb.

See Also

ISensLogon, ISensOnNow, About System Event Notification Service