#!/usr/bin/env python
from circuits import Component, Debugger, Event, Manager
class Hello(Event):
"""Hello Event"""
class App1(Component):
channel = "app1"
def hello(self):
print("Hello World!")
class App2(Component):
channel = "app2"
def hello(self):
print("Hello World!")
manager = Manager()
Debugger().register(manager)
App1().register(manager)
App2().register(manager)
manager.start()