16#include <Svc/UdpSender/UdpSenderComponentAc.hpp>
18#include <sys/socket.h>
25 public UdpSenderComponentBase
37 const char *
const compName
91 struct sockaddr_in m_servAddr;
93 class UdpSerialBuffer :
100 UdpSerialBuffer&
operator=(
const UdpSerialBuffer& other);
102 UdpSerialBuffer(
const UdpSerialBuffer& other);
107 return sizeof(m_buff);
116 if (loc >= (size-1) ) {
120 return (size - loc - 1);
128 const U8* getBuffAddr()
const {
PlatformIntType NATIVE_INT_TYPE
uint8_t U8
8-bit unsigned integer
PlatformUIntType NATIVE_UINT_TYPE
SerializeBufferBase & operator=(const SerializeBufferBase &src)
equal operator
NATIVE_UINT_TYPE getBuffLength() const
returns current buffer size
void open(const char *addr, const char *port)
void init(const NATIVE_INT_TYPE queueDepth, const NATIVE_INT_TYPE msgSize, const NATIVE_INT_TYPE instance=0)
~UdpSenderComponentImpl()
static const NATIVE_UINT_TYPE UDP_SENDER_MSG_SIZE