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

# Module MySqlSendEvent

source code

Classes | [hide private]
MySqlSendEventMixin Mix-in class that takes a MySQL db connection and builds inserts that sends the event to the backend.
MySqlSendEvent Class that can connect to backend must be passed:...
MySqlSendEventThread Wrapper around MySQL database connection

Functions | [hide private]
string |
execute(cursor, statement) Run a MySQL statement and return the results. | source code

Variables | [hide private]
| __doc__ = `"""MySqlSendEv`...``
| log = `logging.getLogger("zen.Events")`

Function Details | [hide private]

### execute(cursor, statement) | source code
Run a MySQL statement and return the results. If there's an error, logs it then re-raises the exception. Parameters: `cursor` (database connection) - an open connection to MySQL `statement` (string) - MySQL statement Returns: string result of the statement

Variables Details | [hide private]

  ### __doc__ Value:
      """MySqlSendEvent
      Populate the events database with incoming events
      """