Package es.udc.pfc.xmpp.xml

Examples of es.udc.pfc.xmpp.xml.XMLElement


      case DISCONNECTED:
        throw new Exception("received DISCONNECTED");
      }
    }
    else if (e.getMessage() instanceof XMLElement) {
      final XMLElement element = (XMLElement) e.getMessage();
     
      switch (status) {
      case AUTHENTICATE:
        if (!"handshake".equals(element.getTagName()))
          throw new Exception("expected handshake");
        status = Status.READY;
        System.out.println("logged in");
       
        ctx.getPipeline().get(XMPPStreamHandler.class).loggedIn();
View Full Code Here

TOP

Related Classes of es.udc.pfc.xmpp.xml.XMLElement

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.