Package nu.fw.jeti.jabber.elements

Examples of nu.fw.jeti.jabber.elements.IQPrivate


  /**
   * saves preferences (saved with put) to server
   */
  public static void saveToServer()
  {
    backend.send(new InfoQuery("set", new IQPrivate(new JetiPrivateExtension(null, mapMessages))));
  }
View Full Code Here


    this.extension = extension;
  }

  public Extension build()
  {
    Extension e = new IQPrivate((IQXExtension)extension);
    reset();
    return e;
  }
View Full Code Here

    {
      PreferencesPanel pp = (PreferencesPanel) i.next();
      if(pp!=pluginPanel) pp.savePreferences();
    }
    pluginPanel.savePreferences();
    if(Start.applet)backend.send(new InfoQuery("set",new IQPrivate(new nu.fw.jeti.applet.JetiPrivatePreferencesExtension(new Preferences()))));
    else Preferences.save();
  }
View Full Code Here

          public void connectionChanged(boolean online)
          {//get preferences
            System.out.println("get pref");
            if(online)
            {
              backend.send(new InfoQuery("get",new IQPrivate(new JetiPrivatePreferencesExtension())));
              String chatTO = getParameter("CHATTO");
              if(chatTO!=null && chatTO.length()>0)
                {
                  if(Boolean.valueOf(getParameter("SHOWCHATTOASMAIN")).booleanValue())
                  {
View Full Code Here

          }
        }
      }
      public void discoveryInfoResult(JID jid, DiscoveryInfo info) {}
    });
    output.send(new InfoQuery("get",new IQPrivate(new JetiPrivateExtension())));
    output.send(new InfoQuery("get",new IQXRoster()));
    if(show == Presence.NONE)
    {
      show = Presence.AVAILABLE;
      //status = Presence.toLongShow(show);
View Full Code Here

    Avatars avatars = getAvatarInterface();
    if(avatars!=null)
    {
      avatars.getVCard(this);
    }
    send(new InfoQuery("get",new IQPrivate(new JetiPrivateRosterExtension())));
    for(Iterator<JETIListener> j =backend.getListeners(nu.fw.jeti.events.StatusChangeListener.class);j.hasNext();)
    {//online
      ((nu.fw.jeti.events.StatusChangeListener)j.next()).connectionChanged(true);
    }
    sendLoginStatus(5);
View Full Code Here

     
 
  /*-----------------StatusChangeEvents---------------------------*/
  public void connectionChanged(boolean online)
  {
    if (online) backend.send(new InfoQuery("get",new IQPrivate(new ServerLogExtension())));
  }
View Full Code Here

        }catch(RuntimeException e)
        {
          error = true;
        }
      }
      if(!error)backend.send(new InfoQuery("set",new IQPrivate(new ServerLogExtension())));
    }
    else if (iq.getType().equals("error"))
    {
      System.out.println(iq.getErrorDescription());
    }
View Full Code Here

  }
 
    private void storeConferences() {
        backend.send(
            new InfoQuery("set",
                          new IQPrivate(
                              new PrivateBookmarkExtension(urls,
                                                           conferences))));
        addBookmarks(false);
    }
View Full Code Here

//  status change listener
  public void exit(){}
 
  public void connectionChanged(boolean online)
  {
    if(online) backend.send(new InfoQuery("get",new IQPrivate(new PrivateBookmarkExtension())));
  }
View Full Code Here

TOP

Related Classes of nu.fw.jeti.jabber.elements.IQPrivate

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.