Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added code and more unit tests for FakeConnectionObject
[xestiaab/.git] / source / connobject / ConnectionObject.h
index c668814..c8d1466 100644 (file)
 
 #include <string>
 
+enum COConnectResult {
+       COCONNECT_UNITTESTFAIL = -1,
+       COCONNECT_OK,
+       COCONNECT_INVALID,
+       COCONNECT_TIMEOUT,
+       COCONNECT_AUTHFAIL
+};
+
 class ConnectionObject{
        
        public:
@@ -29,6 +37,15 @@ class ConnectionObject{
                virtual void SetupConnectionObject() {};
                virtual ~ConnectionObject() {};
                
+               virtual COConnectResult Connect() {};
+               
+               virtual bool CanDoProcessing() {};
+               virtual bool CanDoSSL() {};
+               virtual bool SSLVerify() {};
+               virtual bool AbleToLogin() {};
+               virtual bool HasValidResponse() {};
+               virtual bool IsSelfSigned() {};
+               
        protected:
                std::string ServerAddress = "";
                unsigned int ServerPort = 8080;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy