Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The PEER_GRAPH_EVENT_TYPE enumeration specifies peer event types the application is to be notified for.
Syntax
typedef enum peer_graph_event_type_tag {
PEER_GRAPH_EVENT_STATUS_CHANGED = 1,
PEER_GRAPH_EVENT_PROPERTY_CHANGED = 2,
PEER_GRAPH_EVENT_RECORD_CHANGED = 3,
PEER_GRAPH_EVENT_DIRECT_CONNECTION = 4,
PEER_GRAPH_EVENT_NEIGHBOR_CONNECTION = 5,
PEER_GRAPH_EVENT_INCOMING_DATA = 6,
PEER_GRAPH_EVENT_CONNECTION_REQUIRED = 7,
PEER_GRAPH_EVENT_NODE_CHANGED = 8,
PEER_GRAPH_EVENT_SYNCHRONIZED = 9
} PEER_GRAPH_EVENT_TYPE;
Constants
PEER_GRAPH_EVENT_STATUS_CHANGED Value: 1 The peer graph status has changed in some manner. For example, the node has synchronized with the peer graph. |
PEER_GRAPH_EVENT_PROPERTY_CHANGED Value: 2 A field in the peer graph property structure has changed. This peer event does not generate a specific piece of data for an application to retrieve. The application must use PeerGraphGetProperties to obtain the updated structure. |
PEER_GRAPH_EVENT_RECORD_CHANGED Value: 3 A record type or specific record has changed in some manner. |
PEER_GRAPH_EVENT_DIRECT_CONNECTION Value: 4 A peer's direct connection has changed. |
PEER_GRAPH_EVENT_NEIGHBOR_CONNECTION Value: 5 A connection to a peer neighbor has changed. |
PEER_GRAPH_EVENT_INCOMING_DATA Value: 6 Data has been received from a direct or neighbor connection. |
PEER_GRAPH_EVENT_CONNECTION_REQUIRED Value: 7 The peer graph has become unstable. The client should call PeerGraphConnect on a new node. This peer event does not generate a specific piece of data for an application to retrieve. |
PEER_GRAPH_EVENT_NODE_CHANGED Value: 8 A node's presence status has changed in the peer graph. |
PEER_GRAPH_EVENT_SYNCHRONIZED Value: 9 A specific record type has been synchronized. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack forWindows XP |
Minimum supported server | None supported |
Header | p2p.h |