+
Point of view
All features
deferred class SERVER [C_ -> CONNECTION]
Summary
A standard server. Abstracts out most of the nitty-gritty.
Direct parents
Insert list: ANY
Known children
Insert list: HTTP_SERVER
Overview
Features
{ANY}
{}
{}
{}
{}
start (access: ACCESS)
effective procedure
{ANY}
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
{ANY}
Start the server in the given stack.
set_logger (a_logger: PROCEDURE[TUPLE 1[ABSTRACT_STRING]])
effective procedure
{ANY}
log (a_message: ABSTRACT_STRING)
effective procedure
{ANY}
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
{}