Exemplo n.º 1
0
 def __init__(self):
     bindings = grammar.bindings
     if bindings is None:
         bindings = {}
     ParserProtocol.__init__(self,
                             grammar=self.source,
                             senderFactory=SOCKS4Sender,
                             receiverFactory=SOCKS4Receiver,
                             bindings=bindings)
Exemplo n.º 2
0
 def __init__(self):
     source = OMeta(grammar.grammarSource).parseGrammar('Grammar')
     bindings = grammar.bindings
     if bindings is None:
         bindings = {}
     ParserProtocol.__init__(self,
                             grammar=source,
                             senderFactory=SOCKS4Sender,
                             receiverFactory=SOCKS4Receiver,
                             bindings=bindings)
Exemplo n.º 3
0
 def __init__(self):
     source = OMeta(grammar.grammarSource).parseGrammar('Grammar')
     bindings = grammar.bindings
     if bindings is None:
         bindings = {}
     ParserProtocol.__init__(self,
                             grammar=source,
                             senderFactory=SOCKS5Sender,
                             receiverFactory=stack(SOCKS5AuthDispatcher,
                                                   SOCKS5Receiver),
                             bindings=bindings)
Exemplo n.º 4
0
 def __init__(self, *args):
     ParserProtocol.__init__(self, *args)
Exemplo n.º 5
0
Arquivo: base.py Projeto: str4d/txi2p
 def __init__(self, *args):
     ParserProtocol.__init__(self, *args)