Package org.apache.ws.pubsub

Examples of org.apache.ws.pubsub.TopicFilter


    }

    public Subscription subscribe(SubscriptionListModel sl, NotificationListModel nl, String xpath, Topic t, java.util.Calendar termtime, boolean  subend){
        try{
            TopicFilter tf = null;
            XPathFilter xf = null;
            if(xpath!=null)
                xf= new XPathFilter(xpath);
            if(t!=null)
                tf= new TopicFilter(t);

            NotificationConsumer c = new GUIConsumer("http://localhost:"+inportL+"/axis/services/NotificationPort",nl);
            SubscriptionEndConsumer ec = new GUIEndConsumer("http://localhost:"+inportL+"/axis/services/SubscriptionEndPort",sl);

            org.apache.ws.pubsub.Subscription s =  nprod.subscribe(c,ec,tf,xf,termtime,true);
View Full Code Here

TOP

Related Classes of org.apache.ws.pubsub.TopicFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.