116 #ifndef CRDA_SERVERSOCKET_H_ 117 #define CRDA_SERVERSOCKET_H_ 122 #include "CrFwUserConstants.h" 124 #include "FwSmConstants.h" 125 #include "FwSmConfig.h" 126 #include "FwSmCore.h" 127 #include "FwPrConfig.h" 128 #include "FwPrCore.h" 129 #include "FwPrConstants.h" void CrDaServerSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the server socket.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
CrFwBool_t CrDaServerSocketIsPcktAvail(CrFwDestSrc_t pcktSrc)
Function implementing the Packet Available Check Operation for the server socket. ...
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Header file to define all invariant publicly available constants and types for the CORDET Framework...
void CrDaServerSocketPoll()
Poll the server socket to check whether a new packet has arrived from either client.
void CrDaServerSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the server socket.
void CrDaServerSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the server socket.
void CrDaServerSocketSetPort(int n)
Set the port number for the socket.
CrFwBool_t CrDaServerSocketPcktHandover(CrFwPckt_t pckt)
Function implementing the hand-over operation for the server socket.
void CrDaServerSocketConfigCheck(FwPrDesc_t prDesc)
Configuration check for the server socket.
void CrDaServerSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the server socket.
CrFwPckt_t CrDaServerSocketPcktCollect(CrFwDestSrc_t pcktSrc)
Function implementing the Packet Collect Operation for the server socket.