Publishes a message

def publish(self, message_type, client_id, client_storage, *args, **kwargs):
        """
        Publishes a message
        """
        p = self.pack(message_type, client_id, client_storage, args, kwargs)
        self.client.publish(self.channel, p)