Class: Rapidomize::Transports::BaseTransport
- Inherits:
-
Object
- Object
- Rapidomize::Transports::BaseTransport
- Defined in:
- lib/rapidomize/transport/base_transport.rb
Overview
Interface for Transport classes to implement
Direct Known Subclasses
Instance Method Summary collapse
-
#deliver(_message) ⇒ Object
Method to invoke to send a message to the URI of the message.
-
#receive ⇒ Object
Method to invoke when a message is received from the cloud.
Instance Method Details
#deliver(_message) ⇒ Object
Method to invoke to send a message to the URI of the message
10 11 12 |
# File 'lib/rapidomize/transport/base_transport.rb', line 10 def deliver() raise NotImplementedError end |
#receive ⇒ Object
Method to invoke when a message is received from the cloud
16 17 18 |
# File 'lib/rapidomize/transport/base_transport.rb', line 16 def receive raise NotImplementedError end |