109 #ifndef CRDA_CLIENTSOCKET_H_ 110 #define CRDA_CLIENTSOCKET_H_ 115 #include "CrFwUserConstants.h" 117 #include "FwSmConstants.h" 118 #include "FwSmConfig.h" 119 #include "FwSmCore.h" 120 #include "FwPrConfig.h" 121 #include "FwPrCore.h" 122 #include "FwPrConstants.h" void CrDaClientSocketSetHost(char *name)
Set the host name of the server.
void CrDaClientSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the client socket.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
CrFwBool_t CrDaClientSocketPcktHandover(CrFwPckt_t pckt)
Function implementing the hand-over operation for the client 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...
CrFwBool_t CrDaClientSocketIsPcktAvail(CrFwDestSrc_t pcktSrc)
Function implementing the Packet Available Check Operation for the client socket. ...
void CrDaClientSocketSetPort(int n)
Set the port number for the socket.
void CrDaClientSocketPoll()
Poll the client socket to check whether a new packet has arrived.
void CrDaClientSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the client socket.
CrFwPckt_t CrDaClientSocketPcktCollect(CrFwDestSrc_t pcktSrc)
Function implementing the Packet Collect Operation for the client socket.
void CrDaClientSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the client socket.
void CrDaClientSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the client socket.