Esempio n. 1
0
 def __init__(self, methods=None, quiet=True):
     self._methods = []
     methods = iRRQDebuggerSink()._getMethods()
     self._methods = methods
     self._enabled = False
     self._quiet = quiet
     self._lock = RLock()
     self._sink = None
Esempio n. 2
0
 def __init__(self, peerName, theTime, filename, quiet):
     self._peerName = peerName
     self._fp = open(filename, "w")
     self.fp.write("File debugger started at: %(T)s for client: %(C)s"%{"T":theTime, "C":peerName})
     self.fp.flush()
     self._methods = []
     methods = iRRQDebuggerSink()._getMethods()
     self._methods = methods
     self._terminate = False
     self.quiet=  quiet
     self._startMutex = Semaphore(0)
     self._q = Queue()
     self.thread = None
Esempio n. 3
0
 def __init__(self, peerName, theTime, details, quiet):
     self._peerName = peerName
     self._methods = []
     methods = iRRQDebuggerSink()._getMethods()
     self._methods = methods
     self._terminate = False
     self._details = details
     self._qw = None
     self._startMutex = Semaphore(0)
     self._q = Queue()
     self.quiet= quiet
     self._marshaller = MarshallerFactory.get(MarshallerFactory.DEFAULT, quiet=quiet)
     self._qw = QueueWriter(target=details, autoConnect=True, marshaller=self._marshaller, quiet=quiet)
     self._qw.start()
     self.thread = None
Esempio n. 4
0
 def __init__(self, methods=None):
     self._methods = []
     methods = iRRQDebuggerSink()._getMethods()
     self._methods = methods