记录节点产生的数据
+0.000000000s 0 ndn.Consumer:SendHello()
currently node is 0
+0.000000000s 0 ndn.Consumer:SendHello(): [INFO ] Requesting Interest:
/prefix/%FE%00?ndn.InterestLifetime=2000&ndn.Nonce=3506978425&ndn.Hello=1
+0.000000000s 0 ndn.Consumer:SendHello(): [INFO ] > Interest for 0
+0.000000000s 0 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items
node 0 get interest with field value 1,123,456,70,0,1,1from0
TODO::------------------------ctbs[node]==NULL----------------------------
#-------------------current Cnode is :0--------------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
hellocount is 2
+0.000000000s 1 ndn.Consumer:SendHello()
currently node is 1
+0.000000000s 1 ndn.Consumer:SendHello(): [INFO ] Requesting Interest:
/prefix/%FE%00?ndn.InterestLifetime=2000&ndn.Nonce=3586942252&ndn.Hello=1
+0.000000000s 1 ndn.Consumer:SendHello(): [INFO ] > Interest for 0
+0.000000000s 1 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items
node 1 get interest with field value 1,27,22,0,0,1,0from1
TODO::------------------------ctbs[node]==NULL----------------------------
#-------------------current Cnode is :1--------------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
hellocount is 2
+0.000000000s 2 ndn.Consumer:SendHello()
currently node is 2
+0.000000000s 2 ndn.Consumer:SendHello(): [INFO ] Requesting Interest:
/prefix/%FE%00?ndn.InterestLifetime=2000&ndn.Nonce=4054013042&ndn.Hello=1
+0.000000000s 2 ndn.Consumer:SendHello(): [INFO ] > Interest for 0
+0.000000000s 2 ndn.Consumer:WillSendOutInterest(): [DEBUG] Trying to add 0 with +0.0ns. already 0 items
node 2 get interest with field value 1,4,5,80,0,1,1from2
TODO::------------------------ctbs[node]==NULL----------------------------
#-------------------current Cnode is :2--------------------#
#output:-------------nt table's content is : id=2 x=4 y=5 speed80---------------#
系统内错误的数据
node 0 get interest with field value 1,0,0,1,0,35861808,32614from0
TODO::------------------------ELSE::::::ctbs[node]==NULL----------------------------
#-------------------current Cnode is :0--------------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=0 x=0 y=0 speed1---------------#
第一次交互后各节点情况
node 1 get interest with field value 1,123,456,70,0,1,1from0
TODO::------------------------ELSE::::::ctbs[node]==NULL----------------------------
#-------------------current Cnode is :1--------------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
node 0 get interest with field value 1,27,22,0,0,1,0from1
TODO::------------------------ELSE::::::ctbs[node]==NULL----------------------------
#-------------------current Cnode is :0--------------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=0 x=0 y=0 speed1---------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
node 1 get interest with field value 1,4,5,80,0,1,1from2
TODO::------------------------ELSE::::::ctbs[node]==NULL----------------------------
#-------------------current Cnode is :1--------------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=2 x=4 y=5 speed80---------------#
node 2 get interest with field value 1,123,456,70,0,1,1from0
TODO::------------------------ELSE::::::ctbs[node]==NULL----------------------------
#-------------------current Cnode is :2--------------------#
#output:-------------nt table's content is : id=2 x=4 y=5 speed80---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
+0.021327998s 2 ndn.Producer:OnInterest(0x1c5c9f0, 0x1c9ef90)
+0.021327998s 2 ndn.Producer:OnInterest(): [INFO ] Received content object: /prefix/%FE%00?ndn.InterestLifetime=2000&ndn.Nonce=3506978425&ndn.Hello=1
+0.021327998s 2 ndn.Producer:OnInterest(): [DEBUG] receiver a interest not hello
第二次交互后各节点情况
TODO::------------------------ELSE::::::ctbs[node]==NULL----------------------------
#-------------------current Cnode is :1--------------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=2 x=4 y=5 speed80---------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
node 0 get interest with field value 1,27,22,0,0,1,0from1
TODO::------------------------ELSE::::::ctbs[node]==NULL----------------------------
#-------------------current Cnode is :0--------------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=0 x=0 y=0 speed1---------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
node 2 get interest with field value 1,123,456,70,0,1,1from0
TODO::------------------------ELSE::::::ctbs[node]==NULL----------------------------
#-------------------current Cnode is :2--------------------#
#output:-------------nt table's content is : id=2 x=4 y=5 speed80---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=2 x=4 y=5 speed80---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
收到一个兴趣包后
node 1 get interest with field value 0,49,79,98,0,1,11from0
#-------------------current Cnode is :1--------------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=2 x=4 y=5 speed80---------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:@@@@@@@@@@@@@@nbl table's content is : id=1 dis=61 speed=0@@@@@@@@@@@@@@#
#output:@@@@@@@@@@@@@@nbl table's content is : id=2 dis=86 speed=80@@@@@@@@@@@@@@#
#output:@@@@@@@@@@@@@@nbl table's content is : id=1 dis=61 speed=0@@@@@@@@@@@@@@#
#-------------------current Cnode is :0--------------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=0 x=0 y=0 speed1---------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=1 x=27 y=22 speed0---------------#
#output:@@@@@@@@@@@@@@nbl table's content is : id=0 dis=92 speed=1@@@@@@@@@@@@@@#
#output:@@@@@@@@@@@@@@nbl table's content is : id=1 dis=61 speed=0@@@@@@@@@@@@@@#
#output:@@@@@@@@@@@@@@nbl table's content is : id=1 dis=61 speed=0@@@@@@@@@@@@@@#
#-------------------current Cnode is :2--------------------#
#output:-------------nt table's content is : id=2 x=4 y=5 speed80---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:-------------nt table's content is : id=2 x=4 y=5 speed80---------------#
#output:-------------nt table's content is : id=0 x=123 y=456 speed70---------------#
#output:@@@@@@@@@@@@@@nbl table's content is : id=2 dis=86 speed=80@@@@@@@@@@@@@@#
#output:@@@@@@@@@@@@@@nbl table's content is : id=2 dis=86 speed=80@@@@@@@@@@@@@@#