home
wiki
classes/clusters list
class information
+
Point of view
ANY
ANY
INTERNALS_HANDLER
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
:
IP_ADDRESS
The resolved 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
:
IP_ADDRESS
effective function
top
The resolved address
ensure
conservative:
Result = ip
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)