VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
ackPredOpt.h File Reference

Go to the source code of this file.

Classes

class  DtAckPredOpt
 Options for DtAcknowledgePredicate. More...

Functions

int DtAcknowledgePredicate (DtPdu *pdu, void *arg)
 For use with Connection::DtReadUntil.
int DtAcknowledgePredicate (DtAcknowledgePdu *pdu, DtAckPredOpt *opt)
 Return 1 if to, from, and ackFlag match between pkt and arg and positive response.

Detailed Description

Function Documentation

int DtAcknowledgePredicate ( DtPdu pdu,
void *  arg 
)

For use with Connection::DtReadUntil.

int DtAcknowledgePredicate ( DtAcknowledgePdu pdu,
DtAckPredOpt opt 
)

Return 1 if to, from, and ackFlag match between pkt and arg and positive response.

Return negAckRetVal if match with negative Response. Return 0 otherwise. If (from.DtEntity == DtDeferredEntityId and hosts match), then from.DtEntity will be set to from.DtEntity in PDU.


Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)