def gotGlobalRequest(self, requestType, data):
        # XXX should this use method dispatch?
        requestType = requestType.replace('-','_')
        f = getattr(self, "global_%s" % requestType, None)
        if not f:
            return 0
        return f(data)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/avatar.py/ConchUser.gotGlobalRequest/original