+
Point of view
All features
deferred class SERVER [C_ -> CONNECTION]
Summary
Overview
features
start (access: ACCESS)
effective procedure
Start a server at the given access point.
start_in_stack (access: ACCESS, a_stack: LOOP_STACK, a_shutdown_handler: PROCEDURE[TUPLE[TUPLE 1[SERVER [C_ -> CONNECTION]]]]): BOOLEAN
effective function
Start the server in the given stack.
set_logger (a_logger: PROCEDURE[TUPLE 1[STRING]])
effective procedure
log (a_message: STRING)
effective procedure
writable attribute
standalone_handler_agent: PROCEDURE[TUPLE[TUPLE 1[SERVER [C_ -> CONNECTION]]]]
effective function
common_start (access: ACCESS): BOOLEAN
effective function
handle_error (error_message: STRING)
deferred procedure
What to do when there was an error
new_connection: C_
deferred function
Create a new connection
stack: LOOP_STACK
writable attribute
writable attribute
connections: INTEGER_32
writable attribute
shutdown_handler: PROCEDURE[TUPLE[TUPLE 1[SERVER [C_ -> CONNECTION]]]]
writable attribute
handle_connect (a_io: SOCKET_INPUT_OUTPUT_STREAM)
effective procedure
Handle a connection to the server.
handle_shutdown (a_server: SOCKET_SERVER_JOB)
effective procedure
Shutdown gracefully when all connections are closed.
standalone_shutdown (a_server: SERVER [C_ -> CONNECTION])
effective procedure