Virtual bindingClientSession for diameter::comm::Engine, in order to have control...
[anna.git] / include / anna / diameter.comm / Engine.hpp
index 2d36b6f..1d9b77e 100644 (file)
@@ -590,6 +590,12 @@ public:
   */
   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).