<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setFDs(self):
 """ Iterator for file descriptors. Seperated from launchworkers for clarity and readability. """

        # 0 corresponds to stdin, 1 to stdout, 2 to stderr
        self.childFDs = {0: 0, 1: 1, 2: 2}
        self.fds = {}
        for name in self.servers:
            self.port = self.hendrix.get_port(name)
            fd = self.port.fileno()
            self.childFDs[fd] = fd
            self.fds[name] = fd