Class: XwotDiscovery::Protocol
- Inherits:
-
Object
- Object
- XwotDiscovery::Protocol
- Defined in:
- lib/xwot_discovery/protocol.rb
Overview
An interface for a discovery protocol.
Direct Known Subclasses
Instance Method Summary collapse
- #close ⇒ Object
- #listen ⇒ Object
- #notify_me(subject) ⇒ Object
- #receive ⇒ Object
- #send(message) ⇒ Object
Instance Method Details
#close ⇒ Object
12 13 14 |
# File 'lib/xwot_discovery/protocol.rb', line 12 def close raise 'not implemented!' end |
#listen ⇒ Object
8 9 10 |
# File 'lib/xwot_discovery/protocol.rb', line 8 def listen raise 'not implemented!' end |
#notify_me(subject) ⇒ Object
24 25 26 |
# File 'lib/xwot_discovery/protocol.rb', line 24 def notify_me(subject) raise 'not implemented!' end |
#receive ⇒ Object
20 21 22 |
# File 'lib/xwot_discovery/protocol.rb', line 20 def receive raise 'not implemented!' end |
#send(message) ⇒ Object
16 17 18 |
# File 'lib/xwot_discovery/protocol.rb', line 16 def send() raise 'not implemented!' end |