def __init__(self, host, port, timeout=<NUM_LIT:20>, debug=False, logger=None):
self.host = host<EOL>self.port = port<EOL>self.timeout = timeout<EOL>self._client = None<EOL>self.connected = False<EOL>self._buffer = bytearray()<EOL>self._id = None<EOL>self.logger = guac_logger<EOL>if logger:<EOL><INDENT>self.logger = logger<EOL><DEDENT>if debug:<EOL><INDENT>self.logger.setLevel(logging.DEBUG)<EOL><DEDENT>
Guacamole Client class. This class can handle communication with guacd
server.

:param host: guacd server host.

:param port: guacd server port.

:param timeout: socket connection timeout.

:param debug: if True, default logger will switch to Debug level.