Examples of InfoQuery


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

  /**
   * 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

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

    else
    {
      if(backend.isPasswordValid(txtOldPassword.getText()))
      {
        //TODO add iq listener that changes password in profile if set
        backend.send(new InfoQuery(new JID(backend.getMyJID().getDomain())
            ,"set",new IQRegister(
            backend.getMyJID().getUser(),txtNewPassword1.getText())));
        this.dispose();
      }
    }
View Full Code Here

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

    {
      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

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

    }
    else
    {
      //if(checkBox.isSelected())  backend.sendRemove(from,key);
      //else backend.sendRegister(map,from,key);
      if(checkBox.isSelected())  backend.send(new InfoQuery(from,"set",new IQRegister(true,null)));
      else backend.send(new InfoQuery(from,"set",new IQRegister(false,tmap)));
      this.dispose();
    }
  }
View Full Code Here

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

    }
  }
 
  public void sendForm(XData xdata)
  {
    backend.send(new InfoQuery(from,"set",new IQRegister(xdata)));
    this.dispose();    
  }
View Full Code Here

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

    this.dispose();    
  }
 
  public void cancelForm()
  {
    backend.send(new InfoQuery(from,"set",new IQRegister(new XData("cancel"))));
    this.dispose();
  }
View Full Code Here

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

      List list =(List) capabilities.get(node.substring(node.lastIndexOf('#')+1,node.length()));
      if(list!=null) returnInfo = new IQDiscoInfo(node,identities,list);
    }
    else returnInfo = new IQDiscoInfo(node,identities,features);
   
    backend.send(new InfoQuery(iq.getFrom(),"result",iq.getID(),returnInfo));
    }
View Full Code Here

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

    JList theList = (JList)e.getSource();
    if (!theList.isSelectionEmpty())
    {
      registerJID = (JID)services.get(theList.getSelectedValue());
        if(registerJID!=null) backend.send(new InfoQuery(registerJID,"get",backend.getIdentifier(),new IQRegister()));
    }
    theList.clearSelection();
  }
View Full Code Here

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

          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

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

        socket = null; //clear socket reference
        sendLoginStatus(3);
        this.connectionID = connectionID;
        System.out.println(connectionID);
  //      TODO remove lowercase if filetransfer bug fixed
        output.send(new InfoQuery(null,"get",new IQAuth(loginInfo.getUsername().toLowerCase(),null,null)));
        sendLoginMessage(I18N.gettext("main.loginstatus.Getting_available_login_methods")+"...");
      }
    }
   
  }
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.