Method: OpenC3::UdpInterface#read
- Defined in:
- lib/openc3/interfaces/udp_interface.rb
#read ⇒ Object
153 154 155 156 157 158 159 160 |
# File 'lib/openc3/interfaces/udp_interface.rb', line 153 def read return super() if @read_port # Write only interface so stop the thread which calls read @thread_sleeper = Sleeper.new @thread_sleeper.sleep(1_000_000_000) while connected? return nil end |