/usr/lib/ruby/vendor_ruby/Glacier2/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 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 | # **********************************************************************
#
# 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/Router.rb'
require 'Glacier2/Session.rb'
require 'Glacier2/PermissionsVerifier.rb'
module Glacier2
if not defined?(::Glacier2::SessionNotExistException)
class SessionNotExistException < Ice::UserException
def initialize
end
def to_s
'Glacier2::SessionNotExistException'
end
end
T_SessionNotExistException = ::Ice::__defineException('::Glacier2::SessionNotExistException', SessionNotExistException, false, nil, [])
SessionNotExistException::ICE_TYPE = T_SessionNotExistException
end
if not defined?(::Glacier2::Router_mixin)
module Router_mixin
include ::Ice::Object_mixin
def ice_ids(current=nil)
['::Glacier2::Router', '::Ice::Object', '::Ice::Router']
end
def ice_id(current=nil)
'::Glacier2::Router'
end
#
# Operation signatures.
#
# def getCategoryForClient(current=nil)
# def createSession(userId, password, current=nil)
# def createSessionFromSecureConnection(current=nil)
# def refreshSession(current=nil)
# def destroySession(current=nil)
# def getSessionTimeout(current=nil)
def inspect
::Ice::__stringify(self, T_Router)
end
end
class Router
include Router_mixin
def Router.ice_staticId()
'::Glacier2::Router'
end
end
module RouterPrx_mixin
include ::Ice::RouterPrx_mixin
def getCategoryForClient(_ctx=nil)
Router_mixin::OP_getCategoryForClient.invoke(self, [], _ctx)
end
def createSession(userId, password, _ctx=nil)
Router_mixin::OP_createSession.invoke(self, [userId, password], _ctx)
end
def createSessionFromSecureConnection(_ctx=nil)
Router_mixin::OP_createSessionFromSecureConnection.invoke(self, [], _ctx)
end
def refreshSession(_ctx=nil)
Router_mixin::OP_refreshSession.invoke(self, [], _ctx)
end
def destroySession(_ctx=nil)
Router_mixin::OP_destroySession.invoke(self, [], _ctx)
end
def getSessionTimeout(_ctx=nil)
Router_mixin::OP_getSessionTimeout.invoke(self, [], _ctx)
end
end
class RouterPrx < ::Ice::ObjectPrx
include RouterPrx_mixin
def RouterPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
ice_checkedCast(proxy, '::Glacier2::Router', facetOrCtx, _ctx)
end
def RouterPrx.uncheckedCast(proxy, facet=nil)
ice_uncheckedCast(proxy, facet)
end
end
if not defined?(::Glacier2::T_Router)
T_Router = ::Ice::__declareClass('::Glacier2::Router')
T_RouterPrx = ::Ice::__declareProxy('::Glacier2::Router')
end
T_Router.defineClass(Router, -1, true, false, nil, [::Ice::T_Router], [])
Router_mixin::ICE_TYPE = T_Router
T_RouterPrx.defineProxy(RouterPrx, T_Router)
RouterPrx::ICE_TYPE = T_RouterPrx
Router_mixin::OP_getCategoryForClient = ::Ice::__defineOperation('getCategoryForClient', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_string, false, 0], [])
Router_mixin::OP_createSession = ::Ice::__defineOperation('createSession', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, ::Ice::FormatType::SlicedFormat, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [], [::Glacier2::T_SessionPrx, false, 0], [::Glacier2::T_PermissionDeniedException, ::Glacier2::T_CannotCreateSessionException])
Router_mixin::OP_createSessionFromSecureConnection = ::Ice::__defineOperation('createSessionFromSecureConnection', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, ::Ice::FormatType::SlicedFormat, [], [], [::Glacier2::T_SessionPrx, false, 0], [::Glacier2::T_PermissionDeniedException, ::Glacier2::T_CannotCreateSessionException])
Router_mixin::OP_refreshSession = ::Ice::__defineOperation('refreshSession', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [::Glacier2::T_SessionNotExistException])
Router_mixin::OP_destroySession = ::Ice::__defineOperation('destroySession', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [], [], nil, [::Glacier2::T_SessionNotExistException])
Router_mixin::OP_getSessionTimeout = ::Ice::__defineOperation('getSessionTimeout', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_long, false, 0], [])
end
end
|