Updated license
[anna.git] / include / anna / diameter.comm / Engine.hpp
index 2d36b6f..60f7484 100644 (file)
@@ -1,4 +1,4 @@
-// ANNA - Anna is Not 'N' Anymore
+// ANNA - Anna is Not Nothingness Anymore
 //
 // (c) Copyright 2005-2014 Eduardo Ramos Testillano & Francisco Ruiz Rayo
 //
@@ -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).