void Master::OnFinalResponse(const APDU& arAPDU) { this->UpdateState(MS_COMMS_UP); mLastIIN = arAPDU.GetIIN(); this->ProcessIIN(arAPDU.GetIIN()); mpState->OnFinalResponse(this, arAPDU); }
void Master::OnUnsolResponse(const APDU& arAPDU) { mLastIIN = arAPDU.GetIIN(); this->ProcessIIN(mLastIIN); mpState->OnUnsolResponse(this, arAPDU); }
TaskResult MasterTaskBase::OnFinalResponse(const APDU& arAPDU) { if(this->ValidateIIN(arAPDU.GetIIN())) return this->_OnFinalResponse(arAPDU); else return TR_FAIL; }