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

Class MySqlSendEvent

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

Method Summary
  __init__(self, zem)
  getFieldList(self)
  stop(self)
Inherited from MySqlSendEventMixin: applyDeviceContext, applyEventContext, buildClearUpdate, buildDetailInsert, buildInsert, buildStatusInsert, doSendEvent, escape, eventDataMaps, sendEvent, _sendHeartbeat

Class Variable Summary
str backend = 'mysql'
tuple copyattrs = ('username', 'password', 'database', 'host',...

Class Variable Details

backend

Type:
str
Value:
'mysql'                                                                

copyattrs

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

Generated by Epydoc 2.1 on Thu Aug 16 09:55:11 2007 http://epydoc.sf.net