Class: OpenC3::UdpReadSocket
- Inherits:
-
UdpReadWriteSocket
- Object
- UdpReadWriteSocket
- OpenC3::UdpReadSocket
- Defined in:
- lib/openc3/io/udp_sockets.rb
Overview
Creates a UDPSocket and implements a non-blocking read.
Constant Summary
Constants inherited from UdpReadWriteSocket
OpenC3::UdpReadWriteSocket::HOST_0_0_0_0
Instance Method Summary collapse
-
#initialize(recv_port = 0, multicast_address = nil, multicast_interface_address = nil, bind_address = HOST_0_0_0_0) ⇒ UdpReadSocket
constructor
A new instance of UdpReadSocket.
Methods inherited from UdpReadWriteSocket
#method_missing, multicast?, #read, #write
Constructor Details
#initialize(recv_port = 0, multicast_address = nil, multicast_interface_address = nil, bind_address = HOST_0_0_0_0) ⇒ UdpReadSocket
Returns a new instance of UdpReadSocket.
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'lib/openc3/io/udp_sockets.rb', line 181 def initialize( recv_port = 0, multicast_address = nil, multicast_interface_address = nil, bind_address = HOST_0_0_0_0 ) super( recv_port, bind_address, nil, multicast_address, multicast_interface_address, 1, true, false) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenC3::UdpReadWriteSocket