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
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
def __init__(self, parentsock, childsock): self.reactor = gobjectreactor.Reactor(self, childsock, parentsock) self.reactor.start()
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()
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)
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)