Package com.sissi.protocol.iq.auth

Examples of com.sissi.protocol.iq.auth.Auth


    }
  }

  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    Auth auth = protocol.cast(Auth.class);
    AuthCallback callback = this.authCallbacks.get(auth.getMechanism());
    return callback != null ? !callback.auth(auth, context) : !context.write(Failure.INSTANCE_INVALIDMECHANISM).write(Stream.closeGraceFully()).close();
  }
View Full Code Here

TOP

Related Classes of com.sissi.protocol.iq.auth.Auth

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.