_IPktXPacketXCtrlEvents Interface Reference
[PacketX]

PacketXCtrl class events. More...

List of all members.

Public Member Functions

HRESULT OnPacket ([in] IPktXPacket *pPacket)
 Packet notification event.
HRESULT OnStatistics ([in] IPktXStatistics *pStats)
 Statistics notification event.


Detailed Description

PacketXCtrl class events.

This interface should be implemented by client sink to receive PacketXCtrl class OnPacket or OnStatistics events. In most cases the event sink is automatically implemented by the client development environment.


Member Function Documentation

HRESULT _IPktXPacketXCtrlEvents::OnPacket ( [in] IPktXPacket pPacket  ) 

Packet notification event.

Notifies event subscriber of captured network frame. Called once for each captured (and optionally filtered) network frame.

Parameters:
pPacket an interface pointer to the Packet object.
Returns:
HRESULT error code.
Note:
You have to use capture mode to receive this event.

HRESULT _IPktXPacketXCtrlEvents::OnStatistics ( [in] IPktXStatistics pStats  ) 

Statistics notification event.

Notifies event subscriber of collected network statistics. Called periodically with fixed time interval .

Parameters:
pStats an interface pointer to Statistics object.
Returns:
HRESULT error code.
Note:
You have to use statistics mode to receive this event.


The documentation for this interface was generated from the following file:

Copyright © 2000-2007 beeSync. All rights reserved.