def __init__(self,
              dispatchtable,
              logtimes=False,
              encryption_required=True):
     'Constructor for MessageDispatcher - requires a dispatch table as a parameter'
     self.dispatchtable = dispatchtable
     self.default = DispatchTarget()
     self.io = None
     self.dispatchcount = 0
     self.logtimes = logtimes or CMAdb.debug
     self.encryption_required = encryption_required