Handler definition

There are three kind of callbacks you must implement for each service generated with the -domHandler option.