Ejemplo n.º 1
0
    def __init__(self, root, unsafeTracebacks=False, security=globalSecurity):
        """
        @param root: factory providing the root Referenceable used by the broker.
        @type root: object providing or adaptable to L{IPBRoot}.

        @param unsafeTracebacks: if set, tracebacks for exceptions will be sent
            over the wire.
        @type unsafeTracebacks: C{bool}

        @param security: security options used by the broker, default to
            C{globalSecurity}.
        @type security: L{twisted.spread.jelly.SecurityOptions}
        """
        self.root = IPBRoot(root)
        self.unsafeTracebacks = unsafeTracebacks
        self.security = security
Ejemplo n.º 2
0
 def __init__(self):
     self.root = IPBRoot(Listener())
     self.unsafeTracebacks = False
     self.security = globalSecurity
Ejemplo n.º 3
0
 def __init__(self, root, unsafeTracebacks=False):
     self.root = IPBRoot(root)
     self.unsafeTracebacks = unsafeTracebacks
Ejemplo n.º 4
0
 def __init__(self):
     self.root = IPBRoot(ProcessServer())
     self.unsafeTracebacks = False
     self.security = globalSecurity