Examples of XMPPErrorTag


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

    public void startHandling(Attributes attr) {
    }

    public Extension build()
    {
        return new XMPPErrorTag(getName());
    }
View Full Code Here

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

  public void addExtension(Extension extension)
  {
    if(extension instanceof XMPPErrorTag)
    {
      XMPPErrorTag tag = (XMPPErrorTag)extension;
      if(!"text".equals(tag.getError())) this.extension = tag;
    }
  }
View Full Code Here

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

//    clearCurrentChars();
//  }

  public Extension build()
  {
    if(!getName().equals("si"))return new XMPPErrorTag(getName(),"http://jabber.org/protocol/si");
    return new IQSi(id,profile,mimeType,form,siprofile);
  }
View Full Code Here

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

  }
 
  private void sendError()
  {
    XMPPError error = new XMPPError("cancel",404);
    error.addError(new XMPPErrorTag("item-not-found"));
    backend.send(new InfoQuery(iq.getFrom(),iq.getID(),error));
  }
View Full Code Here

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

        return message;
    }
  
    private static XMPPError createError(String errorMessage) {
       XMPPError error = new XMPPError("cancel",404);
       error.addError(new XMPPErrorTag(errorMessage,NAMESPACE));
       return error;
    }
View Full Code Here

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

          Log.xmlReceivedError("ibb stream init from unknown");
        }
        else
        {
          XMPPError e = new XMPPError("cancel",501);
          e.addError(new XMPPErrorTag("feature-not-implemented"));
          backend.send(new InfoQuery(iq.getFrom(),iq.getID(),e));
        }
      }
      if(isClose())
      {
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.