/usr/share/php/Ice/RemoteLogger.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 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 | <?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 `RemoteLogger.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
require_once 'Ice/BuiltinSequences.php';
global $Ice__t_LogMessageType;
if(!class_exists('Ice_LogMessageType'))
{
class Ice_LogMessageType
{
const PrintMessage = 0;
const TraceMessage = 1;
const WarningMessage = 2;
const ErrorMessage = 3;
}
$Ice__t_LogMessageType = IcePHP_defineEnum('::Ice::LogMessageType', array('PrintMessage', 0, 'TraceMessage', 1, 'WarningMessage', 2, 'ErrorMessage', 3));
}
global $Ice__t_LogMessageTypeSeq;
if(!isset($Ice__t_LogMessageTypeSeq))
{
$Ice__t_LogMessageTypeSeq = IcePHP_defineSequence('::Ice::LogMessageTypeSeq', $Ice__t_LogMessageType);
}
global $Ice__t_LogMessage;
if(!class_exists('Ice_LogMessage'))
{
class Ice_LogMessage
{
public function __construct($type=Ice_LogMessageType::PrintMessage, $timestamp=0, $traceCategory='', $message='')
{
$this->type = $type;
$this->timestamp = $timestamp;
$this->traceCategory = $traceCategory;
$this->message = $message;
}
public function __toString()
{
global $Ice__t_LogMessage;
return IcePHP_stringify($this, $Ice__t_LogMessage);
}
public $type;
public $timestamp;
public $traceCategory;
public $message;
}
$Ice__t_LogMessage = IcePHP_defineStruct('::Ice::LogMessage', 'Ice_LogMessage', array(
array('type', $Ice__t_LogMessageType),
array('timestamp', $IcePHP__t_long),
array('traceCategory', $IcePHP__t_string),
array('message', $IcePHP__t_string)));
}
global $Ice__t_LogMessageSeq;
if(!isset($Ice__t_LogMessageSeq))
{
$Ice__t_LogMessageSeq = IcePHP_defineSequence('::Ice::LogMessageSeq', $Ice__t_LogMessage);
}
global $Ice__t_RemoteLogger;
global $Ice__t_RemoteLoggerPrx;
if(!interface_exists('Ice_RemoteLogger'))
{
interface Ice_RemoteLogger extends Ice_Object
{
public function init($prefix, $logMessages);
public function log($message);
}
class Ice_RemoteLoggerPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::Ice::RemoteLogger', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::Ice::RemoteLogger', $facet);
}
public static function ice_staticId()
{
return '::Ice::RemoteLogger';
}
}
$Ice__t_RemoteLogger = IcePHP_defineClass('::Ice::RemoteLogger', 'Ice_RemoteLogger', -1, true, false, $Ice__t_Object, null, null);
$Ice__t_RemoteLoggerPrx = IcePHP_defineProxy($Ice__t_RemoteLogger);
IcePHP_defineOperation($Ice__t_RemoteLogger, 'init', 0, 0, 0, array(array($IcePHP__t_string, false, 0), array($Ice__t_LogMessageSeq, false, 0)), null, null, null);
IcePHP_defineOperation($Ice__t_RemoteLogger, 'log', 0, 0, 0, array(array($Ice__t_LogMessage, false, 0)), null, null, null);
}
global $Ice__t_RemoteLoggerAlreadyAttachedException;
if(!class_exists('Ice_RemoteLoggerAlreadyAttachedException'))
{
class Ice_RemoteLoggerAlreadyAttachedException extends Ice_UserException
{
public function __construct()
{
}
public function ice_name()
{
return 'Ice::RemoteLoggerAlreadyAttachedException';
}
public function __toString()
{
global $Ice__t_RemoteLoggerAlreadyAttachedException;
return IcePHP_stringifyException($this, $Ice__t_RemoteLoggerAlreadyAttachedException);
}
}
$Ice__t_RemoteLoggerAlreadyAttachedException = IcePHP_defineException('::Ice::RemoteLoggerAlreadyAttachedException', 'Ice_RemoteLoggerAlreadyAttachedException', false, null, null);
}
global $Ice__t_LoggerAdmin;
global $Ice__t_LoggerAdminPrx;
if(!interface_exists('Ice_LoggerAdmin'))
{
interface Ice_LoggerAdmin extends Ice_Object
{
public function attachRemoteLogger($prx, $messageTypes, $traceCategories, $messageMax);
public function detachRemoteLogger($prx);
public function getLog($messageTypes, $traceCategories, $messageMax, $prefix);
}
class Ice_LoggerAdminPrxHelper
{
public static function checkedCast($proxy, $facetOrCtx=null, $ctx=null)
{
return $proxy->ice_checkedCast('::Ice::LoggerAdmin', $facetOrCtx, $ctx);
}
public static function uncheckedCast($proxy, $facet=null)
{
return $proxy->ice_uncheckedCast('::Ice::LoggerAdmin', $facet);
}
public static function ice_staticId()
{
return '::Ice::LoggerAdmin';
}
}
$Ice__t_LoggerAdmin = IcePHP_defineClass('::Ice::LoggerAdmin', 'Ice_LoggerAdmin', -1, true, false, $Ice__t_Object, null, null);
$Ice__t_LoggerAdminPrx = IcePHP_defineProxy($Ice__t_LoggerAdmin);
IcePHP_defineOperation($Ice__t_LoggerAdmin, 'attachRemoteLogger', 0, 0, 0, array(array($Ice__t_RemoteLoggerPrx, false, 0), array($Ice__t_LogMessageTypeSeq, false, 0), array($Ice__t_StringSeq, false, 0), array($IcePHP__t_int, false, 0)), null, null, array($Ice__t_RemoteLoggerAlreadyAttachedException));
IcePHP_defineOperation($Ice__t_LoggerAdmin, 'detachRemoteLogger', 0, 0, 0, array(array($Ice__t_RemoteLoggerPrx, false, 0)), null, array($IcePHP__t_bool, false, 0), null);
IcePHP_defineOperation($Ice__t_LoggerAdmin, 'getLog', 0, 0, 0, array(array($Ice__t_LogMessageTypeSeq, false, 0), array($Ice__t_StringSeq, false, 0), array($IcePHP__t_int, false, 0)), array(array($IcePHP__t_string, false, 0)), array($Ice__t_LogMessageSeq, false, 0), null);
}
?>
|