7 #ifndef Drv_TcpServerComponentAc_HPP 8 #define Drv_TcpServerComponentAc_HPP 109 #if FW_PORT_SERIALIZATION 120 Fw::InputSerializePort* port
126 Fw::InputSerializePort* port
132 Fw::InputSerializePort* port
145 const char* compName =
"" FwIndexType getNum_deallocate_OutputPorts() const
Auto-generated base for TcpServer component.
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
virtual ~TcpServerComponentBase()
Destroy TcpServerComponentBase object.
bool isConnected_ready_OutputPort(FwIndexType portNum)
Status associated with the received data.
void set_ready_OutputPort(FwIndexType portNum, Drv::InputByteStreamReadyPort *port)
Connect port to ready[portNum].
void recv_out(FwIndexType portNum, Fw::Buffer &recvBuffer, const Drv::RecvStatus &recvStatus)
Invoke output port recv.
FwIndexType getNum_allocate_OutputPorts() const
void set_recv_OutputPort(FwIndexType portNum, Drv::InputByteStreamRecvPort *port)
Connect port to recv[portNum].
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
PlatformIndexType FwIndexType
void init()
Object initializer.
virtual void unLock()
Unlock the guarded mutex.
FwIndexType getNum_ready_OutputPorts() const
Fw::Buffer allocate_out(FwIndexType portNum, U32 size)
Invoke output port allocate.
C++-compatible configuration header for fprime configuration.
bool isConnected_deallocate_OutputPort(FwIndexType portNum)
Status returned by the send call.
virtual void lock()
Lock the guarded mutex.
bool isConnected_recv_OutputPort(FwIndexType portNum)
bool isConnected_allocate_OutputPort(FwIndexType portNum)
FwIndexType getNum_recv_OutputPorts() const
virtual Drv::SendStatus send_handler(FwIndexType portNum, Fw::Buffer &sendBuffer)=0
Handler for input port send.
FwIndexType getNum_send_InputPorts() const
Drv::InputByteStreamSendPort * get_send_InputPort(FwIndexType portNum)
friend class TcpServerComponentBaseFriend
Friend class for white-box testing.
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.
Drv::SendStatus send_handlerBase(FwIndexType portNum, Fw::Buffer &sendBuffer)
Handler base-class function for input port send.