class HOST

Features exported to ANY

The host is represented by a name. The name will be resolved by a DNS.

Direct parents

conformant parents

ADDRESS

non-conformant parents

SOCKET_PLUG_IN

Summary

creation features

exported features

Details

make (a_hostname: STRING)

require

  • a_hostname /= Void

hostname: STRING

The name of the host

ip: IP_ADDRESS

The resolved address

ensure

  • conservative: Result = ip

hash_code: INTEGER

The hash-code value of Current.

ensure

  • good_hash_value: Result >= 0

out: STRING

Create a new string containing terse printable representation of current object.

deferred is_equal (other: HOST): BOOLEAN

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)