First step to improve a bit error handling related to socket disconnection.

Mainly in standalone connector for now.
This commit is contained in:
2015-04-01 17:29:53 +02:00
parent 9d20e85c03
commit 89e26519e4
12 changed files with 82 additions and 13 deletions

View File

@@ -79,6 +79,15 @@ feature -- Status report
Result := target.is_open_write
end
feature -- Status report
is_available: BOOLEAN
-- <Precursor>
-- FIXME: see how "standalone" connection is doing that.
do
Result := target.is_open_read
end
feature -- Basic operations
flush
@@ -86,7 +95,7 @@ feature -- Basic operations
end
note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
copyright: "2011-2015, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software