diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-03 18:50:02 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-03 18:50:02 -0500 |
commit | 9ab208e78c62306ad796dc74cb995e9f727c84ed (patch) | |
tree | 313960b30fd01e44d6722303a52ae349dc690b53 /servers/auth_server_lin/src/auth_conn.h | |
parent | b25a8045b855018ecd3a26aaa56ccfe8ab41d702 (diff) | |
download | ulab-9ab208e78c62306ad796dc74cb995e9f727c84ed.tar.gz ulab-9ab208e78c62306ad796dc74cb995e9f727c84ed.zip |
Properly handle recoverable MySQL connection interruptions
Properly track arbiter use
Diffstat (limited to 'servers/auth_server_lin/src/auth_conn.h')
-rw-r--r-- | servers/auth_server_lin/src/auth_conn.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/servers/auth_server_lin/src/auth_conn.h b/servers/auth_server_lin/src/auth_conn.h index ab0eff9..3b3ed58 100644 --- a/servers/auth_server_lin/src/auth_conn.h +++ b/servers/auth_server_lin/src/auth_conn.h @@ -15,7 +15,7 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * (c) 2012-2013 Timothy Pearson + * (c) 2012-2014 Timothy Pearson * Raptor Engineering * http://www.raptorengineeringinc.com */ @@ -46,7 +46,7 @@ class AuthSocket : public TDEKerberosServerSocket Q_OBJECT public: - AuthSocket(int sock, int serverID, TQObject *parent=0, const char *name=0); + AuthSocket(int sock, TQString localMachineFQDN, TQObject *parent=0, const char *name=0); ~AuthSocket(); public: @@ -72,7 +72,7 @@ class AuthSocket : public TDEKerberosServerSocket int m_stationID; bool m_bound; int m_serviceID; - int m_serverID; + TQString m_localMachineFQDN; int m_pollInterval; TQ_ULLONG m_terminationStamp; @@ -121,10 +121,13 @@ class AuthServer : public TQServerSocket void newConnect(AuthSocket*); private: + TQString getLocalMachineFQDN(); + + private: KSimpleConfig* m_config; TQSqlDatabase* m_database; TQTimer* m_sqlPingTimer; - int m_serverID; + TQString m_localMachineFQDN; friend class AuthSocket; |