Documentation of tbotlib functions

tbotlib

event

class tbot_event.events(tb, logfile)

Bases: object

The event class

create_event(pname, name, id, value)

create an event

  • parameters, types, return and return types:
Parameters:
  • arg1 – parent name
  • arg2 – function name
  • arg3 – Event ID
  • arg4 – value for event ID
create_event_log(c, dir, string)

create a log event

  • parameters, types, return and return types:
Parameters:
  • arg1 – connection
  • arg2 – direction (r or w)
  • arg3 – log string
event_flush()
list_backend()

list all registered backends.

ToDo

register_backend()

register a backend.

ToDo