-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCNP_Messaging.h
29 lines (23 loc) · 1007 Bytes
/
CNP_Messaging.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
* @file CNP_Messaging.h
* @brief Message processing function prototypes
*
* @author Mark L. Short
* @date April 10, 2015
*
*/
#if !defined(__CNP_MESSAGING_H__)
#define __CNP_MESSAGING_H__
// forward declaration
class CNP_Socket;
cnp::WORD ProcessConnectRequest (const void* pMsg, size_t cbLen, CNP_Socket* pSocket);
bool ProcessBalanceQueryRequest (const void* pMsg, size_t cbLen);
bool ProcessCreateAccountRequest (const void* pMsg, size_t cbLen);
bool ProcessDepositRequest (const void* pMsg, size_t cbLen);
bool ProcessLogoffRequest (const void* pMsg, size_t cbLen);
bool ProcessLogonRequest (const void* pMsg, size_t cbLen);
bool ProcessStampPurchaseRequest (const void* pMsg, size_t cbLen);
bool ProcessTransactionQueryRequest(const void* pMsg, size_t cbLen);
bool ProcessWithdrawalRequest (const void* pMsg, size_t cbLen);
bool ProcessDisconnect (cnp::WORD wClientID);
#endif