GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
HOST
+
Point of view
ANY
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
ACCESS
ADDRESS
All features
class HOST
Summary
top
The host is represented by a name. The name will be resolved by a DNS.
Direct parents
Inherit list:
ADDRESS
Insert list:
SOCKET_PLUG_IN
Known children
Inherit list:
LOCALHOST
Overview
top
Creation features
make
(a_hostname:
STRING
)
Exported features
hostname
:
STRING
The name of the host
ip
:
IPV4_ADDRESS
hash_code
:
INTEGER_32
The hash-code value of
Current
.
out
:
STRING
Create a new string containing terse printable representation of current object.
error
:
STRING
If there was an error
is_equal
(other: HOST):
BOOLEAN
Is
other
attached to an object considered equal to current object?
hostname
:
STRING
writable attribute
top
The name of the host
ip
:
IPV4_ADDRESS
effective function
top
hash_code
:
INTEGER_32
effective function
top
The hash-code value of
Current
.
ensure
good_hash_value:
Result >= 0
out
:
STRING
effective function
top
Create a new string containing terse printable representation of current object.
error
:
STRING
writable attribute
top
If there was an error
is_equal
(other: HOST):
BOOLEAN
deferred function
top
Is
other
attached to an object considered equal to current object?
require
other /= Void
ensure
Result implies
hash_code
= other.
hash_code
commutative:
generating_type = other.generating_type implies Result = other.is_equal(Current)