def __init__(self, name, request, client_address, server, logger=None):
        '''
        :param name: Name of the object
        :param request: TCP socket connected to the client
        :param client_address: Client address of request
        :param server: Session server
        :param logger: Logger for this object (default: None)
        '''

        super(BaseRequestHandler, self).__init__(name, logger)
        self.request = request
        self.client_address = client_address
        self.server = server
        self.setup()
        try:
            self.handle()
        finally:
            self.finish()
def __init__ ( self , name , request , client_address , server , logger = None ) : super ( BaseRequestHandler , self ) . __init__ ( name , logger ) self . request = request self . client_address = client_address self . server = server self . setup ( ) try : self . handle ( ) finally : self . finish ( )
:param name: Name of the object
        :param request: TCP socket connected to the client
        :param client_address: Client address of request
        :param server: Session server
        :param logger: Logger for this object (default: None)