Exemplo n.º 1
0
    def __init__(self, argv):
        """
        main method
        @param argv: values of inline arguments
        """

        self.config = Configuration()
        args_ret = self.args(argv, self.config)
        self.pub = Publisher(self.config)
        print str(self.pub.publish()), 'messages procesed'