diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-28 18:28:19 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-28 18:28:19 -0500 |
commit | 65ea633f475c7ab2b524dc1ffb369f6607df3e6b (patch) | |
tree | 8fac782af0723eba4e3110cafe59cb521444eaa2 /servers/auth_server_lin/src/auth_conn.h | |
parent | 8392c611054a5bb058cd778163a7aa4ef8311c94 (diff) | |
download | ulab-65ea633f475c7ab2b524dc1ffb369f6607df3e6b.tar.gz ulab-65ea633f475c7ab2b524dc1ffb369f6607df3e6b.zip |
Convert servers to cooperative multitasking
Diffstat (limited to 'servers/auth_server_lin/src/auth_conn.h')
-rw-r--r-- | servers/auth_server_lin/src/auth_conn.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/servers/auth_server_lin/src/auth_conn.h b/servers/auth_server_lin/src/auth_conn.h index 55bb5de..f1b3295 100644 --- a/servers/auth_server_lin/src/auth_conn.h +++ b/servers/auth_server_lin/src/auth_conn.h @@ -57,6 +57,8 @@ class AuthSocket : public TDEKerberosServerSocket private slots: int connectToDatabase(); void connectionClosedHandler(); + void commandLoop(); + void servLoop(); private: int line; @@ -65,6 +67,13 @@ class AuthSocket : public TDEKerberosServerSocket int m_stationID; bool m_bound; + bool m_servActive; + int m_servState; + TDEKerberosClientSocket* m_servClientSocket; + TQTimer* m_servClientTimeout; + TQString m_srvServiceHostName; + int m_srvServicePort; + KSimpleConfig* m_config; TQSqlDatabase* m_database; TQSqlCursor* m_databaseStationsCursor; |