Declared in module Chainer
class 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.
Chainer is used to chain to the remote server in the top session. In stacked sessions chainer is None, which means to chain up to the parent proxy.
Connect to the targeted server.
This is an interface function to be called to chain up to the parent proxy (or to the remote server)
Host and port are hints, they may be ignored (depending on the Chainer)
Function to actually establish the connection.
Internal function to establish a connection with the given local and remote addresses. It is used by different chainers after finding out where to connect.