#NEWLINE# def read( self , iprot ) : #NEWLINE# #INDENT# if ( ( iprot . __class__ == TBinaryProtocol . TBinaryProtocolAccelerated ) and isinstance ( iprot . trans , TTransport . CReadableTransport ) and ( self . thrift_spec is not None ) and ( fastbinary is not None ) ) : #NEWLINE# #INDENT# fastbinary . decode_binary ( self , iprot . trans , ( self . __class__ , self . thrift_spec ) ) #NEWLINE# return #NEWLINE# #UNINDENT# iprot . readStructBegin ( ) #NEWLINE# while True : #NEWLINE# #INDENT# ( fname , ftype , fid ) = iprot . readFieldBegin ( ) #NEWLINE# if ( ftype == TType . STOP ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# if ( fid == 1 ) : #NEWLINE# #INDENT# if ( ftype == TType . I32 ) : #NEWLINE# #INDENT# self . priority = iprot . readI32 ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# iprot . skip ( ftype ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( fid == 2 ) : #NEWLINE# #INDENT# if ( ftype == TType . STRING ) : #NEWLINE# #INDENT# self . name = iprot . readString ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# iprot . skip ( ftype ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( fid == 3 ) : #NEWLINE# #INDENT# if ( ftype == TType . STRING ) : #NEWLINE# #INDENT# self . iteratorClass = iprot . readString ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# iprot . skip ( ftype ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( iprot == 4 ) : #NEWLINE# #INDENT# if ( ftype == TType . MAP ) : #NEWLINE# #INDENT# self . properties = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# ( _ktype8 , _vtype9 , _size7 ) = iprot . readMapBegin ( ) #NEWLINE# for _i11 in xrange ( _size7 ) : #NEWLINE# #INDENT# _key12 = iprot . readString ( ) #NEWLINE# _val13 = iprot . readString ( ) #NEWLINE# self . properties [ _key12 ] = _val13 #NEWLINE# #UNINDENT# iprot . readMapEnd ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# iprot . skip ( ftype ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# iprot . skip ( ftype ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# iprot . readFieldEnd ( ) #NEWLINE# #UNINDENT# iprot . readStructEnd ( )