deferred class TCP_PROTOCOL
Summary
Class invariant
Overview
Features
  • recycle
    Do whatever needs to be done to free resources or recycle other objects when recycling this one
  • dispose
    Action to be executed just before garbage collection reclaims an object.
error: STRING
writable attribute
valid_uri (a_uri: STRING): BOOLEAN
effective function
sync: BOOLEAN
writable attribute
set_sync (a_sync: BOOLEAN) assign sync
effective procedure
standard_port: INTEGER_32
deferred function
connect_to (url: URL, read: BOOLEAN, write: BOOLEAN)
effective procedure
locator (a_uri: STRING): NETWORK_RESOURCE_LOCATOR
effective function
PROTOCOL is a factory of RESOURCE_LOCATOR
recycle_locator (a_locator: RESOURCE_LOCATOR)
effective procedure
tcp_connect_to (ios: SOCKET_INPUT_OUTPUT_STREAM, url: URL, read: BOOLEAN, write: BOOLEAN)
deferred procedure
once function
deferred function
is_connected: BOOLEAN
deferred function
disconnect
deferred procedure
input: INPUT_STREAM
deferred function
output: OUTPUT_STREAM
deferred function
recycle
effective procedure
Do whatever needs to be done to free resources or recycle other objects when recycling this one
dispose
effective procedure
Action to be executed just before garbage collection reclaims an object.
is_relative_uri (a_uri: STRING): BOOLEAN
effective function
is_absolute_uri (a_uri: STRING): BOOLEAN
effective function
True if a_uri contains a correctly formatted network URI (i.e. everything except the protocol scheme)
once function