class SOCKET_SERVER_JOB
Summary
Overview
Creation features
Exported features
The following features are inherited from JOB:
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.
prepare (events: EVENTS_SET)
effective procedure
Use events to describe condition that make this job ready to continue.
is_ready (events: EVENTS_SET): BOOLEAN
effective function
Check if this job is ready to continue his work.
continue
effective procedure
Continue to do the job.
restart
effective procedure
Configure the job like the initial state.
priority: INTEGER_32
writable attribute
Never change priority after job inserted in loop_item.
infix "<" (other: JOB): BOOLEAN
effective function