Class: OpenC3::UdpWriteSocket
- Inherits:
-
UdpReadWriteSocket
- Object
- UdpReadWriteSocket
- OpenC3::UdpWriteSocket
- Defined in:
- lib/openc3/io/udp_sockets.rb
Overview
Creates a UDPSocket and implements a non-blocking write.
Constant Summary
Constants inherited from UdpReadWriteSocket
OpenC3::UdpReadWriteSocket::HOST_0_0_0_0
Instance Method Summary collapse
-
#initialize(dest_address, dest_port, src_port = nil, multicast_interface_address = nil, ttl = 1, bind_address = HOST_0_0_0_0) ⇒ UdpWriteSocket
constructor
A new instance of UdpWriteSocket.
Methods inherited from UdpReadWriteSocket
#method_missing, multicast?, #read, #write
Constructor Details
#initialize(dest_address, dest_port, src_port = nil, multicast_interface_address = nil, ttl = 1, bind_address = HOST_0_0_0_0) ⇒ UdpWriteSocket
Returns a new instance of UdpWriteSocket.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'lib/openc3/io/udp_sockets.rb', line 154 def initialize( dest_address, dest_port, src_port = nil, multicast_interface_address = nil, ttl = 1, bind_address = HOST_0_0_0_0 ) super( src_port, bind_address, dest_port, dest_address, multicast_interface_address, ttl, false, true) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenC3::UdpReadWriteSocket