Skip to content

Commit

Permalink
Add some new actions and corresponding events about ConfBridge
Browse files Browse the repository at this point in the history
  • Loading branch information
brenard committed Jan 25, 2019
1 parent f586d0f commit d35fbb7
Show file tree
Hide file tree
Showing 10 changed files with 583 additions and 0 deletions.
60 changes: 60 additions & 0 deletions src/PAMI/Message/Action/ConfbridgeKickAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
/**
* ConfbridgeKick action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @version SVN: $Id$
* @link http://marcelog.github.com/PAMI/
*
* Copyright 2011 Marcelo Gornstein <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
namespace PAMI\Message\Action;

/**
* ConfbridgeKick action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @link http://marcelog.github.com/PAMI/
*/
class ConfbridgeKickAction extends ActionMessage
{
/**
* Constructor.
*
* @param string $channel Channel to be muted.
* @param string $conference Conference on which to act.
*
* @return void
*/
public function __construct($channel, $conference)
{
parent::__construct('ConfbridgeKick');
$this->setKey('Channel', $channel);
$this->setKey('Conference', $conference);
}
}
55 changes: 55 additions & 0 deletions src/PAMI/Message/Action/ConfbridgeListRoomsAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php
/**
* ConfbridgeListRooms action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @version SVN: $Id$
* @link http://marcelog.github.com/PAMI/
*
* Copyright 2011 Marcelo Gornstein <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
namespace PAMI\Message\Action;

/**
* ConfbridgeListRooms action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @link http://marcelog.github.com/PAMI/
*/
class ConfbridgeListRoomsAction extends ActionMessage
{
/**
* Constructor.
*
* @return void
*/
public function __construct()
{
parent::__construct('ConfbridgeListRooms');
}
}
58 changes: 58 additions & 0 deletions src/PAMI/Message/Action/ConfbridgeLockAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php
/**
* ConfbridgeLock action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @version SVN: $Id$
* @link http://marcelog.github.com/PAMI/
*
* Copyright 2011 Marcelo Gornstein <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
namespace PAMI\Message\Action;

/**
* ConfbridgeLock action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @link http://marcelog.github.com/PAMI/
*/
class ConfbridgeLockAction extends ActionMessage
{
/**
* Constructor.
*
* @param string $conference Conference on which to act.
*
* @return void
*/
public function __construct($conference)
{
parent::__construct('ConfbridgeLock');
$this->setKey('Conference', $conference);
}
}
58 changes: 58 additions & 0 deletions src/PAMI/Message/Action/ConfbridgeStartRecordAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php
/**
* ConfbridgeStartRecord action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @version SVN: $Id$
* @link http://marcelog.github.com/PAMI/
*
* Copyright 2011 Marcelo Gornstein <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
namespace PAMI\Message\Action;

/**
* ConfbridgeStartRecord action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @link http://marcelog.github.com/PAMI/
*/
class ConfbridgeStartRecordAction extends ActionMessage
{
/**
* Constructor.
*
* @param string $conference Conference on which to act.
*
* @return void
*/
public function __construct($conference)
{
parent::__construct('ConfbridgeStartRecord');
$this->setKey('Conference', $conference);
}
}
58 changes: 58 additions & 0 deletions src/PAMI/Message/Action/ConfbridgeStopRecordAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php
/**
* ConfbridgeStopRecord action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @version SVN: $Id$
* @link http://marcelog.github.com/PAMI/
*
* Copyright 2011 Marcelo Gornstein <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
namespace PAMI\Message\Action;

/**
* ConfbridgeStopRecord action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @link http://marcelog.github.com/PAMI/
*/
class ConfbridgeStopRecordAction extends ActionMessage
{
/**
* Constructor.
*
* @param string $conference Conference on which to act.
*
* @return void
*/
public function __construct($conference)
{
parent::__construct('ConfbridgeStopRecord');
$this->setKey('Conference', $conference);
}
}
58 changes: 58 additions & 0 deletions src/PAMI/Message/Action/ConfbridgeUnlockAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php
/**
* ConfbridgeUnlock action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @version SVN: $Id$
* @link http://marcelog.github.com/PAMI/
*
* Copyright 2011 Marcelo Gornstein <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
namespace PAMI\Message\Action;

/**
* ConfbridgeUnlock action message.
*
* PHP Version 5
*
* @category Pami
* @package Message
* @subpackage Action
* @author Matt Styles <[email protected]>
* @license http://marcelog.github.com/PAMI/ Apache License 2.0
* @link http://marcelog.github.com/PAMI/
*/
class ConfbridgeUnlockAction extends ActionMessage
{
/**
* Constructor.
*
* @param string $conference Conference on which to act.
*
* @return void
*/
public function __construct($conference)
{
parent::__construct('ConfbridgeUnlock');
$this->setKey('Conference', $conference);
}
}
Loading

0 comments on commit d35fbb7

Please sign in to comment.