 |
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 TcpServerComponentImpl_HPP
14 #define TcpServerComponentImpl_HPP
20 #include "Drv/ByteStreamDriverModel/ByteStreamDriverComponentAc.hpp"
161 #endif // end TcpServerComponentImpl
TcpServerComponentImpl(const char *const compName)
construct the TcpClient component.
Fw::Buffer getBuffer()
returns a buffer to fill with data
Helper base-class for setting up Berkley sockets.
void shutdown()
shutdown the TcpServer
@ SOCKET_SEND_TIMEOUT_MICROSECONDS
IpSocket & getSocketHandler()
returns a reference to the socket handler
~TcpServerComponentImpl(void)
Destroy the component.
@ SOCKET_SEND_TIMEOUT_SECONDS
void sendBuffer(Fw::Buffer buffer, SocketIpStatus status)
sends a buffer to filled with data
SocketIpStatus startup()
startup the TcpServer
void init(const NATIVE_INT_TYPE instance=0)
Initialize this component.
supports a task to read a given socket adaptation
Helper for setting up Tcp using Berkley sockets as a server.
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