indexing
description: "Information about proxies"
status: "See notice at end of class"
author: "Patrick Schoenbach"
date: "$Date$"
revision: "$Revision$"
class interface
PROXY_INFORMATION
create
make (h: STRING; p: INTEGER)
hp
require
host_not_empty: h /= void and then not h.is_empty
host_valid: proxy_host_ok (h)
port_number_non_negative: p >= 0
ensure
host_set: host = h
port_set: port = p
feature
host: STRING
port: INTEGER
feature
proxy_host_ok (h: STRING): BOOLEAN
h
HOST_VALIDITY_CHECKER
feature
set_host (h: STRING)
h
require
host_not_empty: h /= void and then not h.is_empty
host_valid: proxy_host_ok (h)
ensure
host_set: host = h
set_port (p: INTEGER)
p
require
port_non_negative: p >= 0
ensure
port_set: port = p
invariant
host_not_empty: host /= void and then not host.is_empty
host_valid: proxy_host_ok (host)
port_non_negative: port >= 0
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- PROXY_INFORMATION