Package ZenEvents :: Module MySqlSendEvent :: Class MySqlSendEventThread
[hide private]
[frames] | no frames]

Class MySqlSendEventThread

source code

         object --+        
                  |        
 threading._Verbose --+    
                      |    
       threading.Thread --+
                          |
MySqlSendEventMixin --+   |
                      |   |
         MySqlSendEvent --+
                          |
                         MySqlSendEventThread

Instance Methods [hide private]
 
__init__(self, zem) source code
 
sendEvent(self, evt)
Called from main thread to put an event on to the send queue.
source code
 
run(self) source code
 
stop(self)
Called from main thread to stop this thread.
source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, join, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Inherited from MySqlSendEvent: getFieldList

Inherited from MySqlSendEventMixin: applyDeviceContext, applyEventContext, buildClearUpdate, buildDetailInsert, buildInsert, buildStatusInsert, doSendEvent, escape, eventDataMaps

Inherited from MySqlSendEventMixin (private): _findByIp, _sendHeartbeat

Class Variables [hide private]
  running = True

Inherited from MySqlSendEvent: backend, copyattrs

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, zem)
(Constructor)

source code 
Overrides: threading.Thread.__init__

sendEvent(self, evt)

source code 
Called from main thread to put an event on to the send queue.
Overrides: MySqlSendEventMixin.sendEvent

run(self)

source code 
Overrides: threading.Thread.run

stop(self)

source code 
Called from main thread to stop this thread.
Overrides: MySqlSendEvent.stop