def setUp(self, logFile='log/socketManagerAm.log'):
     self.logger = Logger(logFile, 'DEBUG', 'Sub')
     self.logger = self.logger.getLogger()
     self.socketManager = socketManagerAm(self.logger,
                                          type='slave',
                                          port=10000,
                                          remoteHost=None,
                                          timeout=None,
                                          flow=self.flow)
Beispiel #2
0
    def establishConnection(self):
        __doc__ = gateway.gateway.establishConnection.__doc__ + \
        """
           establish an AM socket connection.   
        """

        self.logger.debug("Instantiation of socketManagerAm")

        self.unSocketManagerAm = \
                socketManagerAm.socketManagerAm(self.logger, type='slave', port=self.flow.port, remoteHost=None, timeout=None, flow=self.flow)
Beispiel #3
0
    def establishConnection(self):
        __doc__ = gateway.gateway.establishConnection.__doc__ + \
        """
           establish an AM socket connection.   
        """

        self.logger.debug("Instantiation of socketManagerAm")

        self.unSocketManagerAm = \
                socketManagerAm.socketManagerAm(self.logger, type='slave', port=self.flow.port, remoteHost=None, timeout=None, flow=self.flow)
Beispiel #4
0
    def establishConnection(self):
        # Instanciation du socketManagerAm
        self.logger.debug("Instanciation du socketManagerAm")

        self.unSocketManagerAm = \
                 socketManagerAm.socketManagerAm(
                         self.logger,type='master', \
                         port=self.client.port,\
                         remoteHost=self.client.host,
                         timeout=self.client.timeout,
                         flow=self.client)
Beispiel #5
0
    def establishConnection(self):
        # Instanciation du socketManagerAm
        self.logger.debug("Instanciation du socketManagerAm")

        self.unSocketManagerAm = \
                 socketManagerAm.socketManagerAm(
                         self.logger,type='master', \
                         port=self.client.port,\
                         remoteHost=self.client.host,
                         timeout=self.client.timeout,
                         flow=self.client)
 def setUp(self,logFile='log/socketManagerAm.log'):
   self.logger = Logger(logFile, 'DEBUG', 'Sub')    
   self.logger = self.logger.getLogger()    
   self.socketManager = socketManagerAm(self.logger, type='slave', port=10000, remoteHost=None, timeout=None, flow=self.flow)