/usr/share/Ice-3.5.1/php/lib/IceBox/IceBox.php is in php-zeroc-ice 3.5.1-5.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | <?php
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `IceBox.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'Ice/BuiltinSequences.php';
require_once 'Ice/CommunicatorF.php';
require_once 'Ice/PropertiesF.php';
require_once 'Ice/SliceChecksumDict.php';
if(!class_exists('IceBox_FailureException'))
{
class IceBox_FailureException extends Ice_LocalException
{
public function __construct($reason='')
{
$this->reason = $reason;
}
public function ice_name()
{
return 'IceBox::FailureException';
}
public function __toString()
{
global $IceBox__t_FailureException;
return IcePHP_stringifyException($this, $IceBox__t_FailureException);
}
public $reason;
}
$IceBox__t_FailureException = IcePHP_defineException('::IceBox::FailureException', 'IceBox_FailureException', false, null, array(
array('reason', $IcePHP__t_string, false, 0)));
}
if(!class_exists('IceBox_AlreadyStartedException'))
{
class IceBox_AlreadyStartedException extends Ice_UserException
{
public function __construct()
{
}
public function ice_name()
{
return 'IceBox::AlreadyStartedException';
}
public function __toString()
{
global $IceBox__t_AlreadyStartedException;
return IcePHP_stringifyException($this, $IceBox__t_AlreadyStartedException);
}
}
$IceBox__t_AlreadyStartedException = IcePHP_defineException('::IceBox::AlreadyStartedException', 'IceBox_AlreadyStartedException', false, null, null);
}
if(!class_exists('IceBox_AlreadyStoppedException'))
{
class IceBox_AlreadyStoppedException extends Ice_UserException
{
public function __construct()
{
}
public function ice_name()
{
return 'IceBox::AlreadyStoppedException';
}
public function __toString()
{
global $IceBox__t_AlreadyStoppedException;
return IcePHP_stringifyException($this, $IceBox__t_AlreadyStoppedException);
}
}
$IceBox__t_AlreadyStoppedException = IcePHP_defineException('::IceBox::AlreadyStoppedException', 'IceBox_AlreadyStoppedException', false, null, null);
}
if(!class_exists('IceBox_NoSuchServiceException'))
{
class IceBox_NoSuchServiceException extends Ice_UserException
{
public function __construct()
{
}
public function ice_name()
{
return 'IceBox::NoSuchServiceException';
}
public function __toString()
{
global $IceBox__t_NoSuchServiceException;
return IcePHP_stringifyException($this, $IceBox__t_NoSuchServiceException);
}
}
$IceBox__t_NoSuchServiceException = IcePHP_defineException('::IceBox::NoSuchServiceException', 'IceBox_NoSuchServiceException', false, null, null);
}
if(!interface_exists('IceBox_Service'))
{
interface IceBox_Service
{
public function start($name, $communicator, $args);
public function stop();
}
$IceBox__t_Service = IcePHP_defineClass('::IceBox::Service', 'IceBox_Service', -1, true, false, $Ice__t_Object, null, null);
}
if(!interface_exists('IceBox_ServiceObserver'))
{
interface IceBox_ServiceObserver
{
public function servicesStarted($services);
public function servicesStopped($services);
}
class IceBox_ServiceObserverPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::IceBox::ServiceObserver', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::IceBox::ServiceObserver', $facet);
}
}
$IceBox__t_ServiceObserver = IcePHP_defineClass('::IceBox::ServiceObserver', 'IceBox_ServiceObserver', -1, true, false, $Ice__t_Object, null, null);
$IceBox__t_ServiceObserverPrx = IcePHP_defineProxy($IceBox__t_ServiceObserver);
IcePHP_defineOperation($IceBox__t_ServiceObserver, 'servicesStarted', 0, 0, 0, array(array($Ice__t_StringSeq, false, 0)), null, null, null);
IcePHP_defineOperation($IceBox__t_ServiceObserver, 'servicesStopped', 0, 0, 0, array(array($Ice__t_StringSeq, false, 0)), null, null, null);
}
if(!interface_exists('IceBox_ServiceManager'))
{
interface IceBox_ServiceManager
{
public function getSliceChecksums();
public function startService($service);
public function stopService($service);
public function addObserver($observer);
public function shutdown();
}
class IceBox_ServiceManagerPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::IceBox::ServiceManager', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::IceBox::ServiceManager', $facet);
}
}
$IceBox__t_ServiceManager = IcePHP_defineClass('::IceBox::ServiceManager', 'IceBox_ServiceManager', -1, true, false, $Ice__t_Object, null, null);
$IceBox__t_ServiceManagerPrx = IcePHP_defineProxy($IceBox__t_ServiceManager);
IcePHP_defineOperation($IceBox__t_ServiceManager, 'getSliceChecksums', 2, 1, 0, null, null, array($Ice__t_SliceChecksumDict, false, 0), null);
IcePHP_defineOperation($IceBox__t_ServiceManager, 'startService', 0, 0, 0, array(array($IcePHP__t_string, false, 0)), null, null, array($IceBox__t_AlreadyStartedException, $IceBox__t_NoSuchServiceException));
IcePHP_defineOperation($IceBox__t_ServiceManager, 'stopService', 0, 0, 0, array(array($IcePHP__t_string, false, 0)), null, null, array($IceBox__t_AlreadyStoppedException, $IceBox__t_NoSuchServiceException));
IcePHP_defineOperation($IceBox__t_ServiceManager, 'addObserver', 0, 0, 0, array(array($IceBox__t_ServiceObserverPrx, false, 0)), null, null, null);
IcePHP_defineOperation($IceBox__t_ServiceManager, 'shutdown', 0, 0, 0, null, null, null, null);
}
?>
|