/usr/lib/ruby/vendor_ruby/IceGrid/Session.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 | # **********************************************************************
#
# 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 `Session.ice'
#
# Warning: do not edit this file.
#
# </auto-generated>
#
require 'Ice'
require 'Glacier2/Session.rb'
require 'IceGrid/Exception.rb'
module IceGrid
if not defined?(::IceGrid::Session_mixin)
module Session_mixin
include ::Ice::Object_mixin
def ice_ids(current=nil)
['::Glacier2::Session', '::Ice::Object', '::IceGrid::Session']
end
def ice_id(current=nil)
'::IceGrid::Session'
end
#
# Operation signatures.
#
# def keepAlive(current=nil)
# def allocateObjectById(id, current=nil)
# def allocateObjectByType(type, current=nil)
# def releaseObject(id, current=nil)
# def setAllocationTimeout(timeout, current=nil)
def inspect
::Ice::__stringify(self, T_Session)
end
end
class Session
include Session_mixin
def Session.ice_staticId()
'::IceGrid::Session'
end
end
module SessionPrx_mixin
include ::Glacier2::SessionPrx_mixin
def keepAlive(_ctx=nil)
Session_mixin::OP_keepAlive.invoke(self, [], _ctx)
end
def allocateObjectById(id, _ctx=nil)
Session_mixin::OP_allocateObjectById.invoke(self, [id], _ctx)
end
def allocateObjectByType(type, _ctx=nil)
Session_mixin::OP_allocateObjectByType.invoke(self, [type], _ctx)
end
def releaseObject(id, _ctx=nil)
Session_mixin::OP_releaseObject.invoke(self, [id], _ctx)
end
def setAllocationTimeout(timeout, _ctx=nil)
Session_mixin::OP_setAllocationTimeout.invoke(self, [timeout], _ctx)
end
end
class SessionPrx < ::Ice::ObjectPrx
include SessionPrx_mixin
def SessionPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
ice_checkedCast(proxy, '::IceGrid::Session', facetOrCtx, _ctx)
end
def SessionPrx.uncheckedCast(proxy, facet=nil)
ice_uncheckedCast(proxy, facet)
end
end
if not defined?(::IceGrid::T_Session)
T_Session = ::Ice::__declareClass('::IceGrid::Session')
T_SessionPrx = ::Ice::__declareProxy('::IceGrid::Session')
end
T_Session.defineClass(Session, -1, true, false, nil, [::Glacier2::T_Session], [])
Session_mixin::ICE_TYPE = T_Session
T_SessionPrx.defineProxy(SessionPrx, T_Session)
SessionPrx::ICE_TYPE = T_SessionPrx
Session_mixin::OP_keepAlive = ::Ice::__defineOperation('keepAlive', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [], [], nil, [])
Session_mixin::OP_allocateObjectById = ::Ice::__defineOperation('allocateObjectById', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_Identity, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::IceGrid::T_ObjectNotRegisteredException, ::IceGrid::T_AllocationException])
Session_mixin::OP_allocateObjectByType = ::Ice::__defineOperation('allocateObjectByType', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::IceGrid::T_AllocationException])
Session_mixin::OP_releaseObject = ::Ice::__defineOperation('releaseObject', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_Identity, false, 0]], [], nil, [::IceGrid::T_ObjectNotRegisteredException, ::IceGrid::T_AllocationException])
Session_mixin::OP_setAllocationTimeout = ::Ice::__defineOperation('setAllocationTimeout', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_int, false, 0]], [], nil, [])
end
end
|