13 #ifndef TcpClientComponentImpl_HPP 14 #define TcpClientComponentImpl_HPP 149 #endif // end TcpClientComponentImpl Fw::Buffer getBuffer() override
returns a buffer to fill with data
PlatformSizeType FwSizeType
~TcpClientComponentImpl()
Destroy the component.
Auto-generated base for TcpClient component.
TcpClientComponentImpl(const char *const compName)
construct the TcpClient component.
IpSocket & getSocketHandler() override
returns a reference to the socket handler
supports a task to read a given socket adaptation
Status returned by the send call.
void connected() override
called when the IPv4 system has been connected
friend class TcpClientTester
PlatformIndexType FwIndexType
SocketIpStatus
Status enumeration for socket return values.
Helper base-class for setting up Berkeley sockets.
void sendBuffer(Fw::Buffer buffer, SocketIpStatus status) override
sends a buffer to be filled with data
SocketIpStatus configure(const char *const ipv4_address, const U16 port, const U32 send_timeout_seconds=SOCKET_SEND_TIMEOUT_SECONDS, const U32 send_timeout_microseconds=SOCKET_SEND_TIMEOUT_MICROSECONDS, FwSizeType buffer_size=1024)
Configures the TcpClient settings but does not open the connection.
Helper for setting up Tcp using Berkeley sockets as a client.