/usr/lib/ruby/vendor_ruby/Ice/Router.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 | # **********************************************************************
#
# 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 `Router.ice'
#
# Warning: do not edit this file.
#
# </auto-generated>
#
require 'Ice'
require 'Ice/BuiltinSequences.rb'
module Ice
if not defined?(::Ice::Router_mixin)
module Router_mixin
include ::Ice::Object_mixin
def ice_ids(current=nil)
['::Ice::Object', '::Ice::Router']
end
def ice_id(current=nil)
'::Ice::Router'
end
#
# Operation signatures.
#
# def getClientProxy(current=nil)
# def getServerProxy(current=nil)
# def addProxy(proxy, current=nil)
# def addProxies(proxies, current=nil)
def inspect
::Ice::__stringify(self, T_Router)
end
end
class Router
include Router_mixin
def Router.ice_staticId()
'::Ice::Router'
end
end
module RouterPrx_mixin
def getClientProxy(_ctx=nil)
Router_mixin::OP_getClientProxy.invoke(self, [], _ctx)
end
def getServerProxy(_ctx=nil)
Router_mixin::OP_getServerProxy.invoke(self, [], _ctx)
end
def addProxy(proxy, _ctx=nil)
Router_mixin::OP_addProxy.invoke(self, [proxy], _ctx)
end
def addProxies(proxies, _ctx=nil)
Router_mixin::OP_addProxies.invoke(self, [proxies], _ctx)
end
end
class RouterPrx < ::Ice::ObjectPrx
include RouterPrx_mixin
def RouterPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
ice_checkedCast(proxy, '::Ice::Router', facetOrCtx, _ctx)
end
def RouterPrx.uncheckedCast(proxy, facet=nil)
ice_uncheckedCast(proxy, facet)
end
end
if not defined?(::Ice::T_Router)
T_Router = ::Ice::__declareClass('::Ice::Router')
T_RouterPrx = ::Ice::__declareProxy('::Ice::Router')
end
T_Router.defineClass(Router, -1, true, false, nil, [], [])
Router_mixin::ICE_TYPE = T_Router
T_RouterPrx.defineProxy(RouterPrx, T_Router)
RouterPrx::ICE_TYPE = T_RouterPrx
Router_mixin::OP_getClientProxy = ::Ice::__defineOperation('getClientProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_ObjectPrx, false, 0], [])
Router_mixin::OP_getServerProxy = ::Ice::__defineOperation('getServerProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_ObjectPrx, false, 0], [])
Router_mixin::OP_addProxy = ::Ice::__defineOperation('addProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_ObjectPrx, false, 0]], [], nil, [])
Router_mixin::OP_addProxy.deprecate("addProxy() is deprecated, use addProxies() instead.")
Router_mixin::OP_addProxies = ::Ice::__defineOperation('addProxies', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_ObjectProxySeq, false, 0]], [], [::Ice::T_ObjectProxySeq, false, 0], [])
end
end
|