Updated has_incoming_data comment.

This commit is contained in:
2016-10-05 16:19:48 +02:00
parent 71a98f3c28
commit b4fd04ad9f
2 changed files with 4 additions and 0 deletions

View File

@@ -318,6 +318,8 @@ feature -- Status Report
end end
has_incoming_data: BOOLEAN has_incoming_data: BOOLEAN
-- Check if Current has available data to be read.
-- note: no data will not be removed from the queue.
do do
if attached {TCP_STREAM_SOCKET} socket as l_socket then if attached {TCP_STREAM_SOCKET} socket as l_socket then
Result := l_socket.has_incoming_data Result := l_socket.has_incoming_data

View File

@@ -106,6 +106,8 @@ feature -- Output
feature -- Status report feature -- Status report
has_incoming_data: BOOLEAN has_incoming_data: BOOLEAN
-- Check if Current has available data to be read.
-- note: no data will not be removed from the queue.
require require
socket_exists: exists socket_exists: exists
do do