def unpack(self, message):
if not message:<EOL><INDENT>raise FrameError("<STR_LIT>" % message)<EOL><DEDENT>msg = unpack_frame(message)<EOL>self.cmd = msg['<STR_LIT>']<EOL>self.headers = msg['<STR_LIT>']<EOL>self.body = msg['<STR_LIT:body>']<EOL>return msg<EOL>
Called to extract a STOMP message into this instance.

        message:
            This is a text string representing a valid
            STOMP (v1.1) message.

        This method uses unpack_frame(...) to extract the
        information, before it is assigned internally.

        retuned:
            The result of the unpack_frame(...) call.