 |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
13 #ifndef UdpComponentImpl_HPP
14 #define UdpComponentImpl_HPP
19 #include "Drv/ByteStreamDriverModel/ByteStreamDriverComponentAc.hpp"
154 #endif // end UdpComponentImpl
~UdpComponentImpl(void)
Destroy the component.
IpSocket & getSocketHandler()
returns a reference to the socket handler
SocketIpStatus configureRecv(const char *hostname, const U16 port)
Configures the Udp receive settings but does not open the connection.
Helper for setting up Udp using Berkley sockets as a client.
Helper base-class for setting up Berkley sockets.
@ SOCKET_SEND_TIMEOUT_MICROSECONDS
void sendBuffer(Fw::Buffer buffer, SocketIpStatus status)
sends a buffer to filled with data
@ SOCKET_SEND_TIMEOUT_SECONDS
supports a task to read a given socket adaptation
void init(const NATIVE_INT_TYPE instance=0)
Initialize this component.
SocketIpStatus
Status enumeration for socket return values.
UdpComponentImpl(const char *const compName)
construct the TcpClient component.
int NATIVE_INT_TYPE
native integer type declaration
SocketIpStatus configureSend(const char *hostname, const U16 port, const U32 send_timeout_seconds=SOCKET_SEND_TIMEOUT_SECONDS, const U32 send_timeout_microseconds=SOCKET_SEND_TIMEOUT_MICROSECONDS)
Configures the Udp send settings but does not open the connection.
Drv::PollStatus poll_handler(const NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer)
not supported
Fw::Buffer getBuffer()
returns a buffer to fill with data