Producing messages
To define a new type of message, extend the framework.Model class:
You can dump info about the Model with the framework.Model.dump() function:
For example:
>>> import framework
>>> class MyModel(framework.Model):
>>> self.name = 'whatever'
>>>
>>> model = MyModel()
>>> model.dump()