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

Class MySqlSendEvent

source code

MySqlSendEventMixin --+
                      |
                     MySqlSendEvent
Known Subclasses:
MySqlSendEventThread


class that can connect to backend must be passed:
    username - backend username to use
    password - backend password
    database - backend database name
    host - hostname of database server
    port - port



Instance Methods [hide private]
 
__init__(self, zem) source code
 
stop(self) source code
 
getFieldList(self) source code

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

Inherited from MySqlSendEventMixin (private): _findByIp, _sendHeartbeat

Class Variables [hide private]
  backend = 'mysql'
  copyattrs = ('username', 'password', 'database', 'host', 'port...
Class Variable Details [hide private]

copyattrs

Value:
('username',
 'password',
 'database',
 'host',
 'port',
 'requiredEventFields',
 'defaultEventId',
 'statusTable',
...