/usr/share/php/IceGrid/Query.php is in php-zeroc-ice 3.6.3-5.
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 | <?php
// **********************************************************************
//
// Copyright (c) 2003-2016 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.6.3
//
// <auto-generated>
//
// Generated from file `Query.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'Ice/Identity.php';
require_once 'Ice/BuiltinSequences.php';
require_once 'IceGrid/Exception.php';
global $IceGrid__t_LoadSample;
if(!class_exists('IceGrid_LoadSample'))
{
class IceGrid_LoadSample
{
const LoadSample1 = 0;
const LoadSample5 = 1;
const LoadSample15 = 2;
}
$IceGrid__t_LoadSample = IcePHP_defineEnum('::IceGrid::LoadSample', array('LoadSample1', 0, 'LoadSample5', 1, 'LoadSample15', 2));
}
global $IceGrid__t_Query;
global $IceGrid__t_QueryPrx;
if(!interface_exists('IceGrid_Query'))
{
interface IceGrid_Query extends Ice_Object
{
public function findObjectById($id);
public function findObjectByType($type);
public function findObjectByTypeOnLeastLoadedNode($type, $sample);
public function findAllObjectsByType($type);
public function findAllReplicas($proxy);
}
class IceGrid_QueryPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::IceGrid::Query', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::IceGrid::Query', $facet);
}
public static function ice_staticId()
{
return '::IceGrid::Query';
}
}
$IceGrid__t_Query = IcePHP_defineClass('::IceGrid::Query', 'IceGrid_Query', -1, true, false, $Ice__t_Object, null, null);
$IceGrid__t_QueryPrx = IcePHP_defineProxy($IceGrid__t_Query);
IcePHP_defineOperation($IceGrid__t_Query, 'findObjectById', 2, 1, 0, array(array($Ice__t_Identity, false, 0)), null, array($Ice__t_ObjectPrx, false, 0), null);
IcePHP_defineOperation($IceGrid__t_Query, 'findObjectByType', 2, 1, 0, array(array($IcePHP__t_string, false, 0)), null, array($Ice__t_ObjectPrx, false, 0), null);
IcePHP_defineOperation($IceGrid__t_Query, 'findObjectByTypeOnLeastLoadedNode', 2, 1, 0, array(array($IcePHP__t_string, false, 0), array($IceGrid__t_LoadSample, false, 0)), null, array($Ice__t_ObjectPrx, false, 0), null);
IcePHP_defineOperation($IceGrid__t_Query, 'findAllObjectsByType', 2, 1, 0, array(array($IcePHP__t_string, false, 0)), null, array($Ice__t_ObjectProxySeq, false, 0), null);
IcePHP_defineOperation($IceGrid__t_Query, 'findAllReplicas', 2, 2, 0, array(array($Ice__t_ObjectPrx, false, 0)), null, array($Ice__t_ObjectProxySeq, false, 0), null);
}
?>
|