#NEWLINE# def decode( self , npdu ) : #NEWLINE# #INDENT# NPCI . update ( self , npdu ) #NEWLINE# self . irtaTable = [ ] #NEWLINE# rtLength = npdu . get ( ) #NEWLINE# for i in range ( rtLength ) : #NEWLINE# #INDENT# dnet = npdu . get_short ( ) #NEWLINE# portID = npdu . get ( ) #NEWLINE# portInfoLen = npdu . get ( ) #NEWLINE# portInfo = npdu . get_data ( portInfoLen ) #NEWLINE# rte = RoutingTableEntry ( dnet , portID , portInfo ) #NEWLINE# self . irtaTable . append ( rte )