projects
/
quix0rs-apt-p2p.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various documentation fixes and additions.
[quix0rs-apt-p2p.git]
/
apt_dht_Khashmir
/
node.py
diff --git
a/apt_dht_Khashmir/node.py
b/apt_dht_Khashmir/node.py
index 99d95fb1b67c2793f709e99b9d221dee2d69541b..49b8fe75a06923379d5bfecad8d86f083262a5aa 100644
(file)
--- a/
apt_dht_Khashmir/node.py
+++ b/
apt_dht_Khashmir/node.py
@@
-21,6
+21,8
@@
NULL_ID = 20 * '\0'
class Node:
"""Encapsulate a node's contact info.
class Node:
"""Encapsulate a node's contact info.
+ @ivar conn: the connection to the remote node (added externally)
+ @ivar table: the routing table (added externally)
@type fails: C{int}
@ivar fails: number of times this node has failed in a row
@type lastSeen: C{datetime.datetime}
@type fails: C{int}
@ivar fails: number of times this node has failed in a row
@type lastSeen: C{datetime.datetime}