Class: DEVp2p::Kademlia::WireInterface
- Inherits:
-
Object
- Object
- DEVp2p::Kademlia::WireInterface
- Defined in:
- lib/devp2p/kademlia/wire_interface.rb
Overview
defines the methods used by KademliaProtocol
Direct Known Subclasses
Instance Method Summary collapse
- #send_find_node(nodeid) ⇒ Object
- #send_neighbours(node, neighbours) ⇒ Object
- #send_ping(node) ⇒ Object
- #send_pong(node, id) ⇒ Object
Instance Method Details
#send_find_node(nodeid) ⇒ Object
19 20 21 |
# File 'lib/devp2p/kademlia/wire_interface.rb', line 19 def send_find_node(nodeid) raise NotImplementedError end |
#send_neighbours(node, neighbours) ⇒ Object
23 24 25 |
# File 'lib/devp2p/kademlia/wire_interface.rb', line 23 def send_neighbours(node, neighbours) raise NotImplementedError end |
#send_ping(node) ⇒ Object
11 12 13 |
# File 'lib/devp2p/kademlia/wire_interface.rb', line 11 def send_ping(node) raise NotImplementedError end |
#send_pong(node, id) ⇒ Object
15 16 17 |
# File 'lib/devp2p/kademlia/wire_interface.rb', line 15 def send_pong(node, id) raise NotImplementedError end |