示例#1
0
文件: Master.cpp 项目: diverger/dnp3
void Master::OnFinalResponse(const APDU& arAPDU)
{
	this->UpdateState(MS_COMMS_UP);
	mLastIIN = arAPDU.GetIIN();
	this->ProcessIIN(arAPDU.GetIIN());
	mpState->OnFinalResponse(this, arAPDU);	
}
示例#2
0
文件: Master.cpp 项目: SandC/dnp3
void Master::OnUnsolResponse(const APDU& arAPDU)
{
	mLastIIN = arAPDU.GetIIN();
	this->ProcessIIN(mLastIIN);
	mpState->OnUnsolResponse(this, arAPDU);
}
示例#3
0
TaskResult MasterTaskBase::OnFinalResponse(const APDU& arAPDU)
{
	if(this->ValidateIIN(arAPDU.GetIIN())) return this->_OnFinalResponse(arAPDU);
	else return TR_FAIL;
}