CORDET Framework - C2 Implementation
pustests/CrFwClientSocket.h
1 
115 #ifndef CRFW_CLIENTSOCKET_H_
116 #define CRFW_CLIENTSOCKET_H_
117 
118 /* Include Framework Files */
119 #include "CrFwConstants.h"
120 /* Include Configuration Files */
121 #include "CrFwUserConstants.h"
122 /* Include FW Profile files */
123 #include "FwSmConstants.h"
124 #include "FwSmConfig.h"
125 #include "FwSmCore.h"
126 #include "FwPrConfig.h"
127 #include "FwPrCore.h"
128 #include "FwPrConstants.h"
129 
142 void CrFwClientSocketInitAction(FwPrDesc_t prDesc);
143 
153 void CrFwClientSocketShutdownAction(FwSmDesc_t smDesc);
154 
162 void CrFwClientSocketInitCheck(FwPrDesc_t prDesc);
163 
170 void CrFwClientSocketConfigAction(FwPrDesc_t prDesc);
171 
191 void CrFwClientSocketPoll();
192 
210 
230 
239 
245 void CrFwClientSocketSetPort(unsigned short n);
246 
253 void CrFwClientSocketSetHost(char* name);
254 
255 #endif /* CRFW_CLIENTSOCKET_H_ */
void CrFwClientSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the client socket.
CrFwPckt_t CrFwClientSocketPcktCollect(CrFwDestSrc_t src)
Function implementing the Packet Collect Operation for the client socket.
void CrFwClientSocketPoll()
Poll the client socket to check whether a new packet has arrived.
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").
Definition: CrFwConstants.h:30
Header file to define all invariant publicly available constants and types for the CORDET Framework...
CrFwBool_t CrFwClientSocketPcktHandover(CrFwPckt_t pckt)
Function implementing the hand-over operation for the client socket.
void CrFwClientSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the client socket.
void CrFwClientSocketSetHost(char *name)
Set the host name of the server.
void CrFwClientSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the client socket.
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:36
void CrFwClientSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the client socket.
void CrFwClientSocketSetPort(unsigned short n)
Set the port number for the socket.
CrFwBool_t CrFwClientSocketIsPcktAvail(CrFwDestSrc_t src)
Function implementing the Packet Available Check Operation for the client socket. ...
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved