def establishConnection(self): # Instanciation du socketManagerWmo self.logger.debug("Instanciation du socketManagerWmo") self.unSocketManagerWmo = \ socketManagerWmo.socketManagerWmo( self.logger,type='master', \ port=self.client.port,\ remoteHost=self.client.host, timeout=self.client.timeout, flow=self.client)
def establishConnection(self): __doc__ = gateway.gateway.establishConnection.__doc__ + \ """ Purpose: encapsulating network connection makes it easier to manager the loss of a connection, and reestablishment. """ self.logger.debug("Instantiation of socketManagerWmo") # Instanciation du socketManagerWmo self.unSocketManagerWmo = \ socketManagerWmo.socketManagerWmo(self.logger, type='slave', port=self.flow.port, remoteHost=None, timeout=None, flow=self.flow)
def establishConnection(self): __doc__ = gateway.gateway.establishConnection.__doc__ + \ """ Purpose: encapsulating network connection makes it easier to manager the loss of a connection, and reestablishment. """ self.logger.debug("Instantiation of socketManagerWmo") # Instanciation du socketManagerWmo self.unSocketManagerWmo = \ socketManagerWmo.socketManagerWmo(self.logger, type='slave', port=self.flow.port, remoteHost=None, timeout=None, flow=self.flow)