Is it possible to create a single Autobahn(Python) component that allows terminal I/O on the frontend and interacts with a router and other WAMP components on the backend?
I’d like to start the component from the terminal command line, create the WAMP session, invoke an editor (ex. vim) in the component’s onJoin() method, then send notifications to other components upon exiting the editor (according to any changes made).
I’m using Twisted and since it appears to take over sys.stdout I’m not sure this is possible?
Thanks for any answers/tips!