def _refresh_thrift_client()

in python/thrift/appengine-ssl-gateway/appengine/bigtable.py [0:0]


    def _refresh_thrift_client(self):
        """Refresh the Thrift socket, transport, and client."""
        socket = TSSLSocket(
            self.host, self.port, False, KEY_FILE, KEY_FILE, KEY_FILE)
        if self.timeout is not None:
            socket.setTimeout(self.timeout)
        self.transport = self._transport_class(socket)
        protocol = self._protocol_class(self.transport)
        self.client = Hbase.Client(protocol)