/usr/share/Ice-3.5.1/php/lib/Ice/Locator.php is in php-zeroc-ice 3.5.1-6+b3.
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 198 199 200 201 202 203 204 205 206 207 | <?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 `Locator.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'Ice/Identity.php';
require_once 'Ice/ProcessF.php';
if(!class_exists('Ice_AdapterNotFoundException'))
{
class Ice_AdapterNotFoundException extends Ice_UserException
{
public function __construct()
{
}
public function ice_name()
{
return 'Ice::AdapterNotFoundException';
}
public function __toString()
{
global $Ice__t_AdapterNotFoundException;
return IcePHP_stringifyException($this, $Ice__t_AdapterNotFoundException);
}
}
$Ice__t_AdapterNotFoundException = IcePHP_defineException('::Ice::AdapterNotFoundException', 'Ice_AdapterNotFoundException', false, null, null);
}
if(!class_exists('Ice_InvalidReplicaGroupIdException'))
{
class Ice_InvalidReplicaGroupIdException extends Ice_UserException
{
public function __construct()
{
}
public function ice_name()
{
return 'Ice::InvalidReplicaGroupIdException';
}
public function __toString()
{
global $Ice__t_InvalidReplicaGroupIdException;
return IcePHP_stringifyException($this, $Ice__t_InvalidReplicaGroupIdException);
}
}
$Ice__t_InvalidReplicaGroupIdException = IcePHP_defineException('::Ice::InvalidReplicaGroupIdException', 'Ice_InvalidReplicaGroupIdException', false, null, null);
}
if(!class_exists('Ice_AdapterAlreadyActiveException'))
{
class Ice_AdapterAlreadyActiveException extends Ice_UserException
{
public function __construct()
{
}
public function ice_name()
{
return 'Ice::AdapterAlreadyActiveException';
}
public function __toString()
{
global $Ice__t_AdapterAlreadyActiveException;
return IcePHP_stringifyException($this, $Ice__t_AdapterAlreadyActiveException);
}
}
$Ice__t_AdapterAlreadyActiveException = IcePHP_defineException('::Ice::AdapterAlreadyActiveException', 'Ice_AdapterAlreadyActiveException', false, null, null);
}
if(!class_exists('Ice_ObjectNotFoundException'))
{
class Ice_ObjectNotFoundException extends Ice_UserException
{
public function __construct()
{
}
public function ice_name()
{
return 'Ice::ObjectNotFoundException';
}
public function __toString()
{
global $Ice__t_ObjectNotFoundException;
return IcePHP_stringifyException($this, $Ice__t_ObjectNotFoundException);
}
}
$Ice__t_ObjectNotFoundException = IcePHP_defineException('::Ice::ObjectNotFoundException', 'Ice_ObjectNotFoundException', false, null, null);
}
if(!class_exists('Ice_ServerNotFoundException'))
{
class Ice_ServerNotFoundException extends Ice_UserException
{
public function __construct()
{
}
public function ice_name()
{
return 'Ice::ServerNotFoundException';
}
public function __toString()
{
global $Ice__t_ServerNotFoundException;
return IcePHP_stringifyException($this, $Ice__t_ServerNotFoundException);
}
}
$Ice__t_ServerNotFoundException = IcePHP_defineException('::Ice::ServerNotFoundException', 'Ice_ServerNotFoundException', false, null, null);
}
if(!isset($Ice__t_LocatorRegistry))
{
$Ice__t_LocatorRegistry = IcePHP_declareClass('::Ice::LocatorRegistry');
$Ice__t_LocatorRegistryPrx = IcePHP_declareProxy('::Ice::LocatorRegistry');
}
if(!interface_exists('Ice_Locator'))
{
interface Ice_Locator
{
public function findObjectById($id);
public function findAdapterById($id);
public function getRegistry();
}
class Ice_LocatorPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::Ice::Locator', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::Ice::Locator', $facet);
}
}
$Ice__t_Locator = IcePHP_defineClass('::Ice::Locator', 'Ice_Locator', -1, true, false, $Ice__t_Object, null, null);
$Ice__t_LocatorPrx = IcePHP_defineProxy($Ice__t_Locator);
IcePHP_defineOperation($Ice__t_Locator, 'findObjectById', 2, 1, 0, array(array($Ice__t_Identity, false, 0)), null, array($Ice__t_ObjectPrx, false, 0), array($Ice__t_ObjectNotFoundException));
IcePHP_defineOperation($Ice__t_Locator, 'findAdapterById', 2, 1, 0, array(array($IcePHP__t_string, false, 0)), null, array($Ice__t_ObjectPrx, false, 0), array($Ice__t_AdapterNotFoundException));
IcePHP_defineOperation($Ice__t_Locator, 'getRegistry', 2, 1, 0, null, null, array($Ice__t_LocatorRegistryPrx, false, 0), null);
}
if(!interface_exists('Ice_LocatorRegistry'))
{
interface Ice_LocatorRegistry
{
public function setAdapterDirectProxy($id, $proxy);
public function setReplicatedAdapterDirectProxy($adapterId, $replicaGroupId, $p);
public function setServerProcessProxy($id, $proxy);
}
class Ice_LocatorRegistryPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::Ice::LocatorRegistry', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::Ice::LocatorRegistry', $facet);
}
}
$Ice__t_LocatorRegistry = IcePHP_defineClass('::Ice::LocatorRegistry', 'Ice_LocatorRegistry', -1, true, false, $Ice__t_Object, null, null);
$Ice__t_LocatorRegistryPrx = IcePHP_defineProxy($Ice__t_LocatorRegistry);
IcePHP_defineOperation($Ice__t_LocatorRegistry, 'setAdapterDirectProxy', 2, 2, 0, array(array($IcePHP__t_string, false, 0), array($Ice__t_ObjectPrx, false, 0)), null, null, array($Ice__t_AdapterNotFoundException, $Ice__t_AdapterAlreadyActiveException));
IcePHP_defineOperation($Ice__t_LocatorRegistry, 'setReplicatedAdapterDirectProxy', 2, 2, 0, array(array($IcePHP__t_string, false, 0), array($IcePHP__t_string, false, 0), array($Ice__t_ObjectPrx, false, 0)), null, null, array($Ice__t_AdapterNotFoundException, $Ice__t_AdapterAlreadyActiveException, $Ice__t_InvalidReplicaGroupIdException));
IcePHP_defineOperation($Ice__t_LocatorRegistry, 'setServerProcessProxy', 2, 2, 0, array(array($IcePHP__t_string, false, 0), array($Ice__t_ProcessPrx, false, 0)), null, null, array($Ice__t_ServerNotFoundException));
}
?>
|