This file is indexed.

/usr/lib/ruby/vendor_ruby/Glacier2/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
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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
# **********************************************************************
#
# 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 'Ice/BuiltinSequences.rb'
require 'Ice/Identity.rb'
require 'Glacier2/SSLInfo.rb'

module Glacier2

    if not defined?(::Glacier2::CannotCreateSessionException)
        class CannotCreateSessionException < Ice::UserException
            def initialize(reason='')
                @reason = reason
            end

            def to_s
                'Glacier2::CannotCreateSessionException'
            end

            attr_accessor :reason
        end

        T_CannotCreateSessionException = ::Ice::__defineException('::Glacier2::CannotCreateSessionException', CannotCreateSessionException, true, nil, [["reason", ::Ice::T_string, false, 0]])
        CannotCreateSessionException::ICE_TYPE = T_CannotCreateSessionException
    end

    if not defined?(::Glacier2::Session_mixin)
        module Session_mixin
            include ::Ice::Object_mixin

            def ice_ids(current=nil)
                ['::Glacier2::Session', '::Ice::Object']
            end

            def ice_id(current=nil)
                '::Glacier2::Session'
            end

            #
            # Operation signatures.
            #
            # def destroy(current=nil)

            def inspect
                ::Ice::__stringify(self, T_Session)
            end
        end
        class Session
            include Session_mixin
            
            def Session.ice_staticId()
                '::Glacier2::Session'
            end
        end
        module SessionPrx_mixin

            def destroy(_ctx=nil)
                Session_mixin::OP_destroy.invoke(self, [], _ctx)
            end
        end
        class SessionPrx < ::Ice::ObjectPrx
            include SessionPrx_mixin

            def SessionPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
                ice_checkedCast(proxy, '::Glacier2::Session', facetOrCtx, _ctx)
            end

            def SessionPrx.uncheckedCast(proxy, facet=nil)
                ice_uncheckedCast(proxy, facet)
            end
        end

        if not defined?(::Glacier2::T_Session)
            T_Session = ::Ice::__declareClass('::Glacier2::Session')
            T_SessionPrx = ::Ice::__declareProxy('::Glacier2::Session')
        end

        T_Session.defineClass(Session, -1, true, false, nil, [], [])
        Session_mixin::ICE_TYPE = T_Session

        T_SessionPrx.defineProxy(SessionPrx, T_Session)
        SessionPrx::ICE_TYPE = T_SessionPrx

        Session_mixin::OP_destroy = ::Ice::__defineOperation('destroy', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [])
    end

    if not defined?(::Glacier2::StringSet_mixin)
        module StringSet_mixin
            include ::Ice::Object_mixin

            def ice_ids(current=nil)
                ['::Glacier2::StringSet', '::Ice::Object']
            end

            def ice_id(current=nil)
                '::Glacier2::StringSet'
            end

            #
            # Operation signatures.
            #
            # def add(additions, current=nil)
            # def remove(deletions, current=nil)
            # def get(current=nil)

            def inspect
                ::Ice::__stringify(self, T_StringSet)
            end
        end
        class StringSet
            include StringSet_mixin
            
            def StringSet.ice_staticId()
                '::Glacier2::StringSet'
            end
        end
        module StringSetPrx_mixin

            def add(additions, _ctx=nil)
                StringSet_mixin::OP_add.invoke(self, [additions], _ctx)
            end

            def remove(deletions, _ctx=nil)
                StringSet_mixin::OP_remove.invoke(self, [deletions], _ctx)
            end

            def get(_ctx=nil)
                StringSet_mixin::OP_get.invoke(self, [], _ctx)
            end
        end
        class StringSetPrx < ::Ice::ObjectPrx
            include StringSetPrx_mixin

            def StringSetPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
                ice_checkedCast(proxy, '::Glacier2::StringSet', facetOrCtx, _ctx)
            end

            def StringSetPrx.uncheckedCast(proxy, facet=nil)
                ice_uncheckedCast(proxy, facet)
            end
        end

        if not defined?(::Glacier2::T_StringSet)
            T_StringSet = ::Ice::__declareClass('::Glacier2::StringSet')
            T_StringSetPrx = ::Ice::__declareProxy('::Glacier2::StringSet')
        end

        T_StringSet.defineClass(StringSet, -1, true, false, nil, [], [])
        StringSet_mixin::ICE_TYPE = T_StringSet

        T_StringSetPrx.defineProxy(StringSetPrx, T_StringSet)
        StringSetPrx::ICE_TYPE = T_StringSetPrx

        StringSet_mixin::OP_add = ::Ice::__defineOperation('add', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_StringSeq, false, 0]], [], nil, [])
        StringSet_mixin::OP_remove = ::Ice::__defineOperation('remove', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_StringSeq, false, 0]], [], nil, [])
        StringSet_mixin::OP_get = ::Ice::__defineOperation('get', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [], [], [::Ice::T_StringSeq, false, 0], [])
    end

    if not defined?(::Glacier2::IdentitySet_mixin)
        module IdentitySet_mixin
            include ::Ice::Object_mixin

            def ice_ids(current=nil)
                ['::Glacier2::IdentitySet', '::Ice::Object']
            end

            def ice_id(current=nil)
                '::Glacier2::IdentitySet'
            end

            #
            # Operation signatures.
            #
            # def add(additions, current=nil)
            # def remove(deletions, current=nil)
            # def get(current=nil)

            def inspect
                ::Ice::__stringify(self, T_IdentitySet)
            end
        end
        class IdentitySet
            include IdentitySet_mixin
            
            def IdentitySet.ice_staticId()
                '::Glacier2::IdentitySet'
            end
        end
        module IdentitySetPrx_mixin

            def add(additions, _ctx=nil)
                IdentitySet_mixin::OP_add.invoke(self, [additions], _ctx)
            end

            def remove(deletions, _ctx=nil)
                IdentitySet_mixin::OP_remove.invoke(self, [deletions], _ctx)
            end

            def get(_ctx=nil)
                IdentitySet_mixin::OP_get.invoke(self, [], _ctx)
            end
        end
        class IdentitySetPrx < ::Ice::ObjectPrx
            include IdentitySetPrx_mixin

            def IdentitySetPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
                ice_checkedCast(proxy, '::Glacier2::IdentitySet', facetOrCtx, _ctx)
            end

            def IdentitySetPrx.uncheckedCast(proxy, facet=nil)
                ice_uncheckedCast(proxy, facet)
            end
        end

        if not defined?(::Glacier2::T_IdentitySet)
            T_IdentitySet = ::Ice::__declareClass('::Glacier2::IdentitySet')
            T_IdentitySetPrx = ::Ice::__declareProxy('::Glacier2::IdentitySet')
        end

        T_IdentitySet.defineClass(IdentitySet, -1, true, false, nil, [], [])
        IdentitySet_mixin::ICE_TYPE = T_IdentitySet

        T_IdentitySetPrx.defineProxy(IdentitySetPrx, T_IdentitySet)
        IdentitySetPrx::ICE_TYPE = T_IdentitySetPrx

        IdentitySet_mixin::OP_add = ::Ice::__defineOperation('add', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_IdentitySeq, false, 0]], [], nil, [])
        IdentitySet_mixin::OP_remove = ::Ice::__defineOperation('remove', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_IdentitySeq, false, 0]], [], nil, [])
        IdentitySet_mixin::OP_get = ::Ice::__defineOperation('get', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [], [], [::Ice::T_IdentitySeq, false, 0], [])
    end

    if not defined?(::Glacier2::SessionControl_mixin)
        module SessionControl_mixin
            include ::Ice::Object_mixin

            def ice_ids(current=nil)
                ['::Glacier2::SessionControl', '::Ice::Object']
            end

            def ice_id(current=nil)
                '::Glacier2::SessionControl'
            end

            #
            # Operation signatures.
            #
            # def categories(current=nil)
            # def adapterIds(current=nil)
            # def identities(current=nil)
            # def getSessionTimeout(current=nil)
            # def destroy(current=nil)

            def inspect
                ::Ice::__stringify(self, T_SessionControl)
            end
        end
        class SessionControl
            include SessionControl_mixin
            
            def SessionControl.ice_staticId()
                '::Glacier2::SessionControl'
            end
        end
        module SessionControlPrx_mixin

            def categories(_ctx=nil)
                SessionControl_mixin::OP_categories.invoke(self, [], _ctx)
            end

            def adapterIds(_ctx=nil)
                SessionControl_mixin::OP_adapterIds.invoke(self, [], _ctx)
            end

            def identities(_ctx=nil)
                SessionControl_mixin::OP_identities.invoke(self, [], _ctx)
            end

            def getSessionTimeout(_ctx=nil)
                SessionControl_mixin::OP_getSessionTimeout.invoke(self, [], _ctx)
            end

            def destroy(_ctx=nil)
                SessionControl_mixin::OP_destroy.invoke(self, [], _ctx)
            end
        end
        class SessionControlPrx < ::Ice::ObjectPrx
            include SessionControlPrx_mixin

            def SessionControlPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
                ice_checkedCast(proxy, '::Glacier2::SessionControl', facetOrCtx, _ctx)
            end

            def SessionControlPrx.uncheckedCast(proxy, facet=nil)
                ice_uncheckedCast(proxy, facet)
            end
        end

        if not defined?(::Glacier2::T_SessionControl)
            T_SessionControl = ::Ice::__declareClass('::Glacier2::SessionControl')
            T_SessionControlPrx = ::Ice::__declareProxy('::Glacier2::SessionControl')
        end

        T_SessionControl.defineClass(SessionControl, -1, true, false, nil, [], [])
        SessionControl_mixin::ICE_TYPE = T_SessionControl

        T_SessionControlPrx.defineProxy(SessionControlPrx, T_SessionControl)
        SessionControlPrx::ICE_TYPE = T_SessionControlPrx

        SessionControl_mixin::OP_categories = ::Ice::__defineOperation('categories', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], [::Glacier2::T_StringSetPrx, false, 0], [])
        SessionControl_mixin::OP_adapterIds = ::Ice::__defineOperation('adapterIds', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], [::Glacier2::T_StringSetPrx, false, 0], [])
        SessionControl_mixin::OP_identities = ::Ice::__defineOperation('identities', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], [::Glacier2::T_IdentitySetPrx, false, 0], [])
        SessionControl_mixin::OP_getSessionTimeout = ::Ice::__defineOperation('getSessionTimeout', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [], [], [::Ice::T_int, false, 0], [])
        SessionControl_mixin::OP_destroy = ::Ice::__defineOperation('destroy', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [])
    end

    if not defined?(::Glacier2::SessionManager_mixin)
        module SessionManager_mixin
            include ::Ice::Object_mixin

            def ice_ids(current=nil)
                ['::Glacier2::SessionManager', '::Ice::Object']
            end

            def ice_id(current=nil)
                '::Glacier2::SessionManager'
            end

            #
            # Operation signatures.
            #
            # def create(userId, control, current=nil)

            def inspect
                ::Ice::__stringify(self, T_SessionManager)
            end
        end
        class SessionManager
            include SessionManager_mixin
            
            def SessionManager.ice_staticId()
                '::Glacier2::SessionManager'
            end
        end
        module SessionManagerPrx_mixin

            def create(userId, control, _ctx=nil)
                SessionManager_mixin::OP_create.invoke(self, [userId, control], _ctx)
            end
        end
        class SessionManagerPrx < ::Ice::ObjectPrx
            include SessionManagerPrx_mixin

            def SessionManagerPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
                ice_checkedCast(proxy, '::Glacier2::SessionManager', facetOrCtx, _ctx)
            end

            def SessionManagerPrx.uncheckedCast(proxy, facet=nil)
                ice_uncheckedCast(proxy, facet)
            end
        end

        if not defined?(::Glacier2::T_SessionManager)
            T_SessionManager = ::Ice::__declareClass('::Glacier2::SessionManager')
            T_SessionManagerPrx = ::Ice::__declareProxy('::Glacier2::SessionManager')
        end

        T_SessionManager.defineClass(SessionManager, -1, true, false, nil, [], [])
        SessionManager_mixin::ICE_TYPE = T_SessionManager

        T_SessionManagerPrx.defineProxy(SessionManagerPrx, T_SessionManager)
        SessionManagerPrx::ICE_TYPE = T_SessionManagerPrx

        SessionManager_mixin::OP_create = ::Ice::__defineOperation('create', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, ::Ice::FormatType::SlicedFormat, [[::Ice::T_string, false, 0], [::Glacier2::T_SessionControlPrx, false, 0]], [], [::Glacier2::T_SessionPrx, false, 0], [::Glacier2::T_CannotCreateSessionException])
    end

    if not defined?(::Glacier2::SSLSessionManager_mixin)
        module SSLSessionManager_mixin
            include ::Ice::Object_mixin

            def ice_ids(current=nil)
                ['::Glacier2::SSLSessionManager', '::Ice::Object']
            end

            def ice_id(current=nil)
                '::Glacier2::SSLSessionManager'
            end

            #
            # Operation signatures.
            #
            # def create(info, control, current=nil)

            def inspect
                ::Ice::__stringify(self, T_SSLSessionManager)
            end
        end
        class SSLSessionManager
            include SSLSessionManager_mixin
            
            def SSLSessionManager.ice_staticId()
                '::Glacier2::SSLSessionManager'
            end
        end
        module SSLSessionManagerPrx_mixin

            def create(info, control, _ctx=nil)
                SSLSessionManager_mixin::OP_create.invoke(self, [info, control], _ctx)
            end
        end
        class SSLSessionManagerPrx < ::Ice::ObjectPrx
            include SSLSessionManagerPrx_mixin

            def SSLSessionManagerPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
                ice_checkedCast(proxy, '::Glacier2::SSLSessionManager', facetOrCtx, _ctx)
            end

            def SSLSessionManagerPrx.uncheckedCast(proxy, facet=nil)
                ice_uncheckedCast(proxy, facet)
            end
        end

        if not defined?(::Glacier2::T_SSLSessionManager)
            T_SSLSessionManager = ::Ice::__declareClass('::Glacier2::SSLSessionManager')
            T_SSLSessionManagerPrx = ::Ice::__declareProxy('::Glacier2::SSLSessionManager')
        end

        T_SSLSessionManager.defineClass(SSLSessionManager, -1, true, false, nil, [], [])
        SSLSessionManager_mixin::ICE_TYPE = T_SSLSessionManager

        T_SSLSessionManagerPrx.defineProxy(SSLSessionManagerPrx, T_SSLSessionManager)
        SSLSessionManagerPrx::ICE_TYPE = T_SSLSessionManagerPrx

        SSLSessionManager_mixin::OP_create = ::Ice::__defineOperation('create', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, ::Ice::FormatType::SlicedFormat, [[::Glacier2::T_SSLInfo, false, 0], [::Glacier2::T_SessionControlPrx, false, 0]], [], [::Glacier2::T_SessionPrx, false, 0], [::Glacier2::T_CannotCreateSessionException])
    end
end