Пример #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
Пример #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
Пример #3
0
 def __init__(self, parentsock, childsock):
     self.reactor = gobjectreactor.Reactor(self, childsock, parentsock)
     self.reactor.start()
Пример #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()
Пример #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)
Пример #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)