/usr/share/Ice-3.5.1/php/lib/IceGrid/Observer.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 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 | <?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 `Observer.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'Glacier2/Session.php';
require_once 'IceGrid/Exception.php';
require_once 'IceGrid/Descriptor.php';
require_once 'IceGrid/Admin.php';
if(!class_exists('IceGrid_ServerDynamicInfo'))
{
class IceGrid_ServerDynamicInfo
{
public function __construct($id='', $state=IceGrid_ServerState::Inactive, $pid=0, $enabled=false)
{
$this->id = $id;
$this->state = $state;
$this->pid = $pid;
$this->enabled = $enabled;
}
public function __toString()
{
global $IceGrid__t_ServerDynamicInfo;
return IcePHP_stringify($this, $IceGrid__t_ServerDynamicInfo);
}
public $id;
public $state;
public $pid;
public $enabled;
}
$IceGrid__t_ServerDynamicInfo = IcePHP_defineStruct('::IceGrid::ServerDynamicInfo', 'IceGrid_ServerDynamicInfo', array(
array('id', $IcePHP__t_string),
array('state', $IceGrid__t_ServerState),
array('pid', $IcePHP__t_int),
array('enabled', $IcePHP__t_bool)));
}
if(!isset($IceGrid__t_ServerDynamicInfoSeq))
{
$IceGrid__t_ServerDynamicInfoSeq = IcePHP_defineSequence('::IceGrid::ServerDynamicInfoSeq', $IceGrid__t_ServerDynamicInfo);
}
if(!class_exists('IceGrid_AdapterDynamicInfo'))
{
class IceGrid_AdapterDynamicInfo
{
public function __construct($id='', $proxy=null)
{
$this->id = $id;
$this->proxy = $proxy;
}
public function __toString()
{
global $IceGrid__t_AdapterDynamicInfo;
return IcePHP_stringify($this, $IceGrid__t_AdapterDynamicInfo);
}
public $id;
public $proxy;
}
$IceGrid__t_AdapterDynamicInfo = IcePHP_defineStruct('::IceGrid::AdapterDynamicInfo', 'IceGrid_AdapterDynamicInfo', array(
array('id', $IcePHP__t_string),
array('proxy', $Ice__t_ObjectPrx)));
}
if(!isset($IceGrid__t_AdapterDynamicInfoSeq))
{
$IceGrid__t_AdapterDynamicInfoSeq = IcePHP_defineSequence('::IceGrid::AdapterDynamicInfoSeq', $IceGrid__t_AdapterDynamicInfo);
}
if(!class_exists('IceGrid_NodeDynamicInfo'))
{
class IceGrid_NodeDynamicInfo
{
public function __construct($info=null, $servers=null, $adapters=null)
{
$this->info = is_null($info) ? new IceGrid_NodeInfo : $info;
$this->servers = $servers;
$this->adapters = $adapters;
}
public function __toString()
{
global $IceGrid__t_NodeDynamicInfo;
return IcePHP_stringify($this, $IceGrid__t_NodeDynamicInfo);
}
public $info;
public $servers;
public $adapters;
}
$IceGrid__t_NodeDynamicInfo = IcePHP_defineStruct('::IceGrid::NodeDynamicInfo', 'IceGrid_NodeDynamicInfo', array(
array('info', $IceGrid__t_NodeInfo),
array('servers', $IceGrid__t_ServerDynamicInfoSeq),
array('adapters', $IceGrid__t_AdapterDynamicInfoSeq)));
}
if(!isset($IceGrid__t_NodeDynamicInfoSeq))
{
$IceGrid__t_NodeDynamicInfoSeq = IcePHP_defineSequence('::IceGrid::NodeDynamicInfoSeq', $IceGrid__t_NodeDynamicInfo);
}
if(!interface_exists('IceGrid_NodeObserver'))
{
interface IceGrid_NodeObserver
{
public function nodeInit($nodes);
public function nodeUp($node);
public function nodeDown($name);
public function updateServer($node, $updatedInfo);
public function updateAdapter($node, $updatedInfo);
}
class IceGrid_NodeObserverPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::IceGrid::NodeObserver', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::IceGrid::NodeObserver', $facet);
}
}
$IceGrid__t_NodeObserver = IcePHP_defineClass('::IceGrid::NodeObserver', 'IceGrid_NodeObserver', -1, true, false, $Ice__t_Object, null, null);
$IceGrid__t_NodeObserverPrx = IcePHP_defineProxy($IceGrid__t_NodeObserver);
IcePHP_defineOperation($IceGrid__t_NodeObserver, 'nodeInit', 0, 0, 0, array(array($IceGrid__t_NodeDynamicInfoSeq, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_NodeObserver, 'nodeUp', 0, 0, 0, array(array($IceGrid__t_NodeDynamicInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_NodeObserver, 'nodeDown', 0, 0, 0, array(array($IcePHP__t_string, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_NodeObserver, 'updateServer', 0, 0, 0, array(array($IcePHP__t_string, false, 0), array($IceGrid__t_ServerDynamicInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_NodeObserver, 'updateAdapter', 0, 0, 0, array(array($IcePHP__t_string, false, 0), array($IceGrid__t_AdapterDynamicInfo, false, 0)), null, null, null);
}
if(!interface_exists('IceGrid_ApplicationObserver'))
{
interface IceGrid_ApplicationObserver
{
public function applicationInit($serial, $applications);
public function applicationAdded($serial, $desc);
public function applicationRemoved($serial, $name);
public function applicationUpdated($serial, $desc);
}
class IceGrid_ApplicationObserverPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::IceGrid::ApplicationObserver', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::IceGrid::ApplicationObserver', $facet);
}
}
$IceGrid__t_ApplicationObserver = IcePHP_defineClass('::IceGrid::ApplicationObserver', 'IceGrid_ApplicationObserver', -1, true, false, $Ice__t_Object, null, null);
$IceGrid__t_ApplicationObserverPrx = IcePHP_defineProxy($IceGrid__t_ApplicationObserver);
IcePHP_defineOperation($IceGrid__t_ApplicationObserver, 'applicationInit', 0, 0, 0, array(array($IcePHP__t_int, false, 0), array($IceGrid__t_ApplicationInfoSeq, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_ApplicationObserver, 'applicationAdded', 0, 0, 0, array(array($IcePHP__t_int, false, 0), array($IceGrid__t_ApplicationInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_ApplicationObserver, 'applicationRemoved', 0, 0, 0, array(array($IcePHP__t_int, false, 0), array($IcePHP__t_string, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_ApplicationObserver, 'applicationUpdated', 0, 0, 0, array(array($IcePHP__t_int, false, 0), array($IceGrid__t_ApplicationUpdateInfo, false, 0)), null, null, null);
}
if(!interface_exists('IceGrid_AdapterObserver'))
{
interface IceGrid_AdapterObserver
{
public function adapterInit($adpts);
public function adapterAdded($info);
public function adapterUpdated($info);
public function adapterRemoved($id);
}
class IceGrid_AdapterObserverPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::IceGrid::AdapterObserver', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::IceGrid::AdapterObserver', $facet);
}
}
$IceGrid__t_AdapterObserver = IcePHP_defineClass('::IceGrid::AdapterObserver', 'IceGrid_AdapterObserver', -1, true, false, $Ice__t_Object, null, null);
$IceGrid__t_AdapterObserverPrx = IcePHP_defineProxy($IceGrid__t_AdapterObserver);
IcePHP_defineOperation($IceGrid__t_AdapterObserver, 'adapterInit', 0, 0, 0, array(array($IceGrid__t_AdapterInfoSeq, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_AdapterObserver, 'adapterAdded', 0, 0, 0, array(array($IceGrid__t_AdapterInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_AdapterObserver, 'adapterUpdated', 0, 0, 0, array(array($IceGrid__t_AdapterInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_AdapterObserver, 'adapterRemoved', 0, 0, 0, array(array($IcePHP__t_string, false, 0)), null, null, null);
}
if(!interface_exists('IceGrid_ObjectObserver'))
{
interface IceGrid_ObjectObserver
{
public function objectInit($objects);
public function objectAdded($info);
public function objectUpdated($info);
public function objectRemoved($id);
}
class IceGrid_ObjectObserverPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::IceGrid::ObjectObserver', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::IceGrid::ObjectObserver', $facet);
}
}
$IceGrid__t_ObjectObserver = IcePHP_defineClass('::IceGrid::ObjectObserver', 'IceGrid_ObjectObserver', -1, true, false, $Ice__t_Object, null, null);
$IceGrid__t_ObjectObserverPrx = IcePHP_defineProxy($IceGrid__t_ObjectObserver);
IcePHP_defineOperation($IceGrid__t_ObjectObserver, 'objectInit', 0, 0, 0, array(array($IceGrid__t_ObjectInfoSeq, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_ObjectObserver, 'objectAdded', 0, 0, 0, array(array($IceGrid__t_ObjectInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_ObjectObserver, 'objectUpdated', 0, 0, 0, array(array($IceGrid__t_ObjectInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_ObjectObserver, 'objectRemoved', 0, 0, 0, array(array($Ice__t_Identity, false, 0)), null, null, null);
}
if(!interface_exists('IceGrid_RegistryObserver'))
{
interface IceGrid_RegistryObserver
{
public function registryInit($registries);
public function registryUp($node);
public function registryDown($name);
}
class IceGrid_RegistryObserverPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::IceGrid::RegistryObserver', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::IceGrid::RegistryObserver', $facet);
}
}
$IceGrid__t_RegistryObserver = IcePHP_defineClass('::IceGrid::RegistryObserver', 'IceGrid_RegistryObserver', -1, true, false, $Ice__t_Object, null, null);
$IceGrid__t_RegistryObserverPrx = IcePHP_defineProxy($IceGrid__t_RegistryObserver);
IcePHP_defineOperation($IceGrid__t_RegistryObserver, 'registryInit', 0, 0, 0, array(array($IceGrid__t_RegistryInfoSeq, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_RegistryObserver, 'registryUp', 0, 0, 0, array(array($IceGrid__t_RegistryInfo, false, 0)), null, null, null);
IcePHP_defineOperation($IceGrid__t_RegistryObserver, 'registryDown', 0, 0, 0, array(array($IcePHP__t_string, false, 0)), null, null, null);
}
?>
|