-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
795 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ | |
Devices module | ||
""" | ||
|
||
__version__ = "0.64.0" | ||
__version__ = "0.65.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php declare(strict_types = 1); | ||
|
||
/** | ||
* AfterConnectorStartEvent.php | ||
* | ||
* @license More in license.md | ||
* @copyright https://www.fastybird.com | ||
* @author Adam Kadlec <adam.kadlec@fastybird.com> | ||
* @package FastyBird:DevicesModule! | ||
* @subpackage Events | ||
* @since 0.65.0 | ||
* | ||
* @date 22.06.22 | ||
*/ | ||
|
||
namespace FastyBird\DevicesModule\Events; | ||
|
||
use FastyBird\Metadata\Entities as MetadataEntities; | ||
use Symfony\Contracts\EventDispatcher; | ||
|
||
/** | ||
* Event fired after connector has been started | ||
* | ||
* @package FastyBird:DevicesModule! | ||
* @subpackage Events | ||
* | ||
* @author Adam Kadlec <adam.kadlec@fastybird.com> | ||
*/ | ||
class AfterConnectorStartEvent extends EventDispatcher\Event | ||
{ | ||
|
||
/** @var MetadataEntities\Modules\DevicesModule\IConnectorEntity */ | ||
private MetadataEntities\Modules\DevicesModule\IConnectorEntity $connector; | ||
|
||
/** | ||
* @param MetadataEntities\Modules\DevicesModule\IConnectorEntity $connector | ||
*/ | ||
public function __construct( | ||
MetadataEntities\Modules\DevicesModule\IConnectorEntity $connector | ||
) { | ||
$this->connector = $connector; | ||
} | ||
|
||
/** | ||
* @return MetadataEntities\Modules\DevicesModule\IConnectorEntity | ||
*/ | ||
public function getConnector(): MetadataEntities\Modules\DevicesModule\IConnectorEntity | ||
{ | ||
return $this->connector; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php declare(strict_types = 1); | ||
|
||
/** | ||
* AfterConnectorTerminateEvent.php | ||
* | ||
* @license More in license.md | ||
* @copyright https://www.fastybird.com | ||
* @author Adam Kadlec <adam.kadlec@fastybird.com> | ||
* @package FastyBird:DevicesModule! | ||
* @subpackage Events | ||
* @since 0.65.0 | ||
* | ||
* @date 22.06.22 | ||
*/ | ||
|
||
namespace FastyBird\DevicesModule\Events; | ||
|
||
use FastyBird\Metadata\Entities as MetadataEntities; | ||
use Symfony\Contracts\EventDispatcher; | ||
|
||
/** | ||
* Event fired after connector has been terminated | ||
* | ||
* @package FastyBird:DevicesModule! | ||
* @subpackage Events | ||
* | ||
* @author Adam Kadlec <adam.kadlec@fastybird.com> | ||
*/ | ||
class AfterConnectorTerminateEvent extends EventDispatcher\Event | ||
{ | ||
|
||
/** @var MetadataEntities\Modules\DevicesModule\IConnectorEntity */ | ||
private MetadataEntities\Modules\DevicesModule\IConnectorEntity $connector; | ||
|
||
/** | ||
* @param MetadataEntities\Modules\DevicesModule\IConnectorEntity $connector | ||
*/ | ||
public function __construct( | ||
MetadataEntities\Modules\DevicesModule\IConnectorEntity $connector | ||
) { | ||
$this->connector = $connector; | ||
} | ||
|
||
/** | ||
* @return MetadataEntities\Modules\DevicesModule\IConnectorEntity | ||
*/ | ||
public function getConnector(): MetadataEntities\Modules\DevicesModule\IConnectorEntity | ||
{ | ||
return $this->connector; | ||
} | ||
|
||
} |
Oops, something went wrong.