

def serve(self):
    'serves a single request (may block)'
    (type, seq, data) = self.channel.recv()
    if (type == FRAME_RESULT):
        self.dispatch_result(seq, self.box.unpack(data))
    elif (type == FRAME_REQUEST):
        self.dispatch_request(seq, *self.box.unpack(data))
    elif (type == FRAME_EXCEPTION):
        type.dispatch_exception(seq, self.box.unpack(data))
    else:
        raise ValueError(('invalid frame type (%d)' % (type,)))

dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/Rpyc/Connection.py Connection.serve/VarMisuse@90/115 `self`->`type`