CORDET Framework - C2 Implementation
tests/CrFwInStreamSocket.h
Go to the documentation of this file.
1 
89 #ifndef CRFW_INSTREAMSOCKET_H_
90 #define CRFW_INSTREAMSOCKET_H_
91 
92 /* Include Framework Files */
93 #include "CrFwConstants.h"
94 /* Include Configuration Files */
95 #include "CrFwUserConstants.h"
96 /* Include FW Profile files */
97 #include "FwSmConstants.h"
98 #include "FwSmConfig.h"
99 #include "FwSmCore.h"
100 #include "FwPrConfig.h"
101 #include "FwPrCore.h"
102 #include "FwPrConstants.h"
103 
115 void CrFwInStreamSocketInitAction(FwPrDesc_t prDesc);
116 
125 void CrFwInStreamSocketShutdownAction(FwSmDesc_t smDesc);
126 
134 void CrFwInStreamSocketInitCheck(FwPrDesc_t prDesc);
135 
142 void CrFwInStreamSocketConfigAction(FwPrDesc_t prDesc);
143 
153 void CrFwInStreamSocketPoll(FwSmDesc_t inStream);
154 
170 
186 
192 void CrFwInStreamSocketSetPort(unsigned short n);
193 
200 void CrFwInStreamSocketSetHost(char* name);
201 
202 #endif /* CRFW_INSTREAMSOCKET_H_ */
CrFwPckt_t CrFwInStreamSocketPcktCollect(CrFwDestSrc_t src)
Function implementing the Packet Collect Operation for the socket-based InStream. ...
void CrFwInStreamSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the socket-based InStream.
CrFwBool_t CrFwInStreamSocketIsPcktAvail(CrFwDestSrc_t src)
Function implementing the Packet Available Check Operation for the InStream.
void CrFwInStreamSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the socket-based InStream.
void CrFwInStreamSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the socket-based InStream.
void CrFwInStreamSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the socket-based InStream.
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
void CrFwInStreamSocketSetHost(char *name)
Set the host name of the server.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
void CrFwInStreamSocketSetPort(unsigned short n)
Set the port number for the socket.
void CrFwInStreamSocketPoll(FwSmDesc_t inStream)
Poll the socket to check whether a new packet has arrived.
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:36
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved