class SOCKET_SERVER_JOB
Summary
Overview
creation features
exported features
when_connect (handler: PROCEDURE[TUPLE 1[SOCKET_INPUT_OUTPUT_STREAM]])
effective procedure
What to do when connection happens (i.e. some client tries to connect to the server).
when_shutdown (handler: PROCEDURE[TUPLE 1[SOCKET_SERVER_JOB]])
effective procedure
Should be more accurately be called when_shutdown_or_halt.
shutdown
effective procedure
Wait for the connections to finish, then stop the server.
halt
effective procedure
done: BOOLEAN
writable attribute
done returns True when the job is finished.