deferred class 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.
deferred function
is_connected: BOOLEAN
deferred function
error: STRING
deferred function
valid_uri (a_uri: STRING): BOOLEAN
deferred function
connect_to (url: URL, read: BOOLEAN, write: BOOLEAN)
deferred procedure
disconnect
deferred procedure
input: INPUT_STREAM
deferred function
output: OUTPUT_STREAM
deferred function
locator (a_uri: STRING): RESOURCE_LOCATOR
deferred function
PROTOCOL is a factory of RESOURCE_LOCATOR
recycle_locator (a_locator: RESOURCE_LOCATOR)
deferred procedure
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.