Browse Source

[802] Interface definition

Michal 'vorner' Vaner 13 years ago
parent
commit
51f3cb5449
1 changed files with 16 additions and 0 deletions
  1. 16 0
      src/bin/bind10/bind10_src.py.in

+ 16 - 0
src/bin/bind10/bind10_src.py.in

@@ -812,6 +812,22 @@ class BoB:
 
         return next_restart_time
 
+    def socket_request_handler(self, token, unix_socket):
+        """
+        This function handles a token that comes over a unix_domain socket.
+        The function looks into the _socket_cache and sends the socket
+        identified by the tocken back over the unix_socket.
+        """
+        pass
+
+    def socket_consumer_dead(self, unix_socket):
+        """
+        This function handles when a unix_socket closes. This means all
+        sockets sent to it are to be considered closed. This function signals
+        so to the _socket_cache.
+        """
+        pass
+
 # global variables, needed for signal handlers
 options = None
 boss_of_bind = None