- #pragma once
- class ConnectionManager;
- class P4BridgeClient;
- class P4BridgeServer;
- #ifdef _DEBUG_MEMORY
- class P4Connection : public ClientApi, public KeepAlive, public DoublyLinkedListItem, p4base
- #else
- class P4Connection : public ClientApi, public KeepAlive, public DoublyLinkedListItem
- #endif
- {
- private:
- P4Connection(void);
- // KeepAlive status
- int isAlive;
- public:
- P4Connection(ConnectionManager* conMgr, P4BridgeServer* pServer, int cmdId);
- virtual ~P4Connection(void);
- // has the client been initialized
- int clientNeedsInit;
- void Disconnect( void );
- // KeepAlive functionality
- virtual int IsAlive();
- void IsAlive(int val) {isAlive = val;}
- void cancel_command();
- P4BridgeClient* ui;
- void SetCharset( CharSetApi::CharSet c, CharSetApi::CharSet filec );
- unsigned _int64 ReleaseTime;
- #ifdef _DEBUG_MEMORY
- // Simple type identification for registering objects
- virtual int Type(void) {return tP4Connection;}
- #endif
- };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 13946 | OmegaNemesis28 | Merging //guest/perforce_software/p4api.net/... to //guest/omeganemesis28/p4api.net/...... « |
10 years ago | |
//guest/perforce_software/p4api.net/p4bridge/P4Connection.h | |||||
#3 | 11220 | Matt Attaway | Update Workshop version with most recent 14.2 patch of p4api.net | 10 years ago | |
#2 | 8964 | Bill | fix line endings | 11 years ago | |
#1 | 8873 | Matt Attaway | Initial add of the P4API.NET source code | 11 years ago |