예제 #1
0
 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)
예제 #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)
예제 #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)
예제 #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)
예제 #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)
예제 #6
0
 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)