\App\NetworkModule\ModelsConnectionManager

Network connection manager

Summary

Methods
Properties
Constants
__construct()
get()
list()
set()
up()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\App\NetworkModule\Models\CommandManager  commandManager) : 

Constructor

Parameters

\App\NetworkModule\Models\CommandManager commandManager

Command manager

Returns

get()

get(\App\NetworkModule\Models\UuidInterface  uuid) : \App\NetworkModule\Models\ConnectionDetail

Returns the detailed network connection entity

Parameters

\App\NetworkModule\Models\UuidInterface uuid

Network connection UUID

Returns

\App\NetworkModule\Models\ConnectionDetail —

Detailed network connection entity

list()

list() : \App\NetworkModule\Models\Connection||string|int

Lists the network connections

Returns

\App\NetworkModule\Models\Connection||string|int —

Network connections

set()

set(\App\NetworkModule\Models\ConnectionDetail  connection, \stdClass  values) : 

Sets the network connection's configuration

Parameters

\App\NetworkModule\Models\ConnectionDetail connection

Detailed network connection entity

\stdClass values

Network connection configuration form values

Throws

\App\NetworkModule\Models\NetworkManagerException

Returns

up()

up(\App\NetworkModule\Models\ConnectionDetail  connection) : 

Activate a connection on the interface

Parameters

\App\NetworkModule\Models\ConnectionDetail connection

Detailed network connection entity

Throws

\App\NetworkModule\Models\NetworkManagerException

Returns