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.
7 8 9 |
# File 'lib/javonet-ruby-sdk/core/receiver/receiver.rb', line 7 def initialize RuntimeLogger.print_runtime_info end |
Instance Method Details
#heart_beat(message_array, message_array_len) ⇒ Object
15 16 17 |
# File 'lib/javonet-ruby-sdk/core/receiver/receiver.rb', line 15 def heart_beat(, ) [49,48] end |
#send_command(message_array, message_array_len) ⇒ Object
11 12 13 |
# File 'lib/javonet-ruby-sdk/core/receiver/receiver.rb', line 11 def send_command(, ) CommandSerializer.new.serialize(Interpreter.new.process()) end |