#NEWLINE# def runTask( self ) : #NEWLINE# #INDENT# if self . isWaitingWithPacket ( ) : #NEWLINE# #INDENT# msg = self . input #NEWLINE# self . input = msg . link #NEWLINE# if ( self . input is None ) : #NEWLINE# #INDENT# self . running ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . packetPending ( ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# msg = None #NEWLINE# #UNINDENT# return self . fn ( msg , self . handle )