GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
SOCKET_IMPL
+
Point of view
SOCKET_HANDLER
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
RECYCLING_POOL
SOCKET_HANDLER
All features
deferred class SOCKET_IMPL
Summary
top
Direct parents
Inherit list:
SOCKET
Insert list:
DISPOSABLE
,
RECYCLABLE
,
SOCKET_HANDLER
,
SOCKET_PLUG_IN
,
STRING_HANDLER
Known children
Inherit list:
IPV4_SOCKET
,
LOCAL_SOCKET
Overview
top
Exported features
is_connected
:
BOOLEAN
is_remote_connected
:
BOOLEAN
error
:
STRING
read
last_read
:
STRING
write
(data:
STRING
)
disconnect
clear
fd
:
INTEGER_32
set_sync
(a_sync:
BOOLEAN
)
set blocking mode for reading, True is blocking, False nonblocking
sync
:
BOOLEAN
the blocking mode for reading from the socket, True is blocking, False nonblocking
default_buffer_size
:
INTEGER_32
when_disconnected
(a_listener:
PROCEDURE
[
TUPLE 1
[
SOCKET
]])
is_connected
:
BOOLEAN
writable attribute
top
ensure
Result implies is_remote_connected
is_remote_connected
:
BOOLEAN
writable attribute
top
error
:
STRING
writable attribute
top
read
effective procedure
top
require
is_connected
last_read
:
STRING
effective function
top
require
is_connected
write
(data:
STRING
)
effective procedure
top
require
is_connected
data /= Void
disconnect
effective procedure
top
require
is_connected
ensure
not is_connected
not is_remote_connected
clear
effective procedure
top
require
not is_connected
fd
:
INTEGER_32
writable attribute
top
set_sync
(a_sync:
BOOLEAN
)
effective procedure
top
set blocking mode for reading, True is blocking, False nonblocking
ensure
sync = a_sync
sync
:
BOOLEAN
writable attribute
top
the blocking mode for reading from the socket, True is blocking, False nonblocking
default_buffer_size
:
INTEGER_32
is 8192
constant attribute
top
when_disconnected
(a_listener:
PROCEDURE
[
TUPLE 1
[
SOCKET
]])
effective procedure
top
require
a_listener /= Void