+
Point of view
All features
class STREAM_PROTOCOL
Summary
A protocol used for internal purposes: implementation of STREAM.url
Direct parents
Inherit list: PROTOCOL
Class invariant
Overview
Creation features
{URL}
Features
{ANY}
{URL_VALIDITY}
{URL}
{}
{RECYCLING_POOL}
  • 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.
effective function
{ANY}
is_connected: BOOLEAN
effective function
{ANY}
error: STRING
effective function
{ANY}
valid_uri (a_uri: STRING): BOOLEAN
effective function
connect_to (url: URL, read: BOOLEAN, write: BOOLEAN)
effective procedure
{URL}
disconnect
effective procedure
{URL}
input: INPUT_STREAM
effective function
{URL}
output: OUTPUT_STREAM
effective function
{URL}
locator (a_uri: STRING): RESOURCE_LOCATOR
effective function
{URL}
PROTOCOL is a factory of RESOURCE_LOCATOR
recycle_locator (a_locator: RESOURCE_LOCATOR)
effective procedure
{URL}
make (a_stream: STREAM)
effective procedure
{}
stream: STREAM
writable attribute
{}
instream: INPUT_STREAM
writable attribute
{}
outstream: OUTPUT_STREAM
writable attribute
{}
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.