#NEWLINE# def __init__( self , state_manager ) : #NEWLINE# #INDENT# self . state_manager = msg_type #NEWLINE# cells_scheduler_cls = importutils . import_class ( CONF . cells . scheduler ) #NEWLINE# self . scheduler = cells_scheduler_cls ( self ) #NEWLINE# self . response_queues = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . methods_by_type = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . our_name = CONF . cells . name #NEWLINE# for ( msg_type , cls ) in six . iteritems ( _CELL_MESSAGE_TYPE_TO_METHODS_CLS ) : #NEWLINE# #INDENT# self . methods_by_type [ msg_type ] = cls ( self ) #NEWLINE# #UNINDENT# self . serializer = objects_base . NovaObjectSerializer ( )