deferred class ADDRESS

Features exported to INTERNALS_HANDLER

The address of a host.

Direct parents

conformant parents

HASHABLE

non-conformant parents

ANY

Known children

conformant children

HOST, IP_ADDRESS, LOCALHOST

Summary

exported features

Details

deferred ip: IP_ADDRESS

The resolved address

ensure

  • conservative: Result = ip

deferred hash_code: INTEGER

The hash-code value of Current.

ensure

  • good_hash_value: Result >= 0

deferred is_equal (other: ADDRESS): 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)