Ejemplo n.º 1
0
 def do_init(self):
     sockdir = self.prop_main_registry.directories.socket.value()
     self.parentsock = os.path.join(sockdir, 'profiler_parent')
     self.childsock = os.path.join(sockdir, 'profiler_child')
     self.reactor = gobjectreactor.Reactor(self, self.parentsock,
                                           self.childsock)
     #self.ipc = gtkextra.IPWindow(self)
     self.r_cb_stats = None
Ejemplo n.º 2
0
 def __init__(self, cb):
     self.cb = cb
     sockdir = self.cb.opts.get('directories', 'socket')
     self.parentsock = os.path.join(sockdir, 'profiler_parent')
     self.childsock = os.path.join(sockdir, 'profiler_child')
     self.reactor = gobjectreactor.Reactor(self, self.parentsock,
                                           self.childsock)
     #self.ipc = gtkextra.IPWindow(self)
     self.r_cb_stats = None
Ejemplo n.º 3
0
 def __init__(self, parentsock, childsock):
     self.reactor = gobjectreactor.Reactor(self, childsock, parentsock)
     self.reactor.start()
Ejemplo n.º 4
0
 def __init__(self, parentsocket, childsocket):
     #self.ipc = gtkextra.IPWindow(self)
     #self.ipc.reset(long(sid))
     #self.ipc.connect()
     self.reactor = gobjectreactor.Reactor(self, childsocket, parentsocket)
     self.reactor.start()
Ejemplo n.º 5
0
 def create_reactor(self):
     sockdir = self.prop_main_registry.directories.socket.value()
     self.parentsock = os.path.join(sockdir, 'profiler_parent')
     self.childsock = os.path.join(sockdir, 'profiler_child')
     self.reactor = gobjectreactor.Reactor(self, self.parentsock,
                                           self.childsock)
Ejemplo n.º 6
0
 def create_reactor(self):
     sockdir = self.cb.opts.get('directories', 'socket')
     self.parentsock = os.path.join(sockdir, 'profiler_parent')
     self.childsock = os.path.join(sockdir, 'profiler_child')
     self.reactor = gobjectreactor.Reactor(self, self.parentsock,
                                           self.childsock)