GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
NETWORK_CONNECTION_OCCURRED
+
Point of view
All features
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
EVENTS_SET
All features
class NETWORK_CONNECTION_OCCURRED
Summary
top
Event: a new network connection was established to the given
server
Direct parents
Inherit list:
EVENT_DESCRIPTOR
Overview
top
Creation features
make
(a_server:
SOCKET_SERVER
)
Features
expect
(events:
EVENTS_SET
)
occurred
(events:
EVENTS_SET
):
BOOLEAN
server
:
SOCKET_SERVER
make
(a_server:
SOCKET_SERVER
)
expected
(events:
EVENTS_SET
):
BOOLEAN
True if the event is expected by the
events
set
is_expected
:
BOOLEAN
True if the event is expected by any
EVENTS_SET
reset
(events:
EVENTS_SET
)
set_expected
(events:
EVENTS_SET
)
set_expected_
(events:
EVENTS_SET
):
BOOLEAN
unset_expected_
(events:
EVENTS_SET
):
BOOLEAN
expected_array
:
FAST_ARRAY
[
EVENTS_SET
]
expect
(events:
EVENTS_SET
)
effective procedure
top
require
not expected(events)
events /= Void
ensure
expected(events)
occurred
(events:
EVENTS_SET
):
BOOLEAN
effective function
top
require
expected(events)
events /= Void
server
:
SOCKET_SERVER
writable attribute
top
make
(a_server:
SOCKET_SERVER
)
effective procedure
top
require
not
is_expected
a_server /= Void
ensure
server
= a_server
expected
(events:
EVENTS_SET
):
BOOLEAN
effective function
top
True if the event is expected by the
events
set
ensure
Result implies
is_expected
is_expected
:
BOOLEAN
effective function
top
True if the event is expected by any
EVENTS_SET
reset
(events:
EVENTS_SET
)
effective procedure
top
require
expected
(events)
action:
unset_expected_
(events)
ensure
not
expected
(events)
set_expected
(events:
EVENTS_SET
)
effective procedure
top
require
not
expected
(events)
action:
set_expected_
(events)
ensure
expected
(events)
set_expected_
(events:
EVENTS_SET
):
BOOLEAN
effective function
top
require
not
expected
(events)
ensure
expected
(events)
Result
unset_expected_
(events:
EVENTS_SET
):
BOOLEAN
effective function
top
require
expected
(events)
ensure
not
expected
(events)
Result
expected_array
:
FAST_ARRAY
[
EVENTS_SET
]
writable attribute
top