
rtx.vertx-mod-elasticsearch.1.2.1.source-code.ping_verticle.py Maven / Gradle / Ivy
import vertx
from core.event_bus import EventBus
def handler(msg):
msg.reply('pong!')
print 'sent back pong Python!'
EventBus.register_handler('ping-address', handler=handler)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy