Register application with dispatcher

def registerContextEngineId(self, contextEngineId, pduTypes, processPdu):
        """Register application with dispatcher"""
        # 4.3.2 -> no-op

        # 4.3.3
        for pduType in pduTypes:
            k = contextEngineId, pduType
            if k in self._appsRegistration:
                raise error.ProtocolError(
                    'Duplicate registration %r/%s' % (contextEngineId, pduType))

            # 4.3.4
            self._appsRegistration[k] = processPdu

        debug.logger & debug.FLAG_DSP and debug.logger(
            'registerContextEngineId: contextEngineId %r pduTypes '
            '%s' % (contextEngineId, pduTypes))