Package org.jivesoftware.smackx.pubsub

Examples of org.jivesoftware.smackx.pubsub.Node.unsubscribe()


   
                if(sub.booleanValue()) { // contains the new value (soll)
                    node.subscribe(jid);
                    System.out.println(jid + " subscribed to " + node.getId());
                } else {
                    node.unsubscribe(jid);
                    System.out.println(jid + " unsubscribed from " + node.getId());
                }
            } catch(Exception ex) {
                ex.printStackTrace();
            }
View Full Code Here


                if (sub.booleanValue()) { // contains the new value (soll)
                    node.subscribe(jid);
                    System.out.println(jid + " subscribed to " + node.getId());
                } else {
                    node.unsubscribe(jid);
                    System.out.println(jid + " unsubscribed from " + node.getId());
                }
            } catch (Exception ex) {
                ex.printStackTrace();
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.