a_parent->eventUnknownResponse(this, response);
}
+void ClientSession::eventDPA(const anna::DataBlock& response) throw(anna::RuntimeException) {
+ // Inform father server:
+ a_parent->eventDPA(this, response);
+}
+
//------------------------------------------------------------------------------------------
requestMessage->setRequestServerSessionKey(response->getRequest()->getRequestServerSessionKey()); // -1 means unkown/unset
if(cid != helpers::base::COMMANDID__Disconnect_Peer_Answer) {
- // don't progress DPA: unbind is automatically performed and not open to any application decision
try {
response->setMessage(&db);
// Restore received datablock
ex.trace();
}
}
+ else { // DPA
+ // unbind is automatically performed, anyway we can inform to the application just in case some additional
+ // procedure could be issued:
+ eventDPA(db);
+ }
response_erase(response);