forked from rukavina/kurento-client-php
-
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.
emit disconnect event on ping timeout
- Loading branch information
Showing
10 changed files
with
148 additions
and
24 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
src/MgKurentoClient/Exceptions/ConnectionClosedException.php
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,21 @@ | ||
<?php | ||
|
||
namespace MgKurentoClient\Exceptions; | ||
|
||
/** | ||
* Class ConnectionClosedException | ||
* | ||
* @package src\MgKurentoClient\Exceptions | ||
* | ||
* @author Sergey Zvyagintsev <[email protected]> | ||
*/ | ||
class ConnectionClosedException extends KurentoClientException | ||
{ | ||
/** | ||
* @inheritDoc | ||
*/ | ||
public function __construct($message = 'Connection closed', $code = 0, $data = null) | ||
{ | ||
parent::__construct($message, $code, $data); | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/MgKurentoClient/Exceptions/DeferredNotFoundException.php
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,21 @@ | ||
<?php | ||
|
||
namespace MgKurentoClient\Exceptions; | ||
|
||
/** | ||
* Class DeferredNotFoundException | ||
* | ||
* @package src\MgKurentoClient\Exceptions | ||
* | ||
* @author Sergey Zvyagintsev <[email protected]> | ||
*/ | ||
class DeferredNotFoundException extends KurentoClientException | ||
{ | ||
/** | ||
* @inheritDoc | ||
*/ | ||
public function __construct($message = 'Json deferred not found', $code = 0, $data = null) | ||
{ | ||
parent::__construct($message, $code, $data); | ||
} | ||
} |
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,14 @@ | ||
<?php | ||
|
||
namespace MgKurentoClient\Exceptions; | ||
|
||
/** | ||
* Class RpcErrorException | ||
* | ||
* @package src\MgKurentoClient\Exceptions | ||
* | ||
* @author Sergey Zvyagintsev <[email protected]> | ||
*/ | ||
class RpcErrorException extends KurentoClientException | ||
{ | ||
} |
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,21 @@ | ||
<?php | ||
|
||
namespace MgKurentoClient\Exceptions; | ||
|
||
/** | ||
* Class RpcTimeoutException | ||
* | ||
* @package src\MgKurentoClient\Exceptions | ||
* | ||
* @author Sergey Zvyagintsev <[email protected]> | ||
*/ | ||
class RpcTimeoutException extends KurentoClientException | ||
{ | ||
/** | ||
* @inheritDoc | ||
*/ | ||
public function __construct($message = 'RPC timeout', $code = 0, $data = null) | ||
{ | ||
parent::__construct($message, $code, $data); | ||
} | ||
} |
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