Method: OpenC3::TcpipServerInterface#read_queue_size

Defined in:
lib/openc3/interfaces/tcpip_server_interface.rb

#read_queue_sizeInteger

Returns The number of packets waiting on the read queue.

Returns:

  • (Integer)

    The number of packets waiting on the read queue



261
262
263
# File 'lib/openc3/interfaces/tcpip_server_interface.rb', line 261

def read_queue_size
  @read_queue ? @read_queue.size : 0
end