|
C++ common classes
General purpose classes for use across projects (Apache license)
|
| AsyncConnectToServer(CPCLIENT_CALLBACK pUserFunc, void *pUserParm, LPCSTR lpszHostAddress, UINT nHostPort, DWORD dwTimeout=INFINITE, LPCSTR lpszClientAddress=NULL) | CPClient | [virtual] |
| AsyncTerminateConnection() | CPConnection | [virtual] |
| bBlocking | CBaseSocket | [protected] |
| bRecvPause | CPConnection | |
| bSendBufferHighWaterMark | CPConnection | [protected] |
| bSendData | CPConnection | [protected] |
| CBaseSocket() | CBaseSocket | |
| cClientHandlers | CPClient | [protected] |
| cConnectedEvent | CPClient | [protected] |
| cConnectionHandlers | CPClient | [protected] |
| cCriticalSocket | CBaseSocket | [protected] |
| CloseSocket() | CBaseSocket | [virtual] |
| CONNECT_ATTEMPT_FAILED enum value | CPConnection | |
| CONNECT_CLOSE_REQUESTED enum value | CPConnection | |
| CONNECT_DISCONNECTED enum value | CPConnection | |
| CONNECT_FAILURE enum value | CPConnection | |
| CONNECT_PENDING enum value | CPConnection | |
| CONNECT_SUCCESS enum value | CPConnection | |
| CONNECT_UNUSED enum value | CPConnection | |
| ConnectCallback(CPClient *pClient, BOOL bConnectResult) | CPClient | [protected, static] |
| ConnectToServer(LPCSTR lpszHostAddress, UINT nHostPort, DWORD dwTimeout=INFINITE, LPCSTR lpszClientAddress=NULL) | CPClient | [virtual] |
| cOwner | CPConnection | [protected] |
| CPClient(CP_CONNECTION_HANDLER_ARRAY &cPCHandlers, CP_CLIENT_HANDLER_ARRAY &cPClientHandlers, int iMaxSendBufferSize=16384) | CPClient | |
| CPConnection(CBaseSocket *pOwner, struct sockaddr *pAddr=NULL, int iMaxSendBufferSize=CS_OUTBUFFER_SIZE) | CPConnection | |
| cPHandler | CPConnection | [protected] |
| Create(int af, int type, int protocol, UINT nPort=0, LPCSTR lpAddr=NULL, BOOL bReuse=FALSE, BOOL bBind=TRUE, int iLinger=-1) | CPConnection | [virtual] |
| CBaseSocket::Create(int af, int type, int protocol, UINT nPort=0, LPCSTR lpAddr=NULL, BOOL bReuse=FALSE, BOOL bBind=TRUE, int iLinger=-1, BOOL bNoTcpDelay=FALSE) | CBaseSocket | [virtual] |
| CS_BUFFER_SIZE enum value | CPConnection | |
| CS_OUTBUFFER_SIZE enum value | CPConnection | |
| cSignature | CPConnection | [protected] |
| Disconnected() | CPClient | [virtual] |
| ECONNECT enum name | CPConnection | |
| eConnected | CPConnection | [protected] |
| GetConnectionError() | CPClient | |
| GetConnectionStatus() | CPConnection | |
| GetCreateError() | CBaseSocket | [virtual] |
| GetHandshake(unsigned char **ucHS, int &iLen) | CPConnection | [inline, protected, virtual] |
| GetLastConnectAttemptParms(string &sHost, int &iPort) | CPClient | [protected] |
| GetSocketAddress() | CPConnection | [virtual] |
| GetSocketAddressAsString() | CBaseSocket | [virtual] |
| GetSocketName() | CBaseSocket | [virtual] |
| GetSocketType() | CBaseSocket | [virtual] |
| GetTimeConnected() | CPConnection | [virtual] |
| HandleConnection(void *pParm=NULL) | CPConnection | [inline, protected, virtual] |
| iAF | CBaseSocket | [protected] |
| iConnectError | CPClient | [protected] |
| iCreateError | CBaseSocket | [protected] |
| iLastPort | CPClient | [protected] |
| iLeftToSend | CPConnection | [protected] |
| iMaxSendBuffer | CPConnection | [protected] |
| InstanceConnectCallback(BOOL bConnectResult) | CPClient | [protected] |
| InternalCallback(CPClient *pClient, BOOL bConnectResult, void *) | CPClient | [protected, static] |
| iNumClientHandlers | CPClient | [protected] |
| iNumConnHandlers | CPClient | [protected] |
| iOBSize | CPConnection | [protected] |
| iSendIndex | CPConnection | [protected] |
| IsSendComplete() | CPConnection | |
| iTotalRecvd | CPConnection | [protected] |
| iTotalSendData | CPConnection | [protected] |
| iTotalSent | CPConnection | [protected] |
| lCloseRequestTS | CPConnection | [protected] |
| lConnectResponse | CPClient | |
| lStartTime | CPClient | [protected] |
| pCPLFunc | CPClient | [protected] |
| pOutBuffer | CPConnection | [protected] |
| ProcessData(unsigned char *lpData, int iLen)=0 | CPConnection | [protected, pure virtual] |
| pUserConnectParm | CPClient | [protected] |
| pUserParm | CPClient | |
| ReceiveData() | CPConnection | [protected, virtual] |
| sAddr | CPConnection | [protected] |
| SendData() | CPConnection | [protected, virtual] |
| SendDataOut(LPSTR lpData, int nPacketSize, int nTotalLength) | CPConnection | [protected, virtual] |
| SetBlockingMode(BOOL bBlock=TRUE) | CBaseSocket | [virtual] |
| SetHandler(CPHandler *pHandler) | CPConnection | [protected, virtual] |
| sLastHost | CPClient | [protected] |
| sServer | CPClient | [protected] |
| sSocket | CBaseSocket | [protected] |
| sTAddr | CBaseSocket | [protected] |
| sUnixPath | CBaseSocket | [protected] |
| tConnected | CPConnection | [protected] |
| TerminateConnection() | CPConnection | [virtual] |
| ucBuffer | CPConnection | [protected] |
| ulAttemptTS | CPClient | [protected] |
| ulTimeout | CPClient | [protected] |
| UnprotectedCloseSocket() | CPConnection | [protected, virtual] |
| ~CBaseSocket() | CBaseSocket | [virtual] |
| ~CPClient() | CPClient | [virtual] |
| ~CPConnection() | CPConnection | [virtual] |