doc/book/en/devrepo/repo/hooks.rst
changeset 8670 f02139297beb
parent 8483 4ba11607d84a
child 8981 26fddf8d65d0
equal deleted inserted replaced
8669:62213a34726e 8670:f02139297beb
   193   def do_foo(self):
   193   def do_foo(self):
   194       actually_do_foo()
   194       actually_do_foo()
   195       self._cw.repo.app_instances_bus.publish(['hello', 'world'])
   195       self._cw.repo.app_instances_bus.publish(['hello', 'world'])
   196 
   196 
   197 The `zmq-address-pub` configuration variable contains the address used
   197 The `zmq-address-pub` configuration variable contains the address used
   198 by the instance for sending messages, e.g. `tcp://*:1234`.  The
   198 by the instance for sending messages, e.g. `zmqpickle-tcp://*:1234`.  The
   199 `zmq-address-sub` variable contains a comma-separated list of addresses
   199 `zmq-address-sub` variable contains a comma-separated list of addresses
   200 to listen on, e.g. `tcp://localhost:1234, tcp://192.168.1.1:2345`.
   200 to listen on, e.g. `zmqpickle-tcp://localhost:1234, zmqpickle-tcp://192.168.1.1:2345`.
   201 
   201 
   202 
   202 
   203 Hooks writing tips
   203 Hooks writing tips
   204 ------------------
   204 ------------------
   205 
   205