basicViewerPython.py
def disconnected(self, viewer, reason, flags):
        """The Viewer's connection to the Server has ended."""
        message = ""
        if vncsdk.Viewer.DisconnectFlags.ALERT_USER in flags:
            if not self.is_connected:
                message = \
                    "Disconnected while attempting to establish a connection"
            message = "{msg}\nDisconnect reason: {reason}".format(
                      msg=message, reason=reason)
        viewer_widget.signal_disconnected.emit(message)
The Viewer's connection to the Server has ended.
The Viewer's connection to the Server has ended.
The Viewer ' s connection to the Server has ended .
def disconnected(self, viewer, reason, flags):
        message = ""
        if vncsdk.Viewer.DisconnectFlags.ALERT_USER in flags:
            if not self.is_connected:
                message = \
                    "Disconnected while attempting to establish a connection"
            message = "{msg}\nDisconnect reason: {reason}".format(
                      msg=message, reason=reason)
        viewer_widget.signal_disconnected.emit(message)
def disconnected ( self , viewer , reason , flags ) : message = "" if vncsdk . Viewer . DisconnectFlags . ALERT_USER in flags : if not self . is_connected : message = "Disconnected while attempting to establish a connection" message = "{msg}\nDisconnect reason: {reason}" . format ( msg = message , reason = reason ) viewer_widget . signal_disconnected . emit ( message )
The Viewer's connection to the Server has ended.
The Viewer ' s connection to the Server has ended .
"""The Viewer's connection to the Server has ended."""
self
viewer
reason
flags