CORDET Framework - C2 Implementation
CrDemoMaster/CrDaClientSocket.h
Go to the documentation of this file.
1 
109 #ifndef CRDA_CLIENTSOCKET_H_
110 #define CRDA_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 CrDaClientSocketInitAction(FwPrDesc_t prDesc);
137 
147 void CrDaClientSocketShutdownAction(FwSmDesc_t smDesc);
148 
156 void CrDaClientSocketInitCheck(FwPrDesc_t prDesc);
157 
164 void CrDaClientSocketConfigAction(FwPrDesc_t prDesc);
165 
175 void CrDaClientSocketPoll();
176 
194 
214 
223 
229 void CrDaClientSocketSetPort(int n);
230 
237 void CrDaClientSocketSetHost(char* name);
238 
239 #endif /* CRDA_CLIENTSOCKET_H_ */
void CrDaClientSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the client socket.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:38
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
CrFwBool_t CrDaClientSocketIsPcktAvail(CrFwDestSrc_t pcktSrc)
Function implementing the Packet Available Check Operation for the client socket. ...
void CrDaClientSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the client socket.
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Definition: CrFwConstants.h:32
CrFwPckt_t CrDaClientSocketPcktCollect(CrFwDestSrc_t pcktSrc)
Function implementing the Packet Collect Operation for the client socket.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
CrFwBool_t CrDaClientSocketPcktHandover(CrFwPckt_t pckt)
Function implementing the hand-over operation for the client socket.
void CrDaClientSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the client socket.
void CrDaClientSocketSetHost(char *name)
Set the host name of the server.
void CrDaClientSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the client socket.
void CrDaClientSocketPoll()
Poll the client socket to check whether a new packet has arrived.
void CrDaClientSocketSetPort(int n)
Set the port number for the socket.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved