def marshal(self):
    '\n      Implements :func:`autobahn.wamp.interfaces.IMessage.marshal`\n      '
    details = {}
    if (self.publisher is not None):
        details[u'publisher'] = self.publisher
    if self.kwargs:
        return [Event.MESSAGE_TYPE, self.subscription, self.publication, details, self.args, self.kwargs]
    elif self.args:
        return [Event.MESSAGE_TYPE, self.subscription, self.publication, details, self.args]
    else:
        return [Event.MESSAGE_TYPE, self.subscription, self.publication, details]
Implements :func:`autobahn.wamp.interfaces.IMessage.marshal`
def marshal(self):
    '\n      \n      '
    details = {}
    if (self.publisher is not None):
        details[u'publisher'] = self.publisher
    if self.kwargs:
        return [Event.MESSAGE_TYPE, self.subscription, self.publication, details, self.args, self.kwargs]
    elif self.args:
        return [Event.MESSAGE_TYPE, self.subscription, self.publication, details, self.args]
    else:
        return [Event.MESSAGE_TYPE, self.subscription, self.publication, details]