108 #ifndef CRFW_SERVERSOCKET_H_
109 #define CRFW_SERVERSOCKET_H_
116 #include "FwSmConstants.h"
117 #include "FwSmConfig.h"
118 #include "FwSmCore.h"
119 #include "FwPrConfig.h"
120 #include "FwPrCore.h"
121 #include "FwPrConstants.h"
Header file to define all invariant publicly available constants and types for the CORDET Framework.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
CrFwPckt_t CrFwServerSocketPcktCollect(CrFwDestSrc_t nofPcktSrc, CrFwDestSrc_t *pcktSrcs)
Function implementing the Packet Collect Operation for the server socket.
void CrFwServerSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the server socket.
CrFwBool_t CrFwServerSocketIsPcktAvail(CrFwDestSrc_t nofPcktSrc, CrFwDestSrc_t *pcktSrcs)
Function implementing the Packet Available Check Operation for the server socket.
void CrFwServerSocketConfigCheck(FwPrDesc_t prDesc)
Configuration check for the server socket.
void CrFwServerSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the server socket.
void CrFwServerSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the server socket.
void CrFwServerSocketPoll()
Poll the server socket to check whether a new packet has arrived.
void CrFwServerSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the server socket.
void CrFwServerSocketSetPort(unsigned short n)
Set the port number for the socket.
CrFwBool_t CrFwServerSocketPcktHandover(CrFwPckt_t pckt)
Function implementing the hand-over operation for the server socket.
Header file to define all user-configurable constants and types for the CORDET Framework (the non-con...
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.