Package nginx.clojure.net

Examples of nginx.clojure.net.NginxClojureSocketImpl


      switch (tag) {
      case POST_EVENT_TYPE_HANDLE_RESPONSE:
        return handleResponse(data);
      case POST_EVENT_TYPE_CLOSE_SOCKET:
        try {
          NginxClojureSocketImpl s = (NginxClojureSocketImpl) POSTED_EVENTS_DATA.remove(data);
          s.closeByPostEvent();
          return NGX_OK;
        }catch (Throwable e) {
          log.error("handle post close event error", e);
          return NGX_HTTP_INTERNAL_SERVER_ERROR;
        }
View Full Code Here

TOP

Related Classes of nginx.clojure.net.NginxClojureSocketImpl

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.