#NEWLINE# def __init__( self , client_class , iprot_factory , oprot_factory = None , host = None , service = None , mechanism = 'GSSAPI' , **sasl_kwargs ) : #NEWLINE# #INDENT# ThriftClientProtocol . __init__ ( self , client_class , iprot_factory , service ) #NEWLINE# self . _sasl_negotiation_deferred = None #NEWLINE# self . _sasl_negotiation_status = None #NEWLINE# self . client = None #NEWLINE# if ( host is not None ) : #NEWLINE# #INDENT# self . createSASLClient ( host , service , mechanism , ** sasl_kwargs )