from common.program import Program from common.request_reply.web_handlers import Broker broker = Broker() program = Program(broker, []) program.start()
from common.program import Program from common.request_reply.web_handlers import EventWebHandler web_handler = EventWebHandler('mediator') web_handler.persist_address() program = Program(web_handler, []) program.start()
from common.program import Program from common.request_reply.web_handlers import EventWebHandler from book_club import events web_handler = EventWebHandler('publisher2') web_handler.persist_address() program = Program(web_handler, events.events) program.start()