Read a method from the peer.

def read_method(self):
        """
        Read a method from the peer.

        """
        self._next_method()
        m = self.queue.get()
        if isinstance(m, Exception):
            raise m
        return m