7 #ifndef Drv_TcpServerComponentAc_HPP 8 #define Drv_TcpServerComponentAc_HPP 119 #if FW_PORT_SERIALIZATION 130 Fw::InputSerializePort* port
136 Fw::InputSerializePort* port
142 Fw::InputSerializePort* port
155 const char* compName =
"" 339 static void m_p_recvReturnIn_in(
Auto-generated base for TcpServer component.
Fw::InputBufferSendPort * get_recvReturnIn_InputPort(FwIndexType portNum)
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
PlatformSizeType FwSizeType
virtual ~TcpServerComponentBase()
Destroy TcpServerComponentBase object.
bool isConnected_ready_OutputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_deallocate_OutputPorts()
void recvReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port recvReturnIn.
void set_ready_OutputPort(FwIndexType portNum, Drv::InputByteStreamReadyPort *port)
Connect port to ready[portNum].
static constexpr FwIndexType getNum_recvReturnIn_InputPorts()
friend class TcpServerTester
Friend class tester implementation to support white-box testing.
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
virtual Drv::ByteStreamStatus send_handler(FwIndexType portNum, Fw::Buffer &sendBuffer)=0
Handler for input port send.
void init()
Object initializer.
virtual void unLock()
Unlock the guarded mutex.
static constexpr FwIndexType getNum_recv_OutputPorts()
Status returned by the send call.
virtual void recvReturnIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port recvReturnIn.
void recv_out(FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status)
Invoke output port recv.
Fw::Buffer allocate_out(FwIndexType portNum, FwSizeType size)
Invoke output port allocate.
static constexpr FwIndexType getNum_ready_OutputPorts()
bool isConnected_deallocate_OutputPort(FwIndexType portNum)
Drv::ByteStreamStatus send_handlerBase(FwIndexType portNum, Fw::Buffer &sendBuffer)
Handler base-class function for input port send.
void set_recv_OutputPort(FwIndexType portNum, Drv::InputByteStreamDataPort *port)
Connect port to recv[portNum].
virtual void lock()
Lock the guarded mutex.
static constexpr FwIndexType getNum_allocate_OutputPorts()
PlatformIndexType FwIndexType
bool isConnected_recv_OutputPort(FwIndexType portNum)
bool isConnected_allocate_OutputPort(FwIndexType portNum)
friend class TcpServerTesterBase
Friend class tester to support autocoded test harness.
static constexpr FwIndexType getNum_send_InputPorts()
Drv::InputByteStreamSendPort * get_send_InputPort(FwIndexType portNum)
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port deallocate.
void ready_out(FwIndexType portNum)
Invoke output port ready.
TcpServerComponentBase(const char *compName="")
Construct TcpServerComponentBase object.