CORDET Framework - C2 Implementation
pustests/CrFwServerSocket.h
1 
112 #ifndef CRFW_SERVERSOCKET_H_
113 #define CRFW_SERVERSOCKET_H_
114 
115 /* Include Framework Files */
116 #include "CrFwConstants.h"
117 /* Include Configuration Files */
118 #include "CrFwUserConstants.h"
119 /* Include FW Profile files */
120 #include "FwSmConstants.h"
121 #include "FwSmConfig.h"
122 #include "FwSmCore.h"
123 #include "FwPrConfig.h"
124 #include "FwPrCore.h"
125 #include "FwPrConstants.h"
126 
140 void CrFwServerSocketInitAction(FwPrDesc_t prDesc);
141 
147 void CrFwServerSocketInitCheck(FwPrDesc_t prDesc);
148 
155 void CrFwServerSocketConfigCheck(FwPrDesc_t prDesc);
156 
166 void CrFwServerSocketShutdownAction(FwSmDesc_t smDesc);
167 
176 
183 void CrFwServerSocketConfigAction(FwPrDesc_t prDesc);
184 
204 void CrFwServerSocketPoll();
205 
223 
243 
249 void CrFwServerSocketSetPort(unsigned short n);
250 
251 #endif /* CRFW_SERVERSOCKET_H_ */
void CrFwServerSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the server socket.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
void CrFwServerSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the server socket.
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 CrFwServerSocketIsPcktAvail(CrFwDestSrc_t src)
Function implementing the Packet Available Check Operation for the server socket. ...
void CrFwServerSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the server socket.
void CrFwServerSocketSetPort(unsigned short n)
Set the port number for the socket.
void CrFwServerSocketPoll()
Poll the server socket to check whether a new packet has arrived.
void CrFwServerSocketConfigCheck(FwPrDesc_t prDesc)
Configuration check for the server socket.
void CrFwServerSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the server socket.
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:36
CrFwBool_t CrFwServerSocketPcktHandover(CrFwPckt_t pckt)
Function implementing the hand-over operation for the server socket.
CrFwPckt_t CrFwServerSocketPcktCollect(CrFwDestSrc_t src)
Function implementing the Packet Collect Operation for the server socket.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved