On Fri, 14 Feb 2014 10:16:07 -0200
Eros Spalla <[email protected]> wrote:

> Now Im using your second exemple. Only one more question, where is a good
> place to start my socket (socket = try to connect), on the __init__ or in
> any specific event?
> 
> My scenario: Im running three apps in each controller, con_manager_1.py
> opens a connection to the con_manager_2.
> 
> 
>                     Controller 1
>                                     controller 2
> 
> socket
> switch.py/role_manager.py/con_manager_1.py  --------------------
> con_manager_2.py/role_manager.py/switch.py

I think using start() method work for you:

class YourRyuApp(RyuApp):
    def __init__(self):
        pass

    def start(self):
       super(YourRyuApp, self).start()
       # do what you want here


> Thanks. Sorry for all these many emails : /

No problem.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to