(self, config=None)
Create a new instance of the StatsiteHandler class
Create a new instance of the StatsiteHandler class
Create a new instance of the StatsiteHandler class
def __init__(self, config=None):
        """
        Create a new instance of the StatsiteHandler class
        """
        # Initialize Handler
        Handler.__init__(self, config)

        # Initialize Data
        self.socket = None

        # Initialize Options
        self.host = self.config['host']
        self.tcpport = int(self.config['tcpport'])
        self.udpport = int(self.config['udpport'])
        self.timeout = int(self.config['timeout'])

        # Connect
        self._connect()
def __init__ ( self , config = None ) : # Initialize Handler Handler . __init__ ( self , config ) # Initialize Data self . socket = None # Initialize Options self . host = self . config [ 'host' ] self . tcpport = int ( self . config [ 'tcpport' ] ) self . udpport = int ( self . config [ 'udpport' ] ) self . timeout = int ( self . config [ 'timeout' ] ) # Connect self . _connect ( )