/usr/lib/ruby/vendor_ruby/IceBox/IceBox.rb is in ruby-zeroc-ice 3.5.1-6.4ubuntu1.
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 | # **********************************************************************
#
# 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 'Ice'
require 'Ice/BuiltinSequences.rb'
require 'Ice/CommunicatorF.rb'
require 'Ice/PropertiesF.rb'
require 'Ice/SliceChecksumDict.rb'
module IceBox
if not defined?(::IceBox::FailureException)
class FailureException < Ice::LocalException
def initialize(reason='')
@reason = reason
end
def to_s
'IceBox::FailureException'
end
attr_accessor :reason
end
T_FailureException = ::Ice::__defineException('::IceBox::FailureException', FailureException, false, nil, [["reason", ::Ice::T_string, false, 0]])
FailureException::ICE_TYPE = T_FailureException
end
if not defined?(::IceBox::AlreadyStartedException)
class AlreadyStartedException < Ice::UserException
def initialize
end
def to_s
'IceBox::AlreadyStartedException'
end
end
T_AlreadyStartedException = ::Ice::__defineException('::IceBox::AlreadyStartedException', AlreadyStartedException, false, nil, [])
AlreadyStartedException::ICE_TYPE = T_AlreadyStartedException
end
if not defined?(::IceBox::AlreadyStoppedException)
class AlreadyStoppedException < Ice::UserException
def initialize
end
def to_s
'IceBox::AlreadyStoppedException'
end
end
T_AlreadyStoppedException = ::Ice::__defineException('::IceBox::AlreadyStoppedException', AlreadyStoppedException, false, nil, [])
AlreadyStoppedException::ICE_TYPE = T_AlreadyStoppedException
end
if not defined?(::IceBox::NoSuchServiceException)
class NoSuchServiceException < Ice::UserException
def initialize
end
def to_s
'IceBox::NoSuchServiceException'
end
end
T_NoSuchServiceException = ::Ice::__defineException('::IceBox::NoSuchServiceException', NoSuchServiceException, false, nil, [])
NoSuchServiceException::ICE_TYPE = T_NoSuchServiceException
end
if not defined?(::IceBox::Service_mixin)
module Service_mixin
#
# Operation signatures.
#
# def start(name, communicator, args)
# def stop()
def inspect
::Ice::__stringify(self, T_Service)
end
end
class Service
include Service_mixin
def Service.ice_staticId()
'::IceBox::Service'
end
end
if not defined?(::IceBox::T_Service)
T_Service = ::Ice::__declareLocalClass('::IceBox::Service')
end
T_Service.defineClass(Service, -1, true, false, nil, [], [])
Service_mixin::ICE_TYPE = T_Service
end
if not defined?(::IceBox::ServiceObserver_mixin)
module ServiceObserver_mixin
include ::Ice::Object_mixin
def ice_ids(current=nil)
['::Ice::Object', '::IceBox::ServiceObserver']
end
def ice_id(current=nil)
'::IceBox::ServiceObserver'
end
#
# Operation signatures.
#
# def servicesStarted(services, current=nil)
# def servicesStopped(services, current=nil)
def inspect
::Ice::__stringify(self, T_ServiceObserver)
end
end
class ServiceObserver
include ServiceObserver_mixin
def ServiceObserver.ice_staticId()
'::IceBox::ServiceObserver'
end
end
module ServiceObserverPrx_mixin
def servicesStarted(services, _ctx=nil)
ServiceObserver_mixin::OP_servicesStarted.invoke(self, [services], _ctx)
end
def servicesStopped(services, _ctx=nil)
ServiceObserver_mixin::OP_servicesStopped.invoke(self, [services], _ctx)
end
end
class ServiceObserverPrx < ::Ice::ObjectPrx
include ServiceObserverPrx_mixin
def ServiceObserverPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
ice_checkedCast(proxy, '::IceBox::ServiceObserver', facetOrCtx, _ctx)
end
def ServiceObserverPrx.uncheckedCast(proxy, facet=nil)
ice_uncheckedCast(proxy, facet)
end
end
if not defined?(::IceBox::T_ServiceObserver)
T_ServiceObserver = ::Ice::__declareClass('::IceBox::ServiceObserver')
T_ServiceObserverPrx = ::Ice::__declareProxy('::IceBox::ServiceObserver')
end
T_ServiceObserver.defineClass(ServiceObserver, -1, true, false, nil, [], [])
ServiceObserver_mixin::ICE_TYPE = T_ServiceObserver
T_ServiceObserverPrx.defineProxy(ServiceObserverPrx, T_ServiceObserver)
ServiceObserverPrx::ICE_TYPE = T_ServiceObserverPrx
ServiceObserver_mixin::OP_servicesStarted = ::Ice::__defineOperation('servicesStarted', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_StringSeq, false, 0]], [], nil, [])
ServiceObserver_mixin::OP_servicesStopped = ::Ice::__defineOperation('servicesStopped', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_StringSeq, false, 0]], [], nil, [])
end
if not defined?(::IceBox::ServiceManager_mixin)
module ServiceManager_mixin
include ::Ice::Object_mixin
def ice_ids(current=nil)
['::Ice::Object', '::IceBox::ServiceManager']
end
def ice_id(current=nil)
'::IceBox::ServiceManager'
end
#
# Operation signatures.
#
# def getSliceChecksums(current=nil)
# def startService(service, current=nil)
# def stopService(service, current=nil)
# def addObserver(observer, current=nil)
# def shutdown(current=nil)
def inspect
::Ice::__stringify(self, T_ServiceManager)
end
end
class ServiceManager
include ServiceManager_mixin
def ServiceManager.ice_staticId()
'::IceBox::ServiceManager'
end
end
module ServiceManagerPrx_mixin
def getSliceChecksums(_ctx=nil)
ServiceManager_mixin::OP_getSliceChecksums.invoke(self, [], _ctx)
end
def startService(service, _ctx=nil)
ServiceManager_mixin::OP_startService.invoke(self, [service], _ctx)
end
def stopService(service, _ctx=nil)
ServiceManager_mixin::OP_stopService.invoke(self, [service], _ctx)
end
def addObserver(observer, _ctx=nil)
ServiceManager_mixin::OP_addObserver.invoke(self, [observer], _ctx)
end
def shutdown(_ctx=nil)
ServiceManager_mixin::OP_shutdown.invoke(self, [], _ctx)
end
end
class ServiceManagerPrx < ::Ice::ObjectPrx
include ServiceManagerPrx_mixin
def ServiceManagerPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
ice_checkedCast(proxy, '::IceBox::ServiceManager', facetOrCtx, _ctx)
end
def ServiceManagerPrx.uncheckedCast(proxy, facet=nil)
ice_uncheckedCast(proxy, facet)
end
end
if not defined?(::IceBox::T_ServiceManager)
T_ServiceManager = ::Ice::__declareClass('::IceBox::ServiceManager')
T_ServiceManagerPrx = ::Ice::__declareProxy('::IceBox::ServiceManager')
end
T_ServiceManager.defineClass(ServiceManager, -1, true, false, nil, [], [])
ServiceManager_mixin::ICE_TYPE = T_ServiceManager
T_ServiceManagerPrx.defineProxy(ServiceManagerPrx, T_ServiceManager)
ServiceManagerPrx::ICE_TYPE = T_ServiceManagerPrx
ServiceManager_mixin::OP_getSliceChecksums = ::Ice::__defineOperation('getSliceChecksums', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_SliceChecksumDict, false, 0], [])
ServiceManager_mixin::OP_startService = ::Ice::__defineOperation('startService', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0]], [], nil, [::IceBox::T_AlreadyStartedException, ::IceBox::T_NoSuchServiceException])
ServiceManager_mixin::OP_stopService = ::Ice::__defineOperation('stopService', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_string, false, 0]], [], nil, [::IceBox::T_AlreadyStoppedException, ::IceBox::T_NoSuchServiceException])
ServiceManager_mixin::OP_addObserver = ::Ice::__defineOperation('addObserver', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::IceBox::T_ServiceObserverPrx, false, 0]], [], nil, [])
ServiceManager_mixin::OP_shutdown = ::Ice::__defineOperation('shutdown', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [])
end
end
|