_IPktXPacketXEvents Interface Reference
[PacketX]

PacketX 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

PacketX class events.

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

See also:
PacketSink class providing implementation for this interface.


Member Function Documentation

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

Packet notification event.

Notify 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 _IPktXPacketXEvents::OnStatistics ( [in] IPktXStatistics pStats  ) 

Statistics notification event.

Notify event subscriber of collected 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.