CORDET Framework - C2 Implementation
CrFwClientSocket.h
Go to the documentation of this file.
1 
109 #ifndef CRFW_CLIENTSOCKET_H_
110 #define CRFW_CLIENTSOCKET_H_
111 
112 /* Include Framework Files */
113 #include "CrFwConstants.h"
114 /* Include Configuration Files */
115 #include "CrFwUserConstants.h"
116 /* Include FW Profile files */
117 #include "FwSmConstants.h"
118 #include "FwSmConfig.h"
119 #include "FwSmCore.h"
120 #include "FwPrConfig.h"
121 #include "FwPrCore.h"
122 #include "FwPrConstants.h"
123 
136 void CrFwClientSocketInitAction(FwPrDesc_t prDesc);
137 
147 void CrFwClientSocketShutdownAction(FwSmDesc_t smDesc);
148 
156 void CrFwClientSocketInitCheck(FwPrDesc_t prDesc);
157 
164 void CrFwClientSocketConfigAction(FwPrDesc_t prDesc);
165 
181 void CrFwClientSocketPoll();
182 
201 
222 
231 
237 void CrFwClientSocketSetPort(unsigned short n);
238 
245 void CrFwClientSocketSetHost(char* name);
246 
247 #endif /* CRFW_CLIENTSOCKET_H_ */
CrFwPckt_t CrFwClientSocketPcktCollect(CrFwDestSrc_t nofPcktSrc, CrFwDestSrc_t *pcktSrcs)
Function implementing the Packet Collect Operation for the client socket.
void CrFwClientSocketSetPort(unsigned short n)
Set the port number for the socket.
void CrFwClientSocketSetHost(char *name)
Set the host name of the server.
void CrFwClientSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the client socket.
void CrFwClientSocketPoll()
Poll the client socket to check whether a new packet has arrived.
void CrFwClientSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the client socket.
void CrFwClientSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the client socket.
CrFwBool_t CrFwClientSocketIsPcktAvail(CrFwDestSrc_t nofPcktSrc, CrFwDestSrc_t *pcktSrcs)
Function implementing the Packet Available Check Operation for the client socket.
CrFwBool_t CrFwClientSocketPcktHandover(CrFwPckt_t pckt)
Function implementing the hand-over operation for the client socket.
void CrFwClientSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the client socket.
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).
Definition: CrFwConstants.h:38
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Definition: CrFwConstants.h:32
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.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved