Eiffel Media API
Overview Cluster Class Classes Index      Previous Next      Top Features

em

Class EM_NETWORK_SUBSYSTEM


Direct ancestors

EM_SUBSYSTEM, SDL_NET_FUNCTIONS_EXTERNAL, NET2_FUNCTIONS_EXTERNAL

Creation

Features

Invariants

indexing

description

Singleton representing the network subsytem.
Use EM_SHARED_SUBSYSTEMS to access this class.

date

$Date: 2005/10/23 08:56:58 $

revision

$Revision: 1.7 $

class

EM_NETWORK_SUBSYSTEM

inherit

EM_SUBSYSTEM

create {EM_SHARED_SUBSYSTEMS}

make
ensure
not_enabled: not is_enabled

feature -- Access

sockets: EM_SOCKETS

-- Global sockets

feature -- Status report

is_enabled: BOOLEAN

-- Is the thread subsystem enabled?

-- (From EM_SUBSYSTEM)

feature -- Subsystem management

base_disable

-- Disable basic systems.

-- (From EM_SUBSYSTEM)

base_enable

-- Enable basic systems.

-- (From EM_SUBSYSTEM)

disable

-- Disable EiffelMedia thread subsystem.

-- (From EM_SUBSYSTEM)

require
enabled: is_enabled
enable

-- Enable EiffelMedia network subsystem.

-- (From EM_SUBSYSTEM)

require
not_enabled: not is_enabled
ensure then
enabled: is_enabled
enabled_subsystem_count: DS_CELL [INTEGER]

-- Count of enabled subsystems

-- (From EM_SUBSYSTEM)

invariant


-- From ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)

end