*/
virtual void availabilityRecovered(Server *) const throw() {;}
+ /**
+ When a subyacent client session is going to be bound, this method is invoked before.
+ Default implementation do nothing.
+ */
+ virtual void bindingClientSession(const ClientSession *) const throw() {;}
+
/**
* Class user should implement this method in order to define Disconnect-Peer-Answer for last received DPR.
* Origin-Host and Origin-Realm are configured at comm::Engine with hostname and FQDN (Fully Qualified Domain Name).
return;
}
+ // Some operations could be done before sending CER, for example non-standard Origin-Host manipulation for
+ // Tekelec PCRF
+ a_engine->bindingClientSession(this);
+
// OAM Lo comento, porque no se contabilizan los reintentos y por lo tanto no son muy Ăștiles.
// OamModule &oamModule = OamModule::instantiate();
// oamModule.count(a_server->isAvailable() ? OamModule::Counter::TCPConnectOK:OamModule::Counter::TCPConnectNOK);