def buildObserver(self, controller, addr):
        """
        @summary: Build observer
        @param controller: rdp.RDPClientController
        @param addr: destination address
        @see: rdp.ClientFactory.buildObserver
        @return: ProxyClient
        """
        # set screen resolution
        controller.setScreen(self._width, self._height)
        # set credential
        controller.setDomain(self._domain)
        controller.setUsername(self._username)
        controller.setPassword(self._password)
        controller.setSecurityLevel(self._security)
        controller.setPerformanceSession()
        return ProxyClient(controller, self._server)
def buildObserver ( self , controller , addr ) : controller . setScreen ( self . _width , self . _height ) controller . setDomain ( self . _domain ) controller . setUsername ( self . _username ) controller . setPassword ( self . _password ) controller . setSecurityLevel ( self . _security ) controller . setPerformanceSession ( ) return ProxyClient ( controller , self . _server )
@summary: Build observer
        @param controller: rdp.RDPClientController
        @param addr: destination address
        @see: rdp.ClientFactory.buildObserver
        @return: ProxyClient