Declared in module Chainer
Chainer.InbandChainer
Chainer.Chainer
class InbandChainer(Chainer): def Chainer.InbandChainer.__init__(self, local=None, forge_addr=0) # Initializes an InbandChainer instance. def Chainer.InbandChainer.connectServer(self, session, host, port) # Called by the proxy to connect to the remote end. # Inherited from Chainer.Chainer def Chainer.Chainer.connectServer(self, session, host, port) # Connect to the targeted server. def Chainer.Chainer.establishConnection(self, session, local, remote) # Function to actually establish the connection.
This chainer can be used for protocols where the target address is determined during the communication with the client. An example would be non-transparent HTTP where the target address is sent in the request.
Initializes an InbandChainer instance.
Called by the proxy to connect to the remote end.