Class: Receiver
- Inherits:
-
Object
- Object
- Receiver
- Defined in:
- lib/javonet-ruby-sdk/core/receiver/receiver.rb,
lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/receiver/receiver.rb,
lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/receiver/receiver.rb,
lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/receiver/receiver.rb
Instance Method Summary collapse
- #heart_beat(message_array, message_array_len) ⇒ Object
-
#initialize ⇒ Receiver
constructor
A new instance of Receiver.
- #send_command(message_array, message_array_len) ⇒ Object
Constructor Details
#initialize ⇒ Receiver
Returns a new instance of Receiver.
5 6 7 |
# File 'lib/javonet-ruby-sdk/core/receiver/receiver.rb', line 5 def initialize @@interpreter = Interpreter.new end |
Instance Method Details
#heart_beat(message_array, message_array_len) ⇒ Object
13 14 15 |
# File 'lib/javonet-ruby-sdk/core/receiver/receiver.rb', line 13 def heart_beat(, ) [49,48] end |
#send_command(message_array, message_array_len) ⇒ Object
9 10 11 |
# File 'lib/javonet-ruby-sdk/core/receiver/receiver.rb', line 9 def send_command(, ) @@interpreter.process(, ) end |