Igcpackethandler, destructor, Checkpacket – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 126

Advertising
background image

Classes of the C++ Interface

Methods of the IGCPacketHandler Class

2-104

CATC IBTrainer InfiniBand Exerciser API Reference

~IGCPacketHandler, Destructor

virtual ~IGCPacketHandler ();

Destructor of the class.

None

None

None

CheckPacket

virtual IGEPacketStatus CheckPacket ( IGCPacket & packet ) = 0;

Called from the generator to check if the packet handler wants to deal
with the packet.

Valid values for the packet status are:

• REJECT

The packet has been rejected by the packet handler.

• ACCEPT

The packet has been accepted by the packet handler.

• CHANGE

The handler modified the packet but still requires another packet
handler to handle the packet.

packet
The packet to be checked by the packet handler.

HandlePacket

below

Call

Description

Return Value

Parameters

See also

Call

Description

Return Value

Input Parameters

See also

Advertising