GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
PROTOCOLS
+
Point of view
ANY
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
All features
expanded class PROTOCOLS
Summary
top
The
PROTOCOL
factory. You may register your own protocols here.
See
register_protocol_factory
Direct parents
Insert list:
ANY
Overview
top
Exported features
register_protocol_factory
(a_protocol_name:
ABSTRACT_STRING
, a_factory:
FUNCTION
[
TUPLE
,
PROTOCOL
])
known_protocol
(a_protocol_name:
ABSTRACT_STRING
):
BOOLEAN
protocol
(a_protocol_name:
ABSTRACT_STRING
):
PROTOCOL
recycle
(a_protocol:
PROTOCOL
)
register_protocol_factory
(a_protocol_name:
ABSTRACT_STRING
, a_factory:
FUNCTION
[
TUPLE
,
PROTOCOL
])
effective procedure
top
require
a_protocol_name.count > 0
not
known_protocol
(a_protocol_name)
ensure
known_protocol
(a_protocol_name)
known_protocol
(a_protocol_name:
ABSTRACT_STRING
):
BOOLEAN
effective function
top
require
a_protocol_name.count > 0
protocol
(a_protocol_name:
ABSTRACT_STRING
):
PROTOCOL
effective function
top
require
a_protocol_name.count > 0
known_protocol
(a_protocol_name)
ensure
not Result.is_connected
recycle
(a_protocol:
PROTOCOL
)
effective procedure
top
require
not a_protocol.is_connected