def marshal(self):
    '\n      Implements :func:`autobahn.wamp.interfaces.IMessage.marshal`\n      '
    if self.discard:
        return [Heartbeat.MESSAGE_TYPE, self.incoming, self.outgoing, self.discard]
    else:
        return [Heartbeat.MESSAGE_TYPE, self.incoming, self.outgoing]
Implements :func:`autobahn.wamp.interfaces.IMessage.marshal`
def marshal(self):
    '\n      \n      '
    if self.discard:
        return [Heartbeat.MESSAGE_TYPE, self.incoming, self.outgoing, self.discard]
    else:
        return [Heartbeat.MESSAGE_TYPE, self.incoming, self.outgoing]