#NEWLINE# def start( self , adapter = None ) : #NEWLINE# #INDENT# self . logger . info ( 'start at %s' , datetime . utcnow ( ) ) #NEWLINE# self . adapter = ( adapter or self . ADAPTER ) #NEWLINE# self . connection = self . adapter ( self . parameters , self . on_open , self . on_open_error , self . on_closed ) #NEWLINE# self . timeout = self . connection . add_timeout ( adapter . TIMEOUT , self . on_timeout ) #NEWLINE# self . connection . ioloop . start ( ) #NEWLINE# self . assertFalse ( self . _timed_out )