 |
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 TcpClientComponentImpl_HPP
14 #define TcpClientComponentImpl_HPP
19 #include "Drv/ByteStreamDriverModel/ByteStreamDriverComponentAc.hpp"
141 #endif // end TcpClientComponentImpl
void sendBuffer(Fw::Buffer buffer, SocketIpStatus status)
sends a buffer to filled with data
Helper base-class for setting up Berkley sockets.
void init(const NATIVE_INT_TYPE instance=0)
Initialize this component.
@ SOCKET_SEND_TIMEOUT_MICROSECONDS
@ SOCKET_SEND_TIMEOUT_SECONDS
IpSocket & getSocketHandler()
returns a reference to the socket handler
~TcpClientComponentImpl(void)
Destroy the component.
Helper for setting up Tcp using Berkley sockets as a client.
supports a task to read a given socket adaptation
Fw::Buffer getBuffer()
returns a buffer to fill with data
TcpClientComponentImpl(const char *const compName)
construct the TcpClient component.
SocketIpStatus
Status enumeration for socket return values.
SocketIpStatus configure(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 TcpClient settings but does not open the connection.
int NATIVE_INT_TYPE
native integer type declaration