def __next__(self):
msg = self.extract_frame()<EOL>if not msg:<EOL><INDENT>raise StopIteration()<EOL><DEDENT>return msg<EOL>
Return the next STOMP message in the buffer (supporting iteration).

@rtype: L{stomp.frame.Frame}