Package nu.fw.jeti.jabber.elements

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


  {
    if (packet instanceof StreamError) streamError((StreamError)packet);
    else if(authenticationId.equals(packet.getID())) authenticated((InfoQuery)packet);
    else if(packet instanceof InfoQuery)
    {
        IQExtension extension = packet.getIQExtension();
      if(extension instanceof IQAuth)
      {
        if(((InfoQuery)packet).getType().equals("error"))
        {
          sendLoginError(packet.getErrorDescription());
View Full Code Here


    {
      public void iqResult(InfoQuery iq)
      {
        if(iq.getType().equals("result"))
        {
          IQExtension e = iq.getIQExtension();
          if(e instanceof Socks5Extension)
          {
            JID streamHostJID = ((Socks5Extension)e).getStreamHostUsed();
            if(streamHostJID!=null)
            {
View Full Code Here

      {
        backend.send(new InfoQuery("get", new VCard()),new IQResultListener()
        {
          public void iqResult(InfoQuery iq)
          {
            IQExtension iqe = iq.getIQExtension();
            if(iqe instanceof VCard)
            {
              ((VCard)iqe).execute(iq, backend);
            }
            else if (iq.getType().equals("result"))
View Full Code Here

      respond((ChallengePacket)packet);
    }
    else if (packet instanceof InfoQuery)
    {
      InfoQuery infoquery = (InfoQuery)packet;
      IQExtension iq = infoquery.getIQExtension();
      if(iq instanceof IQBind)
      {
        if (infoquery.getType().equals("result"))
        {
          jid = ((IQBind)iq).getJID();
View Full Code Here

TOP

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

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.