#NEWLINE# def serviceTxPkts( self ) : #NEWLINE# #INDENT# '\n        Service the .txPcks deque to send packets through server\n        Override in subclass\n        ' #NEWLINE# if laters . server . opened : #NEWLINE# #INDENT# laters = deque ( ) #NEWLINE# blockeds = [ ] #NEWLINE# while self . txPkts : #NEWLINE# #INDENT# again = self . _serviceOneTxPkt ( laters , blockeds ) #NEWLINE# if ( not again ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# while laters : #NEWLINE# #INDENT# self . txPkts . append ( laters . popleft ( ) )