def doGetNextHop(self, spec, theID, uniqBits, expectedClassValue, expectedUniqBits): # Build an envelope envelope = dict() envelope['destination'] = spec # Build an ID theID = self.buildNodeId(theID, uniqBits) nextID = ClassLookup.getNextHop(theID, envelope) return str(nextID)