"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/web/lib/service/multicasttask.class.php" between
fogproject-1.5.5.tar.gz and fogproject-1.5.6.tar.gz

About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.

multicasttask.class.php  (fogproject-1.5.5):multicasttask.class.php  (fogproject-1.5.6)
skipping to change at line 393 skipping to change at line 393
public function getBitrate() public function getBitrate()
{ {
return self::getClass( return self::getClass(
'Image', 'Image',
$this->_MultiSess->get('image') $this->_MultiSess->get('image')
)->getStorageGroup() )->getStorageGroup()
->getMasterStorageNode() ->getMasterStorageNode()
->get('bitrate'); ->get('bitrate');
} }
/** /**
* Returns the rexmit hello interval
*
* @return string
*/
public function getHelloInterval()
{
return self::getClass(
'Image',
$this->_MultiSess->get('image')
)->getStorageGroup()
->getMasterStorageNode()
->get('helloInterval');
}
/**
* Returns the partition id to be cloned, 0 for all * Returns the partition id to be cloned, 0 for all
* *
* @return int * @return int
*/ */
public function getPartitions() public function getPartitions()
{ {
return (int)self::getClass( return (int)self::getClass(
'Image', 'Image',
$this->_MultiSess->get('image') $this->_MultiSess->get('image')
)->getPartitionType(); )->getPartitionType();
skipping to change at line 459 skipping to change at line 474
ip2long($address) + ( ip2long($address) + (
( (
$this->getPortBase() / 2 + 1 $this->getPortBase() / 2 + 1
) % self::getSetting('FOG_MULTICAST_MAX_SESSIONS') ) % self::getSetting('FOG_MULTICAST_MAX_SESSIONS')
) )
); );
} }
$buildcmd = array( $buildcmd = array(
UDPSENDERPATH, UDPSENDERPATH,
( (
$this->getHelloInterval() ?
sprintf(' --rexmit-hello-interval %s', $this->getHelloInterval()
) :
null
),
(
$this->getBitrate() ? $this->getBitrate() ?
sprintf(' --max-bitrate %s', $this->getBitrate()) : sprintf(' --max-bitrate %s', $this->getBitrate()) :
null null
), ),
( (
$this->getInterface() ? $this->getInterface() ?
sprintf(' --interface %s', $this->getInterface()) : sprintf(' --interface %s', $this->getInterface()) :
null null
), ),
sprintf( sprintf(
 End of changes. 2 change blocks. 
0 lines changed or deleted 21 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)