indexing
description: "Asynchronous socket polling, timer-based."
status: "See notice at end of class"
date: "$Date$"
revision: "$Revision$"
deferred class interface
SOCKET_POLLER
feature
is_auto_discard: BOOLEAN
is_poll_all: BOOLEAN
is_poller_active: BOOLEAN
set_active (a_poll_delay: INTEGER)
a_poll_delay
require
a_poll_delay_positive_and_not_null: a_poll_delay > 0
poller_inactive: not is_poller_active
set_auto_discard
set_inactive
require
poller_active: is_poller_active
set_no_discard
set_poll_all
set_poll_one
feature
make
make_active (a_poll_delay: INTEGER)
a_poll_delay
feature
add_accept_call_back (a_stream_socket: STREAM_SOCKET; a_command: POLL_COMMAND; an_argument: ANY)
a_command
a_stream_socket
require
stream_socket_open_read: a_stream_socket.is_open_read
command_not_void: a_command /= void
add_readable_call_back (a_socket: SOCKET; a_command: POLL_COMMAND; an_argument: ANY)
a_command
a_socket
require
socket_open_read: a_socket.is_open_read
command_not_void: a_command /= void
remove_accept_call_back (a_stream_socket: STREAM_SOCKET)
a_stream_socket
remove_readable_call_back (a_socket: SOCKET)
a_socket
wipe_out_all_call_backs
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- SOCKET_POLLER