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

# Class MySqlSendEvent

source code

    MySqlSendEventMixin --+
                          |
                         MySqlSendEvent

    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) To be implemented by the subclass | source code
list |
getFieldList(self) Return the list of fields | source code
Inherited from `MySqlSendEventMixin`: `applyDeviceContext`, `applyEventContext`, `buildClearUpdate`, `buildDetailInsert`, `buildInsert`, `buildStatusInsert`, `doSendEvent`, `escape`, `eventDataMaps`, `getNetworkRoot`, `sendEvent` Inherited from `MySqlSendEventMixin` (private): `_findByIp`, `_sendHeartbeat`

Class Variables | [hide private]
| backend = `"mysql"`
| copyattrs = `"username", "password", "database", "host", "port"`...``

Method Details | [hide private]

### getFieldList(self) | source code
Return the list of fields Returns: list list of fields

Class Variable Details | [hide private]

  ### copyattrs Value:
      "username", "password", "database", "host", "port", "requiredEventFiel
      ds", "defaultEventId", "statusTable", "deviceField", "componentField",
       "eventClassField", "firstTimeField", "lastTimeField", "countField", "
      detailTable",