Home
last modified time | relevance | path

Searched refs:init (Results 26 – 49 of 49) sorted by relevance

12

/unit/pkg/deb/debian/
H A Dunit.init20 . /lib/lsb/init-functions
/unit/src/java/nginx/unit/websocket/server/
H A DWsFilter.java40 public void init() throws ServletException { in init() method in WsFilter
H A DWsHttpUpgradeHandler.java89 public void init(WebConnection connection) { in init() method in WsHttpUpgradeHandler
H A DLocalStrings.properties40 … to configure the WebSocket HttpUpgradeHandler before the container calls init(). Usually, this me…
H A DUpgradeUtil.java185 wsHandler.init(null); in doUpgrade()
/unit/src/python/
H A Dnxt_python_asgi.c143 nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) in nxt_python_asgi_init() argument
191 init->callbacks.request_handler = nxt_py_asgi_request_handler; in nxt_python_asgi_init()
192 init->callbacks.data_handler = nxt_py_asgi_http_data_handler; in nxt_python_asgi_init()
193 init->callbacks.websocket_handler = nxt_py_asgi_websocket_handler; in nxt_python_asgi_init()
194 init->callbacks.close_handler = nxt_py_asgi_close_handler; in nxt_python_asgi_init()
195 init->callbacks.quit = nxt_py_asgi_quit; in nxt_python_asgi_init()
196 init->callbacks.shm_ack_handler = nxt_py_asgi_shm_ack_handler; in nxt_python_asgi_init()
197 init->callbacks.add_port = nxt_py_asgi_add_port; in nxt_python_asgi_init()
198 init->callbacks.remove_port = nxt_py_asgi_remove_port; in nxt_python_asgi_init()
1563 nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) in nxt_python_asgi_init() argument
H A Dnxt_python_wsgi.c184 nxt_python_wsgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) in nxt_python_wsgi_init() argument
197 obj = nxt_python_create_environ(init->data); in nxt_python_wsgi_init()
205 init->callbacks.request_handler = nxt_python_request_handler; in nxt_python_wsgi_init()
/unit/src/wasm/
H A Dnxt_wasm.h128 int (*init)(nxt_wasm_ctx_t *ctx); member
H A Dnxt_wasm.c297 err = nxt_wops->init(&nxt_wasm_ctx); in nxt_wasm_setup()
H A Dnxt_rt_wasmtime.c429 .init = nxt_wasmtime_init,
/unit/src/
H A Dnxt_main_process.c452 nxt_process_init_t *init; in nxt_main_start_process_handler() local
483 init = nxt_process_init(process); in nxt_main_start_process_handler()
485 *init = nxt_proto_process; in nxt_main_start_process_handler()
508 init->name = (const char *) start; in nxt_main_start_process_handler()
519 p = nxt_cpymem(p, init->name, app_conf->name.length); in nxt_main_start_process_handler()
972 nxt_process_init_t init; in nxt_main_process_sigchld_handler() local
1073 init = *(nxt_process_init_t *) nxt_process_init(process); in nxt_main_process_sigchld_handler()
1077 if (init.restart) { in nxt_main_process_sigchld_handler()
1078 ret = nxt_process_init_start(task, init); in nxt_main_process_sigchld_handler()
1080 nxt_alert(task, "failed to restart %s", init.name); in nxt_main_process_sigchld_handler()
H A Dnxt_application.h173 nxt_unit_init_t *init, nxt_common_app_conf_t *conf);
H A Dnxt_process.h192 nxt_int_t nxt_process_init_start(nxt_task_t *task, nxt_process_init_t init);
H A Dnxt_controller.c320 nxt_controller_init_t *init; in nxt_controller_start() local
332 init = &data->controller; in nxt_controller_start()
335 if (init->certs != NULL) { in nxt_controller_start()
336 nxt_cert_info_init(task, init->certs); in nxt_controller_start()
337 nxt_cert_store_release(init->certs); in nxt_controller_start()
342 if (init->scripts != NULL) { in nxt_controller_start()
343 nxt_script_info_init(task, init->scripts); in nxt_controller_start()
344 nxt_script_store_release(init->scripts); in nxt_controller_start()
348 json = &init->conf; in nxt_controller_start()
H A Dnxt_unit.c427 nxt_unit_init(nxt_unit_init_t *init) in nxt_unit_init() argument
438 lib = nxt_unit_create(init); in nxt_unit_init()
448 if (init->ready_port.id.pid != 0 in nxt_unit_init()
449 && init->ready_stream != 0 in nxt_unit_init()
450 && init->read_port.id.pid != 0) in nxt_unit_init()
452 ready_port = init->ready_port; in nxt_unit_init()
455 read_port = init->read_port; in nxt_unit_init()
456 lib->log_fd = init->log_fd; in nxt_unit_init()
586 nxt_unit_create(nxt_unit_init_t *init) in nxt_unit_create() argument
612 lib->unit.data = init->data; in nxt_unit_create()
[all …]
H A Dnxt_runtime.c499 nxt_process_init_t *init; in nxt_runtime_stop_app_processes() local
503 init = nxt_process_init(process); in nxt_runtime_stop_app_processes()
505 if (init->type == NXT_PROCESS_APP in nxt_runtime_stop_app_processes()
506 || init->type == NXT_PROCESS_PROTOTYPE) in nxt_runtime_stop_app_processes()
/unit/src/nodejs/unit-http/
H A Dunit.h14 static napi_value init(napi_env env, napi_value exports);
H A Dunit.cpp168 Unit::init(napi_env env, napi_value exports) in init() function in Unit
/unit/test/java/include/
H A Dapp.java39 public void init(ServletConfig sc) in init() method in app
/unit/test/java/forward/
H A Dapp.java38 public void init(ServletConfig sc) in init() method in app
/unit/pkg/contrib/
H A DMakefile68 $(GIT) init --bare "$(@:.tar.xz=)" && \
/unit/src/java/nginx/unit/websocket/
H A DWsWebSocketContainer.java919 tmf.init(ks); in createSSLEngine()
921 sslContext.init(null, tmf.getTrustManagers(), null); in createSSLEngine()
923 sslContext.init(null, null, null); in createSSLEngine()
H A DWsRemoteEndpointImplBase.java653 instance.init(endpointConfig); in setEncoders()
/unit/src/java/nginx/unit/
H A DContext.java1954 private void init() throws ServletException
1998 servlet_.init((ServletConfig) this);
2009 init();
2086 init();
2387 public void init() throws ServletException
2403 filter_.init((FilterConfig) this);
2561 fr.init();

12