DRT_EVENT_TYPE enumeration (drt.h)

The DRT_EVENT_TYPE enumeration defines the set of events that can be raised by the Distributed Routing Table.

Syntax

typedef enum drt_event_type_tag {
  DRT_EVENT_STATUS_CHANGED = 0,
  DRT_EVENT_LEAFSET_KEY_CHANGED = 1,
  DRT_EVENT_REGISTRATION_STATE_CHANGED = 2
} DRT_EVENT_TYPE;

Constants

 
DRT_EVENT_STATUS_CHANGED
Value: 0
The status of the local DRT instance has changed.
DRT_EVENT_LEAFSET_KEY_CHANGED
Value: 1
A key or node was changed from the DRT leaf set of the local node.
DRT_EVENT_REGISTRATION_STATE_CHANGED
Value: 2
A locally published key is no longer resolvable by other nodes.

Remarks

The event handle passed to DrtOpen is signaled with an event specified by the DRT_EVENT_TYPE enumeration.

Requirements

Requirement Value
Minimum supported client Windows 7 Professional [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header drt.h

See also

DrtOpen