murmur 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/Gemfile +3 -0
- data/README.md +62 -0
- data/Rakefile +1 -0
- data/lib/murmur.rb +22 -0
- data/lib/murmur/channel.rb +87 -0
- data/lib/murmur/ice_interface.rb +94 -0
- data/lib/murmur/server.rb +111 -0
- data/lib/murmur/user.rb +119 -0
- data/lib/murmur/version.rb +3 -0
- data/murmur.gemspec +21 -0
- data/vendor/ice/Murmur.ice +836 -0
- data/vendor/ice/Murmur.rb +1808 -0
- metadata +84 -0
@@ -0,0 +1,1808 @@
|
|
1
|
+
# **********************************************************************
|
2
|
+
#
|
3
|
+
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
|
4
|
+
#
|
5
|
+
# This copy of Ice is licensed to you under the terms described in the
|
6
|
+
# ICE_LICENSE file included in this distribution.
|
7
|
+
#
|
8
|
+
# **********************************************************************
|
9
|
+
#
|
10
|
+
# Ice version 3.6.1
|
11
|
+
#
|
12
|
+
# <auto-generated>
|
13
|
+
#
|
14
|
+
# Generated from file `Murmur.ice'
|
15
|
+
#
|
16
|
+
# Warning: do not edit this file.
|
17
|
+
#
|
18
|
+
# </auto-generated>
|
19
|
+
#
|
20
|
+
|
21
|
+
require 'Ice'
|
22
|
+
require 'Ice/SliceChecksumDict.rb'
|
23
|
+
|
24
|
+
module Murmur
|
25
|
+
|
26
|
+
if not defined?(::Murmur::T_NetAddress)
|
27
|
+
T_NetAddress = ::Ice::__defineSequence('::Murmur::NetAddress', ::Ice::T_byte)
|
28
|
+
end
|
29
|
+
|
30
|
+
if not defined?(::Murmur::User)
|
31
|
+
class User
|
32
|
+
def initialize(session=0, userid=0, mute=false, deaf=false, suppress=false, prioritySpeaker=false, selfMute=false, selfDeaf=false, recording=false, channel=0, name='', onlinesecs=0, bytespersec=0, version=0, release='', os='', osversion='', identity='', context='', comment='', address=nil, tcponly=false, idlesecs=0, udpPing=0.0, tcpPing=0.0)
|
33
|
+
@session = session
|
34
|
+
@userid = userid
|
35
|
+
@mute = mute
|
36
|
+
@deaf = deaf
|
37
|
+
@suppress = suppress
|
38
|
+
@prioritySpeaker = prioritySpeaker
|
39
|
+
@selfMute = selfMute
|
40
|
+
@selfDeaf = selfDeaf
|
41
|
+
@recording = recording
|
42
|
+
@channel = channel
|
43
|
+
@name = name
|
44
|
+
@onlinesecs = onlinesecs
|
45
|
+
@bytespersec = bytespersec
|
46
|
+
@version = version
|
47
|
+
@release = release
|
48
|
+
@os = os
|
49
|
+
@osversion = osversion
|
50
|
+
@identity = identity
|
51
|
+
@context = context
|
52
|
+
@comment = comment
|
53
|
+
@address = address
|
54
|
+
@tcponly = tcponly
|
55
|
+
@idlesecs = idlesecs
|
56
|
+
@udpPing = udpPing
|
57
|
+
@tcpPing = tcpPing
|
58
|
+
end
|
59
|
+
|
60
|
+
def hash
|
61
|
+
_h = 0
|
62
|
+
_h = 5 * _h + @session.hash
|
63
|
+
_h = 5 * _h + @userid.hash
|
64
|
+
_h = 5 * _h + @mute.hash
|
65
|
+
_h = 5 * _h + @deaf.hash
|
66
|
+
_h = 5 * _h + @suppress.hash
|
67
|
+
_h = 5 * _h + @prioritySpeaker.hash
|
68
|
+
_h = 5 * _h + @selfMute.hash
|
69
|
+
_h = 5 * _h + @selfDeaf.hash
|
70
|
+
_h = 5 * _h + @recording.hash
|
71
|
+
_h = 5 * _h + @channel.hash
|
72
|
+
_h = 5 * _h + @name.hash
|
73
|
+
_h = 5 * _h + @onlinesecs.hash
|
74
|
+
_h = 5 * _h + @bytespersec.hash
|
75
|
+
_h = 5 * _h + @version.hash
|
76
|
+
_h = 5 * _h + @release.hash
|
77
|
+
_h = 5 * _h + @os.hash
|
78
|
+
_h = 5 * _h + @osversion.hash
|
79
|
+
_h = 5 * _h + @identity.hash
|
80
|
+
_h = 5 * _h + @context.hash
|
81
|
+
_h = 5 * _h + @comment.hash
|
82
|
+
_h = 5 * _h + @address.hash
|
83
|
+
_h = 5 * _h + @tcponly.hash
|
84
|
+
_h = 5 * _h + @idlesecs.hash
|
85
|
+
_h = 5 * _h + @udpPing.hash
|
86
|
+
_h = 5 * _h + @tcpPing.hash
|
87
|
+
_h % 0x7fffffff
|
88
|
+
end
|
89
|
+
|
90
|
+
def ==(other)
|
91
|
+
return false if
|
92
|
+
@session != other.session or
|
93
|
+
@userid != other.userid or
|
94
|
+
@mute != other.mute or
|
95
|
+
@deaf != other.deaf or
|
96
|
+
@suppress != other.suppress or
|
97
|
+
@prioritySpeaker != other.prioritySpeaker or
|
98
|
+
@selfMute != other.selfMute or
|
99
|
+
@selfDeaf != other.selfDeaf or
|
100
|
+
@recording != other.recording or
|
101
|
+
@channel != other.channel or
|
102
|
+
@name != other.name or
|
103
|
+
@onlinesecs != other.onlinesecs or
|
104
|
+
@bytespersec != other.bytespersec or
|
105
|
+
@version != other.version or
|
106
|
+
@release != other.release or
|
107
|
+
@os != other.os or
|
108
|
+
@osversion != other.osversion or
|
109
|
+
@identity != other.identity or
|
110
|
+
@context != other.context or
|
111
|
+
@comment != other.comment or
|
112
|
+
@address != other.address or
|
113
|
+
@tcponly != other.tcponly or
|
114
|
+
@idlesecs != other.idlesecs or
|
115
|
+
@udpPing != other.udpPing or
|
116
|
+
@tcpPing != other.tcpPing
|
117
|
+
true
|
118
|
+
end
|
119
|
+
|
120
|
+
def eql?(other)
|
121
|
+
return other.class == self.class && other == self
|
122
|
+
end
|
123
|
+
|
124
|
+
def inspect
|
125
|
+
::Ice::__stringify(self, T_User)
|
126
|
+
end
|
127
|
+
|
128
|
+
attr_accessor :session, :userid, :mute, :deaf, :suppress, :prioritySpeaker, :selfMute, :selfDeaf, :recording, :channel, :name, :onlinesecs, :bytespersec, :version, :release, :os, :osversion, :identity, :context, :comment, :address, :tcponly, :idlesecs, :udpPing, :tcpPing
|
129
|
+
end
|
130
|
+
|
131
|
+
T_User = ::Ice::__defineStruct('::Murmur::User', User, [
|
132
|
+
["session", ::Ice::T_int],
|
133
|
+
["userid", ::Ice::T_int],
|
134
|
+
["mute", ::Ice::T_bool],
|
135
|
+
["deaf", ::Ice::T_bool],
|
136
|
+
["suppress", ::Ice::T_bool],
|
137
|
+
["prioritySpeaker", ::Ice::T_bool],
|
138
|
+
["selfMute", ::Ice::T_bool],
|
139
|
+
["selfDeaf", ::Ice::T_bool],
|
140
|
+
["recording", ::Ice::T_bool],
|
141
|
+
["channel", ::Ice::T_int],
|
142
|
+
["name", ::Ice::T_string],
|
143
|
+
["onlinesecs", ::Ice::T_int],
|
144
|
+
["bytespersec", ::Ice::T_int],
|
145
|
+
["version", ::Ice::T_int],
|
146
|
+
["release", ::Ice::T_string],
|
147
|
+
["os", ::Ice::T_string],
|
148
|
+
["osversion", ::Ice::T_string],
|
149
|
+
["identity", ::Ice::T_string],
|
150
|
+
["context", ::Ice::T_string],
|
151
|
+
["comment", ::Ice::T_string],
|
152
|
+
["address", ::Murmur::T_NetAddress],
|
153
|
+
["tcponly", ::Ice::T_bool],
|
154
|
+
["idlesecs", ::Ice::T_int],
|
155
|
+
["udpPing", ::Ice::T_float],
|
156
|
+
["tcpPing", ::Ice::T_float]
|
157
|
+
])
|
158
|
+
end
|
159
|
+
|
160
|
+
if not defined?(::Murmur::T_IntList)
|
161
|
+
T_IntList = ::Ice::__defineSequence('::Murmur::IntList', ::Ice::T_int)
|
162
|
+
end
|
163
|
+
|
164
|
+
if not defined?(::Murmur::TextMessage)
|
165
|
+
class TextMessage
|
166
|
+
def initialize(sessions=nil, channels=nil, trees=nil, text='')
|
167
|
+
@sessions = sessions
|
168
|
+
@channels = channels
|
169
|
+
@trees = trees
|
170
|
+
@text = text
|
171
|
+
end
|
172
|
+
|
173
|
+
def hash
|
174
|
+
_h = 0
|
175
|
+
_h = 5 * _h + @sessions.hash
|
176
|
+
_h = 5 * _h + @channels.hash
|
177
|
+
_h = 5 * _h + @trees.hash
|
178
|
+
_h = 5 * _h + @text.hash
|
179
|
+
_h % 0x7fffffff
|
180
|
+
end
|
181
|
+
|
182
|
+
def ==(other)
|
183
|
+
return false if
|
184
|
+
@sessions != other.sessions or
|
185
|
+
@channels != other.channels or
|
186
|
+
@trees != other.trees or
|
187
|
+
@text != other.text
|
188
|
+
true
|
189
|
+
end
|
190
|
+
|
191
|
+
def eql?(other)
|
192
|
+
return other.class == self.class && other == self
|
193
|
+
end
|
194
|
+
|
195
|
+
def inspect
|
196
|
+
::Ice::__stringify(self, T_TextMessage)
|
197
|
+
end
|
198
|
+
|
199
|
+
attr_accessor :sessions, :channels, :trees, :text
|
200
|
+
end
|
201
|
+
|
202
|
+
T_TextMessage = ::Ice::__defineStruct('::Murmur::TextMessage', TextMessage, [
|
203
|
+
["sessions", ::Murmur::T_IntList],
|
204
|
+
["channels", ::Murmur::T_IntList],
|
205
|
+
["trees", ::Murmur::T_IntList],
|
206
|
+
["text", ::Ice::T_string]
|
207
|
+
])
|
208
|
+
end
|
209
|
+
|
210
|
+
if not defined?(::Murmur::Channel)
|
211
|
+
class Channel
|
212
|
+
def initialize(id=0, name='', parent=0, links=nil, description='', temporary=false, position=0)
|
213
|
+
@id = id
|
214
|
+
@name = name
|
215
|
+
@parent = parent
|
216
|
+
@links = links
|
217
|
+
@description = description
|
218
|
+
@temporary = temporary
|
219
|
+
@position = position
|
220
|
+
end
|
221
|
+
|
222
|
+
def hash
|
223
|
+
_h = 0
|
224
|
+
_h = 5 * _h + @id.hash
|
225
|
+
_h = 5 * _h + @name.hash
|
226
|
+
_h = 5 * _h + @parent.hash
|
227
|
+
_h = 5 * _h + @links.hash
|
228
|
+
_h = 5 * _h + @description.hash
|
229
|
+
_h = 5 * _h + @temporary.hash
|
230
|
+
_h = 5 * _h + @position.hash
|
231
|
+
_h % 0x7fffffff
|
232
|
+
end
|
233
|
+
|
234
|
+
def ==(other)
|
235
|
+
return false if
|
236
|
+
@id != other.id or
|
237
|
+
@name != other.name or
|
238
|
+
@parent != other.parent or
|
239
|
+
@links != other.links or
|
240
|
+
@description != other.description or
|
241
|
+
@temporary != other.temporary or
|
242
|
+
@position != other.position
|
243
|
+
true
|
244
|
+
end
|
245
|
+
|
246
|
+
def eql?(other)
|
247
|
+
return other.class == self.class && other == self
|
248
|
+
end
|
249
|
+
|
250
|
+
def inspect
|
251
|
+
::Ice::__stringify(self, T_Channel)
|
252
|
+
end
|
253
|
+
|
254
|
+
attr_accessor :id, :name, :parent, :links, :description, :temporary, :position
|
255
|
+
end
|
256
|
+
|
257
|
+
T_Channel = ::Ice::__defineStruct('::Murmur::Channel', Channel, [
|
258
|
+
["id", ::Ice::T_int],
|
259
|
+
["name", ::Ice::T_string],
|
260
|
+
["parent", ::Ice::T_int],
|
261
|
+
["links", ::Murmur::T_IntList],
|
262
|
+
["description", ::Ice::T_string],
|
263
|
+
["temporary", ::Ice::T_bool],
|
264
|
+
["position", ::Ice::T_int]
|
265
|
+
])
|
266
|
+
end
|
267
|
+
|
268
|
+
if not defined?(::Murmur::Group)
|
269
|
+
class Group
|
270
|
+
def initialize(name='', inherited=false, inherit=false, inheritable=false, add=nil, remove=nil, members=nil)
|
271
|
+
@name = name
|
272
|
+
@inherited = inherited
|
273
|
+
@inherit = inherit
|
274
|
+
@inheritable = inheritable
|
275
|
+
@add = add
|
276
|
+
@remove = remove
|
277
|
+
@members = members
|
278
|
+
end
|
279
|
+
|
280
|
+
def hash
|
281
|
+
_h = 0
|
282
|
+
_h = 5 * _h + @name.hash
|
283
|
+
_h = 5 * _h + @inherited.hash
|
284
|
+
_h = 5 * _h + @inherit.hash
|
285
|
+
_h = 5 * _h + @inheritable.hash
|
286
|
+
_h = 5 * _h + @add.hash
|
287
|
+
_h = 5 * _h + @remove.hash
|
288
|
+
_h = 5 * _h + @members.hash
|
289
|
+
_h % 0x7fffffff
|
290
|
+
end
|
291
|
+
|
292
|
+
def ==(other)
|
293
|
+
return false if
|
294
|
+
@name != other.name or
|
295
|
+
@inherited != other.inherited or
|
296
|
+
@inherit != other.inherit or
|
297
|
+
@inheritable != other.inheritable or
|
298
|
+
@add != other.add or
|
299
|
+
@remove != other.remove or
|
300
|
+
@members != other.members
|
301
|
+
true
|
302
|
+
end
|
303
|
+
|
304
|
+
def eql?(other)
|
305
|
+
return other.class == self.class && other == self
|
306
|
+
end
|
307
|
+
|
308
|
+
def inspect
|
309
|
+
::Ice::__stringify(self, T_Group)
|
310
|
+
end
|
311
|
+
|
312
|
+
attr_accessor :name, :inherited, :inherit, :inheritable, :add, :remove, :members
|
313
|
+
end
|
314
|
+
|
315
|
+
T_Group = ::Ice::__defineStruct('::Murmur::Group', Group, [
|
316
|
+
["name", ::Ice::T_string],
|
317
|
+
["inherited", ::Ice::T_bool],
|
318
|
+
["inherit", ::Ice::T_bool],
|
319
|
+
["inheritable", ::Ice::T_bool],
|
320
|
+
["add", ::Murmur::T_IntList],
|
321
|
+
["remove", ::Murmur::T_IntList],
|
322
|
+
["members", ::Murmur::T_IntList]
|
323
|
+
])
|
324
|
+
end
|
325
|
+
|
326
|
+
PermissionWrite = 1
|
327
|
+
|
328
|
+
PermissionTraverse = 2
|
329
|
+
|
330
|
+
PermissionEnter = 4
|
331
|
+
|
332
|
+
PermissionSpeak = 8
|
333
|
+
|
334
|
+
PermissionWhisper = 256
|
335
|
+
|
336
|
+
PermissionMuteDeafen = 16
|
337
|
+
|
338
|
+
PermissionMove = 32
|
339
|
+
|
340
|
+
PermissionMakeChannel = 64
|
341
|
+
|
342
|
+
PermissionMakeTempChannel = 1024
|
343
|
+
|
344
|
+
PermissionLinkChannel = 128
|
345
|
+
|
346
|
+
PermissionTextMessage = 512
|
347
|
+
|
348
|
+
PermissionKick = 65536
|
349
|
+
|
350
|
+
PermissionBan = 131072
|
351
|
+
|
352
|
+
PermissionRegister = 262144
|
353
|
+
|
354
|
+
PermissionRegisterSelf = 524288
|
355
|
+
|
356
|
+
if not defined?(::Murmur::ACL)
|
357
|
+
class ACL
|
358
|
+
def initialize(applyHere=false, applySubs=false, inherited=false, userid=0, group='', allow=0, deny=0)
|
359
|
+
@applyHere = applyHere
|
360
|
+
@applySubs = applySubs
|
361
|
+
@inherited = inherited
|
362
|
+
@userid = userid
|
363
|
+
@group = group
|
364
|
+
@allow = allow
|
365
|
+
@deny = deny
|
366
|
+
end
|
367
|
+
|
368
|
+
def hash
|
369
|
+
_h = 0
|
370
|
+
_h = 5 * _h + @applyHere.hash
|
371
|
+
_h = 5 * _h + @applySubs.hash
|
372
|
+
_h = 5 * _h + @inherited.hash
|
373
|
+
_h = 5 * _h + @userid.hash
|
374
|
+
_h = 5 * _h + @group.hash
|
375
|
+
_h = 5 * _h + @allow.hash
|
376
|
+
_h = 5 * _h + @deny.hash
|
377
|
+
_h % 0x7fffffff
|
378
|
+
end
|
379
|
+
|
380
|
+
def ==(other)
|
381
|
+
return false if
|
382
|
+
@applyHere != other.applyHere or
|
383
|
+
@applySubs != other.applySubs or
|
384
|
+
@inherited != other.inherited or
|
385
|
+
@userid != other.userid or
|
386
|
+
@group != other.group or
|
387
|
+
@allow != other.allow or
|
388
|
+
@deny != other.deny
|
389
|
+
true
|
390
|
+
end
|
391
|
+
|
392
|
+
def eql?(other)
|
393
|
+
return other.class == self.class && other == self
|
394
|
+
end
|
395
|
+
|
396
|
+
def inspect
|
397
|
+
::Ice::__stringify(self, T_ACL)
|
398
|
+
end
|
399
|
+
|
400
|
+
attr_accessor :applyHere, :applySubs, :inherited, :userid, :group, :allow, :deny
|
401
|
+
end
|
402
|
+
|
403
|
+
T_ACL = ::Ice::__defineStruct('::Murmur::ACL', ACL, [
|
404
|
+
["applyHere", ::Ice::T_bool],
|
405
|
+
["applySubs", ::Ice::T_bool],
|
406
|
+
["inherited", ::Ice::T_bool],
|
407
|
+
["userid", ::Ice::T_int],
|
408
|
+
["group", ::Ice::T_string],
|
409
|
+
["allow", ::Ice::T_int],
|
410
|
+
["deny", ::Ice::T_int]
|
411
|
+
])
|
412
|
+
end
|
413
|
+
|
414
|
+
if not defined?(::Murmur::Ban)
|
415
|
+
class Ban
|
416
|
+
def initialize(address=nil, bits=0, name='', _hash='', reason='', start=0, duration=0)
|
417
|
+
@address = address
|
418
|
+
@bits = bits
|
419
|
+
@name = name
|
420
|
+
@_hash = _hash
|
421
|
+
@reason = reason
|
422
|
+
@start = start
|
423
|
+
@duration = duration
|
424
|
+
end
|
425
|
+
|
426
|
+
def hash
|
427
|
+
_h = 0
|
428
|
+
_h = 5 * _h + @address.hash
|
429
|
+
_h = 5 * _h + @bits.hash
|
430
|
+
_h = 5 * _h + @name.hash
|
431
|
+
_h = 5 * _h + @_hash.hash
|
432
|
+
_h = 5 * _h + @reason.hash
|
433
|
+
_h = 5 * _h + @start.hash
|
434
|
+
_h = 5 * _h + @duration.hash
|
435
|
+
_h % 0x7fffffff
|
436
|
+
end
|
437
|
+
|
438
|
+
def ==(other)
|
439
|
+
return false if
|
440
|
+
@address != other.address or
|
441
|
+
@bits != other.bits or
|
442
|
+
@name != other.name or
|
443
|
+
@_hash != other._hash or
|
444
|
+
@reason != other.reason or
|
445
|
+
@start != other.start or
|
446
|
+
@duration != other.duration
|
447
|
+
true
|
448
|
+
end
|
449
|
+
|
450
|
+
def eql?(other)
|
451
|
+
return other.class == self.class && other == self
|
452
|
+
end
|
453
|
+
|
454
|
+
def inspect
|
455
|
+
::Ice::__stringify(self, T_Ban)
|
456
|
+
end
|
457
|
+
|
458
|
+
attr_accessor :address, :bits, :name, :_hash, :reason, :start, :duration
|
459
|
+
end
|
460
|
+
|
461
|
+
T_Ban = ::Ice::__defineStruct('::Murmur::Ban', Ban, [
|
462
|
+
["address", ::Murmur::T_NetAddress],
|
463
|
+
["bits", ::Ice::T_int],
|
464
|
+
["name", ::Ice::T_string],
|
465
|
+
["_hash", ::Ice::T_string],
|
466
|
+
["reason", ::Ice::T_string],
|
467
|
+
["start", ::Ice::T_int],
|
468
|
+
["duration", ::Ice::T_int]
|
469
|
+
])
|
470
|
+
end
|
471
|
+
|
472
|
+
if not defined?(::Murmur::LogEntry)
|
473
|
+
class LogEntry
|
474
|
+
def initialize(timestamp=0, txt='')
|
475
|
+
@timestamp = timestamp
|
476
|
+
@txt = txt
|
477
|
+
end
|
478
|
+
|
479
|
+
def hash
|
480
|
+
_h = 0
|
481
|
+
_h = 5 * _h + @timestamp.hash
|
482
|
+
_h = 5 * _h + @txt.hash
|
483
|
+
_h % 0x7fffffff
|
484
|
+
end
|
485
|
+
|
486
|
+
def ==(other)
|
487
|
+
return false if
|
488
|
+
@timestamp != other.timestamp or
|
489
|
+
@txt != other.txt
|
490
|
+
true
|
491
|
+
end
|
492
|
+
|
493
|
+
def eql?(other)
|
494
|
+
return other.class == self.class && other == self
|
495
|
+
end
|
496
|
+
|
497
|
+
def inspect
|
498
|
+
::Ice::__stringify(self, T_LogEntry)
|
499
|
+
end
|
500
|
+
|
501
|
+
attr_accessor :timestamp, :txt
|
502
|
+
end
|
503
|
+
|
504
|
+
T_LogEntry = ::Ice::__defineStruct('::Murmur::LogEntry', LogEntry, [
|
505
|
+
["timestamp", ::Ice::T_int],
|
506
|
+
["txt", ::Ice::T_string]
|
507
|
+
])
|
508
|
+
end
|
509
|
+
|
510
|
+
if not defined?(::Murmur::T_Tree)
|
511
|
+
T_Tree = ::Ice::__declareClass('::Murmur::Tree')
|
512
|
+
T_TreePrx = ::Ice::__declareProxy('::Murmur::Tree')
|
513
|
+
end
|
514
|
+
|
515
|
+
if not defined?(::Murmur::T_TreeList)
|
516
|
+
T_TreeList = ::Ice::__defineSequence('::Murmur::TreeList', ::Murmur::T_Tree)
|
517
|
+
end
|
518
|
+
|
519
|
+
if not defined?(::Murmur::ChannelInfo)
|
520
|
+
class ChannelInfo
|
521
|
+
include Comparable
|
522
|
+
|
523
|
+
def initialize(name, value)
|
524
|
+
@name = name
|
525
|
+
@value = value
|
526
|
+
end
|
527
|
+
|
528
|
+
def ChannelInfo.from_int(val)
|
529
|
+
@@_enumerators[val]
|
530
|
+
end
|
531
|
+
|
532
|
+
def to_s
|
533
|
+
@name
|
534
|
+
end
|
535
|
+
|
536
|
+
def to_i
|
537
|
+
@value
|
538
|
+
end
|
539
|
+
|
540
|
+
def <=>(other)
|
541
|
+
other.is_a?(ChannelInfo) or raise ArgumentError, "value must be a ChannelInfo"
|
542
|
+
@value <=> other.to_i
|
543
|
+
end
|
544
|
+
|
545
|
+
def hash
|
546
|
+
@value.hash
|
547
|
+
end
|
548
|
+
|
549
|
+
def inspect
|
550
|
+
@name + "(#{@value})"
|
551
|
+
end
|
552
|
+
|
553
|
+
def ChannelInfo.each(&block)
|
554
|
+
@@_enumerators.each_value(&block)
|
555
|
+
end
|
556
|
+
|
557
|
+
ChannelDescription = ChannelInfo.new("ChannelDescription", 0)
|
558
|
+
ChannelPosition = ChannelInfo.new("ChannelPosition", 1)
|
559
|
+
|
560
|
+
@@_enumerators = {0=>ChannelDescription, 1=>ChannelPosition}
|
561
|
+
|
562
|
+
def ChannelInfo._enumerators
|
563
|
+
@@_enumerators
|
564
|
+
end
|
565
|
+
|
566
|
+
private_class_method :new
|
567
|
+
end
|
568
|
+
|
569
|
+
T_ChannelInfo = ::Ice::__defineEnum('::Murmur::ChannelInfo', ChannelInfo, ChannelInfo::_enumerators)
|
570
|
+
end
|
571
|
+
|
572
|
+
if not defined?(::Murmur::UserInfo)
|
573
|
+
class UserInfo
|
574
|
+
include Comparable
|
575
|
+
|
576
|
+
def initialize(name, value)
|
577
|
+
@name = name
|
578
|
+
@value = value
|
579
|
+
end
|
580
|
+
|
581
|
+
def UserInfo.from_int(val)
|
582
|
+
@@_enumerators[val]
|
583
|
+
end
|
584
|
+
|
585
|
+
def to_s
|
586
|
+
@name
|
587
|
+
end
|
588
|
+
|
589
|
+
def to_i
|
590
|
+
@value
|
591
|
+
end
|
592
|
+
|
593
|
+
def <=>(other)
|
594
|
+
other.is_a?(UserInfo) or raise ArgumentError, "value must be a UserInfo"
|
595
|
+
@value <=> other.to_i
|
596
|
+
end
|
597
|
+
|
598
|
+
def hash
|
599
|
+
@value.hash
|
600
|
+
end
|
601
|
+
|
602
|
+
def inspect
|
603
|
+
@name + "(#{@value})"
|
604
|
+
end
|
605
|
+
|
606
|
+
def UserInfo.each(&block)
|
607
|
+
@@_enumerators.each_value(&block)
|
608
|
+
end
|
609
|
+
|
610
|
+
UserName = UserInfo.new("UserName", 0)
|
611
|
+
UserEmail = UserInfo.new("UserEmail", 1)
|
612
|
+
UserComment = UserInfo.new("UserComment", 2)
|
613
|
+
UserHash = UserInfo.new("UserHash", 3)
|
614
|
+
UserPassword = UserInfo.new("UserPassword", 4)
|
615
|
+
UserLastActive = UserInfo.new("UserLastActive", 5)
|
616
|
+
|
617
|
+
@@_enumerators = {0=>UserName, 1=>UserEmail, 2=>UserComment, 3=>UserHash, 4=>UserPassword, 5=>UserLastActive}
|
618
|
+
|
619
|
+
def UserInfo._enumerators
|
620
|
+
@@_enumerators
|
621
|
+
end
|
622
|
+
|
623
|
+
private_class_method :new
|
624
|
+
end
|
625
|
+
|
626
|
+
T_UserInfo = ::Ice::__defineEnum('::Murmur::UserInfo', UserInfo, UserInfo::_enumerators)
|
627
|
+
end
|
628
|
+
|
629
|
+
if not defined?(::Murmur::T_UserMap)
|
630
|
+
T_UserMap = ::Ice::__defineDictionary('::Murmur::UserMap', ::Ice::T_int, ::Murmur::T_User)
|
631
|
+
end
|
632
|
+
|
633
|
+
if not defined?(::Murmur::T_ChannelMap)
|
634
|
+
T_ChannelMap = ::Ice::__defineDictionary('::Murmur::ChannelMap', ::Ice::T_int, ::Murmur::T_Channel)
|
635
|
+
end
|
636
|
+
|
637
|
+
if not defined?(::Murmur::T_ChannelList)
|
638
|
+
T_ChannelList = ::Ice::__defineSequence('::Murmur::ChannelList', ::Murmur::T_Channel)
|
639
|
+
end
|
640
|
+
|
641
|
+
if not defined?(::Murmur::T_UserList)
|
642
|
+
T_UserList = ::Ice::__defineSequence('::Murmur::UserList', ::Murmur::T_User)
|
643
|
+
end
|
644
|
+
|
645
|
+
if not defined?(::Murmur::T_GroupList)
|
646
|
+
T_GroupList = ::Ice::__defineSequence('::Murmur::GroupList', ::Murmur::T_Group)
|
647
|
+
end
|
648
|
+
|
649
|
+
if not defined?(::Murmur::T_ACLList)
|
650
|
+
T_ACLList = ::Ice::__defineSequence('::Murmur::ACLList', ::Murmur::T_ACL)
|
651
|
+
end
|
652
|
+
|
653
|
+
if not defined?(::Murmur::T_LogList)
|
654
|
+
T_LogList = ::Ice::__defineSequence('::Murmur::LogList', ::Murmur::T_LogEntry)
|
655
|
+
end
|
656
|
+
|
657
|
+
if not defined?(::Murmur::T_BanList)
|
658
|
+
T_BanList = ::Ice::__defineSequence('::Murmur::BanList', ::Murmur::T_Ban)
|
659
|
+
end
|
660
|
+
|
661
|
+
if not defined?(::Murmur::T_IdList)
|
662
|
+
T_IdList = ::Ice::__defineSequence('::Murmur::IdList', ::Ice::T_int)
|
663
|
+
end
|
664
|
+
|
665
|
+
if not defined?(::Murmur::T_NameList)
|
666
|
+
T_NameList = ::Ice::__defineSequence('::Murmur::NameList', ::Ice::T_string)
|
667
|
+
end
|
668
|
+
|
669
|
+
if not defined?(::Murmur::T_NameMap)
|
670
|
+
T_NameMap = ::Ice::__defineDictionary('::Murmur::NameMap', ::Ice::T_int, ::Ice::T_string)
|
671
|
+
end
|
672
|
+
|
673
|
+
if not defined?(::Murmur::T_IdMap)
|
674
|
+
T_IdMap = ::Ice::__defineDictionary('::Murmur::IdMap', ::Ice::T_string, ::Ice::T_int)
|
675
|
+
end
|
676
|
+
|
677
|
+
if not defined?(::Murmur::T_Texture)
|
678
|
+
T_Texture = ::Ice::__defineSequence('::Murmur::Texture', ::Ice::T_byte)
|
679
|
+
end
|
680
|
+
|
681
|
+
if not defined?(::Murmur::T_ConfigMap)
|
682
|
+
T_ConfigMap = ::Ice::__defineDictionary('::Murmur::ConfigMap', ::Ice::T_string, ::Ice::T_string)
|
683
|
+
end
|
684
|
+
|
685
|
+
if not defined?(::Murmur::T_GroupNameList)
|
686
|
+
T_GroupNameList = ::Ice::__defineSequence('::Murmur::GroupNameList', ::Ice::T_string)
|
687
|
+
end
|
688
|
+
|
689
|
+
if not defined?(::Murmur::T_CertificateDer)
|
690
|
+
T_CertificateDer = ::Ice::__defineSequence('::Murmur::CertificateDer', ::Ice::T_byte)
|
691
|
+
end
|
692
|
+
|
693
|
+
if not defined?(::Murmur::T_CertificateList)
|
694
|
+
T_CertificateList = ::Ice::__defineSequence('::Murmur::CertificateList', ::Murmur::T_CertificateDer)
|
695
|
+
end
|
696
|
+
|
697
|
+
if not defined?(::Murmur::T_UserInfoMap)
|
698
|
+
T_UserInfoMap = ::Ice::__defineDictionary('::Murmur::UserInfoMap', ::Murmur::T_UserInfo, ::Ice::T_string)
|
699
|
+
end
|
700
|
+
|
701
|
+
if not defined?(::Murmur::Tree_mixin)
|
702
|
+
module Tree_mixin
|
703
|
+
include ::Ice::Object_mixin
|
704
|
+
|
705
|
+
def ice_ids(current=nil)
|
706
|
+
['::Ice::Object', '::Murmur::Tree']
|
707
|
+
end
|
708
|
+
|
709
|
+
def ice_id(current=nil)
|
710
|
+
'::Murmur::Tree'
|
711
|
+
end
|
712
|
+
|
713
|
+
def inspect
|
714
|
+
::Ice::__stringify(self, T_Tree)
|
715
|
+
end
|
716
|
+
|
717
|
+
attr_accessor :c, :children, :users
|
718
|
+
end
|
719
|
+
class Tree
|
720
|
+
include Tree_mixin
|
721
|
+
|
722
|
+
def Tree.ice_staticId()
|
723
|
+
'::Murmur::Tree'
|
724
|
+
end
|
725
|
+
|
726
|
+
def initialize(c=::Murmur::Channel.new, children=nil, users=nil)
|
727
|
+
@c = c
|
728
|
+
@children = children
|
729
|
+
@users = users
|
730
|
+
end
|
731
|
+
end
|
732
|
+
module TreePrx_mixin
|
733
|
+
end
|
734
|
+
class TreePrx < ::Ice::ObjectPrx
|
735
|
+
include TreePrx_mixin
|
736
|
+
|
737
|
+
def TreePrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
738
|
+
ice_checkedCast(proxy, '::Murmur::Tree', facetOrCtx, _ctx)
|
739
|
+
end
|
740
|
+
|
741
|
+
def TreePrx.uncheckedCast(proxy, facet=nil)
|
742
|
+
ice_uncheckedCast(proxy, facet)
|
743
|
+
end
|
744
|
+
def TreePrx.ice_staticId()
|
745
|
+
'::Murmur::Tree'
|
746
|
+
end
|
747
|
+
end
|
748
|
+
|
749
|
+
if not defined?(::Murmur::T_Tree)
|
750
|
+
T_Tree = ::Ice::__declareClass('::Murmur::Tree')
|
751
|
+
T_TreePrx = ::Ice::__declareProxy('::Murmur::Tree')
|
752
|
+
end
|
753
|
+
|
754
|
+
T_Tree.defineClass(Tree, -1, false, false, nil, [], [
|
755
|
+
['c', ::Murmur::T_Channel, false, 0],
|
756
|
+
['children', ::Murmur::T_TreeList, false, 0],
|
757
|
+
['users', ::Murmur::T_UserList, false, 0]
|
758
|
+
])
|
759
|
+
Tree_mixin::ICE_TYPE = T_Tree
|
760
|
+
|
761
|
+
T_TreePrx.defineProxy(TreePrx, T_Tree)
|
762
|
+
TreePrx::ICE_TYPE = T_TreePrx
|
763
|
+
end
|
764
|
+
|
765
|
+
if not defined?(::Murmur::MurmurException)
|
766
|
+
class MurmurException < Ice::UserException
|
767
|
+
def initialize
|
768
|
+
end
|
769
|
+
|
770
|
+
def to_s
|
771
|
+
'Murmur::MurmurException'
|
772
|
+
end
|
773
|
+
end
|
774
|
+
|
775
|
+
T_MurmurException = ::Ice::__defineException('::Murmur::MurmurException', MurmurException, false, nil, [])
|
776
|
+
MurmurException::ICE_TYPE = T_MurmurException
|
777
|
+
end
|
778
|
+
|
779
|
+
if not defined?(::Murmur::InvalidSessionException)
|
780
|
+
class InvalidSessionException < ::Murmur::MurmurException
|
781
|
+
def initialize
|
782
|
+
end
|
783
|
+
|
784
|
+
def to_s
|
785
|
+
'Murmur::InvalidSessionException'
|
786
|
+
end
|
787
|
+
end
|
788
|
+
|
789
|
+
T_InvalidSessionException = ::Ice::__defineException('::Murmur::InvalidSessionException', InvalidSessionException, false, ::Murmur::T_MurmurException, [])
|
790
|
+
InvalidSessionException::ICE_TYPE = T_InvalidSessionException
|
791
|
+
end
|
792
|
+
|
793
|
+
if not defined?(::Murmur::InvalidChannelException)
|
794
|
+
class InvalidChannelException < ::Murmur::MurmurException
|
795
|
+
def initialize
|
796
|
+
end
|
797
|
+
|
798
|
+
def to_s
|
799
|
+
'Murmur::InvalidChannelException'
|
800
|
+
end
|
801
|
+
end
|
802
|
+
|
803
|
+
T_InvalidChannelException = ::Ice::__defineException('::Murmur::InvalidChannelException', InvalidChannelException, false, ::Murmur::T_MurmurException, [])
|
804
|
+
InvalidChannelException::ICE_TYPE = T_InvalidChannelException
|
805
|
+
end
|
806
|
+
|
807
|
+
if not defined?(::Murmur::InvalidServerException)
|
808
|
+
class InvalidServerException < ::Murmur::MurmurException
|
809
|
+
def initialize
|
810
|
+
end
|
811
|
+
|
812
|
+
def to_s
|
813
|
+
'Murmur::InvalidServerException'
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
T_InvalidServerException = ::Ice::__defineException('::Murmur::InvalidServerException', InvalidServerException, false, ::Murmur::T_MurmurException, [])
|
818
|
+
InvalidServerException::ICE_TYPE = T_InvalidServerException
|
819
|
+
end
|
820
|
+
|
821
|
+
if not defined?(::Murmur::ServerBootedException)
|
822
|
+
class ServerBootedException < ::Murmur::MurmurException
|
823
|
+
def initialize
|
824
|
+
end
|
825
|
+
|
826
|
+
def to_s
|
827
|
+
'Murmur::ServerBootedException'
|
828
|
+
end
|
829
|
+
end
|
830
|
+
|
831
|
+
T_ServerBootedException = ::Ice::__defineException('::Murmur::ServerBootedException', ServerBootedException, false, ::Murmur::T_MurmurException, [])
|
832
|
+
ServerBootedException::ICE_TYPE = T_ServerBootedException
|
833
|
+
end
|
834
|
+
|
835
|
+
if not defined?(::Murmur::ServerFailureException)
|
836
|
+
class ServerFailureException < ::Murmur::MurmurException
|
837
|
+
def initialize
|
838
|
+
end
|
839
|
+
|
840
|
+
def to_s
|
841
|
+
'Murmur::ServerFailureException'
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
845
|
+
T_ServerFailureException = ::Ice::__defineException('::Murmur::ServerFailureException', ServerFailureException, false, ::Murmur::T_MurmurException, [])
|
846
|
+
ServerFailureException::ICE_TYPE = T_ServerFailureException
|
847
|
+
end
|
848
|
+
|
849
|
+
if not defined?(::Murmur::InvalidUserException)
|
850
|
+
class InvalidUserException < ::Murmur::MurmurException
|
851
|
+
def initialize
|
852
|
+
end
|
853
|
+
|
854
|
+
def to_s
|
855
|
+
'Murmur::InvalidUserException'
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
T_InvalidUserException = ::Ice::__defineException('::Murmur::InvalidUserException', InvalidUserException, false, ::Murmur::T_MurmurException, [])
|
860
|
+
InvalidUserException::ICE_TYPE = T_InvalidUserException
|
861
|
+
end
|
862
|
+
|
863
|
+
if not defined?(::Murmur::InvalidTextureException)
|
864
|
+
class InvalidTextureException < ::Murmur::MurmurException
|
865
|
+
def initialize
|
866
|
+
end
|
867
|
+
|
868
|
+
def to_s
|
869
|
+
'Murmur::InvalidTextureException'
|
870
|
+
end
|
871
|
+
end
|
872
|
+
|
873
|
+
T_InvalidTextureException = ::Ice::__defineException('::Murmur::InvalidTextureException', InvalidTextureException, false, ::Murmur::T_MurmurException, [])
|
874
|
+
InvalidTextureException::ICE_TYPE = T_InvalidTextureException
|
875
|
+
end
|
876
|
+
|
877
|
+
if not defined?(::Murmur::InvalidCallbackException)
|
878
|
+
class InvalidCallbackException < ::Murmur::MurmurException
|
879
|
+
def initialize
|
880
|
+
end
|
881
|
+
|
882
|
+
def to_s
|
883
|
+
'Murmur::InvalidCallbackException'
|
884
|
+
end
|
885
|
+
end
|
886
|
+
|
887
|
+
T_InvalidCallbackException = ::Ice::__defineException('::Murmur::InvalidCallbackException', InvalidCallbackException, false, ::Murmur::T_MurmurException, [])
|
888
|
+
InvalidCallbackException::ICE_TYPE = T_InvalidCallbackException
|
889
|
+
end
|
890
|
+
|
891
|
+
if not defined?(::Murmur::InvalidSecretException)
|
892
|
+
class InvalidSecretException < ::Murmur::MurmurException
|
893
|
+
def initialize
|
894
|
+
end
|
895
|
+
|
896
|
+
def to_s
|
897
|
+
'Murmur::InvalidSecretException'
|
898
|
+
end
|
899
|
+
end
|
900
|
+
|
901
|
+
T_InvalidSecretException = ::Ice::__defineException('::Murmur::InvalidSecretException', InvalidSecretException, false, ::Murmur::T_MurmurException, [])
|
902
|
+
InvalidSecretException::ICE_TYPE = T_InvalidSecretException
|
903
|
+
end
|
904
|
+
|
905
|
+
if not defined?(::Murmur::NestingLimitException)
|
906
|
+
class NestingLimitException < ::Murmur::MurmurException
|
907
|
+
def initialize
|
908
|
+
end
|
909
|
+
|
910
|
+
def to_s
|
911
|
+
'Murmur::NestingLimitException'
|
912
|
+
end
|
913
|
+
end
|
914
|
+
|
915
|
+
T_NestingLimitException = ::Ice::__defineException('::Murmur::NestingLimitException', NestingLimitException, false, ::Murmur::T_MurmurException, [])
|
916
|
+
NestingLimitException::ICE_TYPE = T_NestingLimitException
|
917
|
+
end
|
918
|
+
|
919
|
+
if not defined?(::Murmur::ServerCallback_mixin)
|
920
|
+
module ServerCallback_mixin
|
921
|
+
include ::Ice::Object_mixin
|
922
|
+
|
923
|
+
def ice_ids(current=nil)
|
924
|
+
['::Ice::Object', '::Murmur::ServerCallback']
|
925
|
+
end
|
926
|
+
|
927
|
+
def ice_id(current=nil)
|
928
|
+
'::Murmur::ServerCallback'
|
929
|
+
end
|
930
|
+
|
931
|
+
#
|
932
|
+
# Operation signatures.
|
933
|
+
#
|
934
|
+
# def userConnected(state, current=nil)
|
935
|
+
# def userDisconnected(state, current=nil)
|
936
|
+
# def userStateChanged(state, current=nil)
|
937
|
+
# def userTextMessage(state, message, current=nil)
|
938
|
+
# def channelCreated(state, current=nil)
|
939
|
+
# def channelRemoved(state, current=nil)
|
940
|
+
# def channelStateChanged(state, current=nil)
|
941
|
+
|
942
|
+
def inspect
|
943
|
+
::Ice::__stringify(self, T_ServerCallback)
|
944
|
+
end
|
945
|
+
end
|
946
|
+
class ServerCallback
|
947
|
+
include ServerCallback_mixin
|
948
|
+
|
949
|
+
def ServerCallback.ice_staticId()
|
950
|
+
'::Murmur::ServerCallback'
|
951
|
+
end
|
952
|
+
end
|
953
|
+
module ServerCallbackPrx_mixin
|
954
|
+
|
955
|
+
def userConnected(state, _ctx=nil)
|
956
|
+
ServerCallback_mixin::OP_userConnected.invoke(self, [state], _ctx)
|
957
|
+
end
|
958
|
+
|
959
|
+
def userDisconnected(state, _ctx=nil)
|
960
|
+
ServerCallback_mixin::OP_userDisconnected.invoke(self, [state], _ctx)
|
961
|
+
end
|
962
|
+
|
963
|
+
def userStateChanged(state, _ctx=nil)
|
964
|
+
ServerCallback_mixin::OP_userStateChanged.invoke(self, [state], _ctx)
|
965
|
+
end
|
966
|
+
|
967
|
+
def userTextMessage(state, message, _ctx=nil)
|
968
|
+
ServerCallback_mixin::OP_userTextMessage.invoke(self, [state, message], _ctx)
|
969
|
+
end
|
970
|
+
|
971
|
+
def channelCreated(state, _ctx=nil)
|
972
|
+
ServerCallback_mixin::OP_channelCreated.invoke(self, [state], _ctx)
|
973
|
+
end
|
974
|
+
|
975
|
+
def channelRemoved(state, _ctx=nil)
|
976
|
+
ServerCallback_mixin::OP_channelRemoved.invoke(self, [state], _ctx)
|
977
|
+
end
|
978
|
+
|
979
|
+
def channelStateChanged(state, _ctx=nil)
|
980
|
+
ServerCallback_mixin::OP_channelStateChanged.invoke(self, [state], _ctx)
|
981
|
+
end
|
982
|
+
end
|
983
|
+
class ServerCallbackPrx < ::Ice::ObjectPrx
|
984
|
+
include ServerCallbackPrx_mixin
|
985
|
+
|
986
|
+
def ServerCallbackPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
987
|
+
ice_checkedCast(proxy, '::Murmur::ServerCallback', facetOrCtx, _ctx)
|
988
|
+
end
|
989
|
+
|
990
|
+
def ServerCallbackPrx.uncheckedCast(proxy, facet=nil)
|
991
|
+
ice_uncheckedCast(proxy, facet)
|
992
|
+
end
|
993
|
+
def ServerCallbackPrx.ice_staticId()
|
994
|
+
'::Murmur::ServerCallback'
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
998
|
+
if not defined?(::Murmur::T_ServerCallback)
|
999
|
+
T_ServerCallback = ::Ice::__declareClass('::Murmur::ServerCallback')
|
1000
|
+
T_ServerCallbackPrx = ::Ice::__declareProxy('::Murmur::ServerCallback')
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
T_ServerCallback.defineClass(ServerCallback, -1, true, false, nil, [], [])
|
1004
|
+
ServerCallback_mixin::ICE_TYPE = T_ServerCallback
|
1005
|
+
|
1006
|
+
T_ServerCallbackPrx.defineProxy(ServerCallbackPrx, T_ServerCallback)
|
1007
|
+
ServerCallbackPrx::ICE_TYPE = T_ServerCallbackPrx
|
1008
|
+
|
1009
|
+
ServerCallback_mixin::OP_userConnected = ::Ice::__defineOperation('userConnected', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Murmur::T_User, false, 0]], [], nil, [])
|
1010
|
+
ServerCallback_mixin::OP_userDisconnected = ::Ice::__defineOperation('userDisconnected', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Murmur::T_User, false, 0]], [], nil, [])
|
1011
|
+
ServerCallback_mixin::OP_userStateChanged = ::Ice::__defineOperation('userStateChanged', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Murmur::T_User, false, 0]], [], nil, [])
|
1012
|
+
ServerCallback_mixin::OP_userTextMessage = ::Ice::__defineOperation('userTextMessage', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Murmur::T_User, false, 0], [::Murmur::T_TextMessage, false, 0]], [], nil, [])
|
1013
|
+
ServerCallback_mixin::OP_channelCreated = ::Ice::__defineOperation('channelCreated', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Murmur::T_Channel, false, 0]], [], nil, [])
|
1014
|
+
ServerCallback_mixin::OP_channelRemoved = ::Ice::__defineOperation('channelRemoved', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Murmur::T_Channel, false, 0]], [], nil, [])
|
1015
|
+
ServerCallback_mixin::OP_channelStateChanged = ::Ice::__defineOperation('channelStateChanged', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Murmur::T_Channel, false, 0]], [], nil, [])
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
ContextServer = 1
|
1019
|
+
|
1020
|
+
ContextChannel = 2
|
1021
|
+
|
1022
|
+
ContextUser = 4
|
1023
|
+
|
1024
|
+
if not defined?(::Murmur::ServerContextCallback_mixin)
|
1025
|
+
module ServerContextCallback_mixin
|
1026
|
+
include ::Ice::Object_mixin
|
1027
|
+
|
1028
|
+
def ice_ids(current=nil)
|
1029
|
+
['::Ice::Object', '::Murmur::ServerContextCallback']
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
def ice_id(current=nil)
|
1033
|
+
'::Murmur::ServerContextCallback'
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
#
|
1037
|
+
# Operation signatures.
|
1038
|
+
#
|
1039
|
+
# def contextAction(action, usr, session, channelid, current=nil)
|
1040
|
+
|
1041
|
+
def inspect
|
1042
|
+
::Ice::__stringify(self, T_ServerContextCallback)
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
class ServerContextCallback
|
1046
|
+
include ServerContextCallback_mixin
|
1047
|
+
|
1048
|
+
def ServerContextCallback.ice_staticId()
|
1049
|
+
'::Murmur::ServerContextCallback'
|
1050
|
+
end
|
1051
|
+
end
|
1052
|
+
module ServerContextCallbackPrx_mixin
|
1053
|
+
|
1054
|
+
def contextAction(action, usr, session, channelid, _ctx=nil)
|
1055
|
+
ServerContextCallback_mixin::OP_contextAction.invoke(self, [action, usr, session, channelid], _ctx)
|
1056
|
+
end
|
1057
|
+
end
|
1058
|
+
class ServerContextCallbackPrx < ::Ice::ObjectPrx
|
1059
|
+
include ServerContextCallbackPrx_mixin
|
1060
|
+
|
1061
|
+
def ServerContextCallbackPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
1062
|
+
ice_checkedCast(proxy, '::Murmur::ServerContextCallback', facetOrCtx, _ctx)
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
def ServerContextCallbackPrx.uncheckedCast(proxy, facet=nil)
|
1066
|
+
ice_uncheckedCast(proxy, facet)
|
1067
|
+
end
|
1068
|
+
def ServerContextCallbackPrx.ice_staticId()
|
1069
|
+
'::Murmur::ServerContextCallback'
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
if not defined?(::Murmur::T_ServerContextCallback)
|
1074
|
+
T_ServerContextCallback = ::Ice::__declareClass('::Murmur::ServerContextCallback')
|
1075
|
+
T_ServerContextCallbackPrx = ::Ice::__declareProxy('::Murmur::ServerContextCallback')
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
T_ServerContextCallback.defineClass(ServerContextCallback, -1, true, false, nil, [], [])
|
1079
|
+
ServerContextCallback_mixin::ICE_TYPE = T_ServerContextCallback
|
1080
|
+
|
1081
|
+
T_ServerContextCallbackPrx.defineProxy(ServerContextCallbackPrx, T_ServerContextCallback)
|
1082
|
+
ServerContextCallbackPrx::ICE_TYPE = T_ServerContextCallbackPrx
|
1083
|
+
|
1084
|
+
ServerContextCallback_mixin::OP_contextAction = ::Ice::__defineOperation('contextAction', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0], [::Murmur::T_User, false, 0], [::Ice::T_int, false, 0], [::Ice::T_int, false, 0]], [], nil, [])
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
if not defined?(::Murmur::ServerAuthenticator_mixin)
|
1088
|
+
module ServerAuthenticator_mixin
|
1089
|
+
include ::Ice::Object_mixin
|
1090
|
+
|
1091
|
+
def ice_ids(current=nil)
|
1092
|
+
['::Ice::Object', '::Murmur::ServerAuthenticator']
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
def ice_id(current=nil)
|
1096
|
+
'::Murmur::ServerAuthenticator'
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
#
|
1100
|
+
# Operation signatures.
|
1101
|
+
#
|
1102
|
+
# def authenticate(name, pw, certificates, certhash, certstrong, current=nil)
|
1103
|
+
# def getInfo(id, current=nil)
|
1104
|
+
# def nameToId(name, current=nil)
|
1105
|
+
# def idToName(id, current=nil)
|
1106
|
+
# def idToTexture(id, current=nil)
|
1107
|
+
|
1108
|
+
def inspect
|
1109
|
+
::Ice::__stringify(self, T_ServerAuthenticator)
|
1110
|
+
end
|
1111
|
+
end
|
1112
|
+
class ServerAuthenticator
|
1113
|
+
include ServerAuthenticator_mixin
|
1114
|
+
|
1115
|
+
def ServerAuthenticator.ice_staticId()
|
1116
|
+
'::Murmur::ServerAuthenticator'
|
1117
|
+
end
|
1118
|
+
end
|
1119
|
+
module ServerAuthenticatorPrx_mixin
|
1120
|
+
|
1121
|
+
def authenticate(name, pw, certificates, certhash, certstrong, _ctx=nil)
|
1122
|
+
ServerAuthenticator_mixin::OP_authenticate.invoke(self, [name, pw, certificates, certhash, certstrong], _ctx)
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
def getInfo(id, _ctx=nil)
|
1126
|
+
ServerAuthenticator_mixin::OP_getInfo.invoke(self, [id], _ctx)
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
def nameToId(name, _ctx=nil)
|
1130
|
+
ServerAuthenticator_mixin::OP_nameToId.invoke(self, [name], _ctx)
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
def idToName(id, _ctx=nil)
|
1134
|
+
ServerAuthenticator_mixin::OP_idToName.invoke(self, [id], _ctx)
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
def idToTexture(id, _ctx=nil)
|
1138
|
+
ServerAuthenticator_mixin::OP_idToTexture.invoke(self, [id], _ctx)
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
class ServerAuthenticatorPrx < ::Ice::ObjectPrx
|
1142
|
+
include ServerAuthenticatorPrx_mixin
|
1143
|
+
|
1144
|
+
def ServerAuthenticatorPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
1145
|
+
ice_checkedCast(proxy, '::Murmur::ServerAuthenticator', facetOrCtx, _ctx)
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
def ServerAuthenticatorPrx.uncheckedCast(proxy, facet=nil)
|
1149
|
+
ice_uncheckedCast(proxy, facet)
|
1150
|
+
end
|
1151
|
+
def ServerAuthenticatorPrx.ice_staticId()
|
1152
|
+
'::Murmur::ServerAuthenticator'
|
1153
|
+
end
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
if not defined?(::Murmur::T_ServerAuthenticator)
|
1157
|
+
T_ServerAuthenticator = ::Ice::__declareClass('::Murmur::ServerAuthenticator')
|
1158
|
+
T_ServerAuthenticatorPrx = ::Ice::__declareProxy('::Murmur::ServerAuthenticator')
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
T_ServerAuthenticator.defineClass(ServerAuthenticator, -1, true, false, nil, [], [])
|
1162
|
+
ServerAuthenticator_mixin::ICE_TYPE = T_ServerAuthenticator
|
1163
|
+
|
1164
|
+
T_ServerAuthenticatorPrx.defineProxy(ServerAuthenticatorPrx, T_ServerAuthenticator)
|
1165
|
+
ServerAuthenticatorPrx::ICE_TYPE = T_ServerAuthenticatorPrx
|
1166
|
+
|
1167
|
+
ServerAuthenticator_mixin::OP_authenticate = ::Ice::__defineOperation('authenticate', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0], [::Murmur::T_CertificateList, false, 0], [::Ice::T_string, false, 0], [::Ice::T_bool, false, 0]], [[::Ice::T_string, false, 0], [::Murmur::T_GroupNameList, false, 0]], [::Ice::T_int, false, 0], [])
|
1168
|
+
ServerAuthenticator_mixin::OP_getInfo = ::Ice::__defineOperation('getInfo', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_int, false, 0]], [[::Murmur::T_UserInfoMap, false, 0]], [::Ice::T_bool, false, 0], [])
|
1169
|
+
ServerAuthenticator_mixin::OP_nameToId = ::Ice::__defineOperation('nameToId', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_int, false, 0], [])
|
1170
|
+
ServerAuthenticator_mixin::OP_idToName = ::Ice::__defineOperation('idToName', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_int, false, 0]], [], [::Ice::T_string, false, 0], [])
|
1171
|
+
ServerAuthenticator_mixin::OP_idToTexture = ::Ice::__defineOperation('idToTexture', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_int, false, 0]], [], [::Murmur::T_Texture, false, 0], [])
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
if not defined?(::Murmur::ServerUpdatingAuthenticator_mixin)
|
1175
|
+
module ServerUpdatingAuthenticator_mixin
|
1176
|
+
include ::Ice::Object_mixin
|
1177
|
+
|
1178
|
+
def ice_ids(current=nil)
|
1179
|
+
['::Ice::Object', '::Murmur::ServerAuthenticator', '::Murmur::ServerUpdatingAuthenticator']
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
def ice_id(current=nil)
|
1183
|
+
'::Murmur::ServerUpdatingAuthenticator'
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
#
|
1187
|
+
# Operation signatures.
|
1188
|
+
#
|
1189
|
+
# def registerUser(info, current=nil)
|
1190
|
+
# def unregisterUser(id, current=nil)
|
1191
|
+
# def getRegisteredUsers(filter, current=nil)
|
1192
|
+
# def setInfo(id, info, current=nil)
|
1193
|
+
# def setTexture(id, tex, current=nil)
|
1194
|
+
|
1195
|
+
def inspect
|
1196
|
+
::Ice::__stringify(self, T_ServerUpdatingAuthenticator)
|
1197
|
+
end
|
1198
|
+
end
|
1199
|
+
class ServerUpdatingAuthenticator
|
1200
|
+
include ServerUpdatingAuthenticator_mixin
|
1201
|
+
|
1202
|
+
def ServerUpdatingAuthenticator.ice_staticId()
|
1203
|
+
'::Murmur::ServerUpdatingAuthenticator'
|
1204
|
+
end
|
1205
|
+
end
|
1206
|
+
module ServerUpdatingAuthenticatorPrx_mixin
|
1207
|
+
include ::Murmur::ServerAuthenticatorPrx_mixin
|
1208
|
+
|
1209
|
+
def registerUser(info, _ctx=nil)
|
1210
|
+
ServerUpdatingAuthenticator_mixin::OP_registerUser.invoke(self, [info], _ctx)
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
def unregisterUser(id, _ctx=nil)
|
1214
|
+
ServerUpdatingAuthenticator_mixin::OP_unregisterUser.invoke(self, [id], _ctx)
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
def getRegisteredUsers(filter, _ctx=nil)
|
1218
|
+
ServerUpdatingAuthenticator_mixin::OP_getRegisteredUsers.invoke(self, [filter], _ctx)
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
def setInfo(id, info, _ctx=nil)
|
1222
|
+
ServerUpdatingAuthenticator_mixin::OP_setInfo.invoke(self, [id, info], _ctx)
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
def setTexture(id, tex, _ctx=nil)
|
1226
|
+
ServerUpdatingAuthenticator_mixin::OP_setTexture.invoke(self, [id, tex], _ctx)
|
1227
|
+
end
|
1228
|
+
end
|
1229
|
+
class ServerUpdatingAuthenticatorPrx < ::Ice::ObjectPrx
|
1230
|
+
include ServerUpdatingAuthenticatorPrx_mixin
|
1231
|
+
|
1232
|
+
def ServerUpdatingAuthenticatorPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
1233
|
+
ice_checkedCast(proxy, '::Murmur::ServerUpdatingAuthenticator', facetOrCtx, _ctx)
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
def ServerUpdatingAuthenticatorPrx.uncheckedCast(proxy, facet=nil)
|
1237
|
+
ice_uncheckedCast(proxy, facet)
|
1238
|
+
end
|
1239
|
+
def ServerUpdatingAuthenticatorPrx.ice_staticId()
|
1240
|
+
'::Murmur::ServerUpdatingAuthenticator'
|
1241
|
+
end
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
if not defined?(::Murmur::T_ServerUpdatingAuthenticator)
|
1245
|
+
T_ServerUpdatingAuthenticator = ::Ice::__declareClass('::Murmur::ServerUpdatingAuthenticator')
|
1246
|
+
T_ServerUpdatingAuthenticatorPrx = ::Ice::__declareProxy('::Murmur::ServerUpdatingAuthenticator')
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
T_ServerUpdatingAuthenticator.defineClass(ServerUpdatingAuthenticator, -1, true, false, nil, [::Murmur::T_ServerAuthenticator], [])
|
1250
|
+
ServerUpdatingAuthenticator_mixin::ICE_TYPE = T_ServerUpdatingAuthenticator
|
1251
|
+
|
1252
|
+
T_ServerUpdatingAuthenticatorPrx.defineProxy(ServerUpdatingAuthenticatorPrx, T_ServerUpdatingAuthenticator)
|
1253
|
+
ServerUpdatingAuthenticatorPrx::ICE_TYPE = T_ServerUpdatingAuthenticatorPrx
|
1254
|
+
|
1255
|
+
ServerUpdatingAuthenticator_mixin::OP_registerUser = ::Ice::__defineOperation('registerUser', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Murmur::T_UserInfoMap, false, 0]], [], [::Ice::T_int, false, 0], [])
|
1256
|
+
ServerUpdatingAuthenticator_mixin::OP_unregisterUser = ::Ice::__defineOperation('unregisterUser', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Ice::T_int, false, 0]], [], [::Ice::T_int, false, 0], [])
|
1257
|
+
ServerUpdatingAuthenticator_mixin::OP_getRegisteredUsers = ::Ice::__defineOperation('getRegisteredUsers', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_string, false, 0]], [], [::Murmur::T_NameMap, false, 0], [])
|
1258
|
+
ServerUpdatingAuthenticator_mixin::OP_setInfo = ::Ice::__defineOperation('setInfo', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_int, false, 0], [::Murmur::T_UserInfoMap, false, 0]], [], [::Ice::T_int, false, 0], [])
|
1259
|
+
ServerUpdatingAuthenticator_mixin::OP_setTexture = ::Ice::__defineOperation('setTexture', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, false, nil, [[::Ice::T_int, false, 0], [::Murmur::T_Texture, false, 0]], [], [::Ice::T_int, false, 0], [])
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
if not defined?(::Murmur::Server_mixin)
|
1263
|
+
module Server_mixin
|
1264
|
+
include ::Ice::Object_mixin
|
1265
|
+
|
1266
|
+
def ice_ids(current=nil)
|
1267
|
+
['::Ice::Object', '::Murmur::Server']
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
def ice_id(current=nil)
|
1271
|
+
'::Murmur::Server'
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
#
|
1275
|
+
# Operation signatures.
|
1276
|
+
#
|
1277
|
+
# def isRunning(current=nil)
|
1278
|
+
# def start(current=nil)
|
1279
|
+
# def stop(current=nil)
|
1280
|
+
# def delete(current=nil)
|
1281
|
+
# def id(current=nil)
|
1282
|
+
# def addCallback(cb, current=nil)
|
1283
|
+
# def removeCallback(cb, current=nil)
|
1284
|
+
# def setAuthenticator(auth, current=nil)
|
1285
|
+
# def getConf(key, current=nil)
|
1286
|
+
# def getAllConf(current=nil)
|
1287
|
+
# def setConf(key, value, current=nil)
|
1288
|
+
# def setSuperuserPassword(pw, current=nil)
|
1289
|
+
# def getLog(first, last, current=nil)
|
1290
|
+
# def getLogLen(current=nil)
|
1291
|
+
# def getUsers(current=nil)
|
1292
|
+
# def getChannels(current=nil)
|
1293
|
+
# def getCertificateList(session, current=nil)
|
1294
|
+
# def getTree(current=nil)
|
1295
|
+
# def getBans(current=nil)
|
1296
|
+
# def setBans(bans, current=nil)
|
1297
|
+
# def kickUser(session, reason, current=nil)
|
1298
|
+
# def getState(session, current=nil)
|
1299
|
+
# def setState(state, current=nil)
|
1300
|
+
# def sendMessage(session, text, current=nil)
|
1301
|
+
# def hasPermission(session, channelid, perm, current=nil)
|
1302
|
+
# def effectivePermissions(session, channelid, current=nil)
|
1303
|
+
# def addContextCallback(session, action, text, cb, ctx, current=nil)
|
1304
|
+
# def removeContextCallback(cb, current=nil)
|
1305
|
+
# def getChannelState(channelid, current=nil)
|
1306
|
+
# def setChannelState(state, current=nil)
|
1307
|
+
# def removeChannel(channelid, current=nil)
|
1308
|
+
# def addChannel(name, parent, current=nil)
|
1309
|
+
# def sendMessageChannel(channelid, tree, text, current=nil)
|
1310
|
+
# def getACL(channelid, current=nil)
|
1311
|
+
# def setACL(channelid, acls, groups, inherit, current=nil)
|
1312
|
+
# def addUserToGroup(channelid, session, group, current=nil)
|
1313
|
+
# def removeUserFromGroup(channelid, session, group, current=nil)
|
1314
|
+
# def redirectWhisperGroup(session, source, target, current=nil)
|
1315
|
+
# def getUserNames(ids, current=nil)
|
1316
|
+
# def getUserIds(names, current=nil)
|
1317
|
+
# def registerUser(info, current=nil)
|
1318
|
+
# def unregisterUser(userid, current=nil)
|
1319
|
+
# def updateRegistration(userid, info, current=nil)
|
1320
|
+
# def getRegistration(userid, current=nil)
|
1321
|
+
# def getRegisteredUsers(filter, current=nil)
|
1322
|
+
# def verifyPassword(name, pw, current=nil)
|
1323
|
+
# def getTexture(userid, current=nil)
|
1324
|
+
# def setTexture(userid, tex, current=nil)
|
1325
|
+
# def getUptime(current=nil)
|
1326
|
+
|
1327
|
+
def inspect
|
1328
|
+
::Ice::__stringify(self, T_Server)
|
1329
|
+
end
|
1330
|
+
end
|
1331
|
+
class Server
|
1332
|
+
include Server_mixin
|
1333
|
+
|
1334
|
+
def Server.ice_staticId()
|
1335
|
+
'::Murmur::Server'
|
1336
|
+
end
|
1337
|
+
end
|
1338
|
+
module ServerPrx_mixin
|
1339
|
+
|
1340
|
+
def isRunning(_ctx=nil)
|
1341
|
+
Server_mixin::OP_isRunning.invoke(self, [], _ctx)
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
def start(_ctx=nil)
|
1345
|
+
Server_mixin::OP_start.invoke(self, [], _ctx)
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
def stop(_ctx=nil)
|
1349
|
+
Server_mixin::OP_stop.invoke(self, [], _ctx)
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
def delete(_ctx=nil)
|
1353
|
+
Server_mixin::OP_delete.invoke(self, [], _ctx)
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
def id(_ctx=nil)
|
1357
|
+
Server_mixin::OP_id.invoke(self, [], _ctx)
|
1358
|
+
end
|
1359
|
+
|
1360
|
+
def addCallback(cb, _ctx=nil)
|
1361
|
+
Server_mixin::OP_addCallback.invoke(self, [cb], _ctx)
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
def removeCallback(cb, _ctx=nil)
|
1365
|
+
Server_mixin::OP_removeCallback.invoke(self, [cb], _ctx)
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
def setAuthenticator(auth, _ctx=nil)
|
1369
|
+
Server_mixin::OP_setAuthenticator.invoke(self, [auth], _ctx)
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
def getConf(key, _ctx=nil)
|
1373
|
+
Server_mixin::OP_getConf.invoke(self, [key], _ctx)
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
def getAllConf(_ctx=nil)
|
1377
|
+
Server_mixin::OP_getAllConf.invoke(self, [], _ctx)
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
def setConf(key, value, _ctx=nil)
|
1381
|
+
Server_mixin::OP_setConf.invoke(self, [key, value], _ctx)
|
1382
|
+
end
|
1383
|
+
|
1384
|
+
def setSuperuserPassword(pw, _ctx=nil)
|
1385
|
+
Server_mixin::OP_setSuperuserPassword.invoke(self, [pw], _ctx)
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
def getLog(first, last, _ctx=nil)
|
1389
|
+
Server_mixin::OP_getLog.invoke(self, [first, last], _ctx)
|
1390
|
+
end
|
1391
|
+
|
1392
|
+
def getLogLen(_ctx=nil)
|
1393
|
+
Server_mixin::OP_getLogLen.invoke(self, [], _ctx)
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
def getUsers(_ctx=nil)
|
1397
|
+
Server_mixin::OP_getUsers.invoke(self, [], _ctx)
|
1398
|
+
end
|
1399
|
+
|
1400
|
+
def getChannels(_ctx=nil)
|
1401
|
+
Server_mixin::OP_getChannels.invoke(self, [], _ctx)
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
def getCertificateList(session, _ctx=nil)
|
1405
|
+
Server_mixin::OP_getCertificateList.invoke(self, [session], _ctx)
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
def getTree(_ctx=nil)
|
1409
|
+
Server_mixin::OP_getTree.invoke(self, [], _ctx)
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
def getBans(_ctx=nil)
|
1413
|
+
Server_mixin::OP_getBans.invoke(self, [], _ctx)
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
def setBans(bans, _ctx=nil)
|
1417
|
+
Server_mixin::OP_setBans.invoke(self, [bans], _ctx)
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
def kickUser(session, reason, _ctx=nil)
|
1421
|
+
Server_mixin::OP_kickUser.invoke(self, [session, reason], _ctx)
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
def getState(session, _ctx=nil)
|
1425
|
+
Server_mixin::OP_getState.invoke(self, [session], _ctx)
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
def setState(state, _ctx=nil)
|
1429
|
+
Server_mixin::OP_setState.invoke(self, [state], _ctx)
|
1430
|
+
end
|
1431
|
+
|
1432
|
+
def sendMessage(session, text, _ctx=nil)
|
1433
|
+
Server_mixin::OP_sendMessage.invoke(self, [session, text], _ctx)
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
def hasPermission(session, channelid, perm, _ctx=nil)
|
1437
|
+
Server_mixin::OP_hasPermission.invoke(self, [session, channelid, perm], _ctx)
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
def effectivePermissions(session, channelid, _ctx=nil)
|
1441
|
+
Server_mixin::OP_effectivePermissions.invoke(self, [session, channelid], _ctx)
|
1442
|
+
end
|
1443
|
+
|
1444
|
+
def addContextCallback(session, action, text, cb, ctx, _ctx=nil)
|
1445
|
+
Server_mixin::OP_addContextCallback.invoke(self, [session, action, text, cb, ctx], _ctx)
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
def removeContextCallback(cb, _ctx=nil)
|
1449
|
+
Server_mixin::OP_removeContextCallback.invoke(self, [cb], _ctx)
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
def getChannelState(channelid, _ctx=nil)
|
1453
|
+
Server_mixin::OP_getChannelState.invoke(self, [channelid], _ctx)
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
def setChannelState(state, _ctx=nil)
|
1457
|
+
Server_mixin::OP_setChannelState.invoke(self, [state], _ctx)
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
def removeChannel(channelid, _ctx=nil)
|
1461
|
+
Server_mixin::OP_removeChannel.invoke(self, [channelid], _ctx)
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
def addChannel(name, parent, _ctx=nil)
|
1465
|
+
Server_mixin::OP_addChannel.invoke(self, [name, parent], _ctx)
|
1466
|
+
end
|
1467
|
+
|
1468
|
+
def sendMessageChannel(channelid, tree, text, _ctx=nil)
|
1469
|
+
Server_mixin::OP_sendMessageChannel.invoke(self, [channelid, tree, text], _ctx)
|
1470
|
+
end
|
1471
|
+
|
1472
|
+
def getACL(channelid, _ctx=nil)
|
1473
|
+
Server_mixin::OP_getACL.invoke(self, [channelid], _ctx)
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
def setACL(channelid, acls, groups, inherit, _ctx=nil)
|
1477
|
+
Server_mixin::OP_setACL.invoke(self, [channelid, acls, groups, inherit], _ctx)
|
1478
|
+
end
|
1479
|
+
|
1480
|
+
def addUserToGroup(channelid, session, group, _ctx=nil)
|
1481
|
+
Server_mixin::OP_addUserToGroup.invoke(self, [channelid, session, group], _ctx)
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
def removeUserFromGroup(channelid, session, group, _ctx=nil)
|
1485
|
+
Server_mixin::OP_removeUserFromGroup.invoke(self, [channelid, session, group], _ctx)
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
def redirectWhisperGroup(session, source, target, _ctx=nil)
|
1489
|
+
Server_mixin::OP_redirectWhisperGroup.invoke(self, [session, source, target], _ctx)
|
1490
|
+
end
|
1491
|
+
|
1492
|
+
def getUserNames(ids, _ctx=nil)
|
1493
|
+
Server_mixin::OP_getUserNames.invoke(self, [ids], _ctx)
|
1494
|
+
end
|
1495
|
+
|
1496
|
+
def getUserIds(names, _ctx=nil)
|
1497
|
+
Server_mixin::OP_getUserIds.invoke(self, [names], _ctx)
|
1498
|
+
end
|
1499
|
+
|
1500
|
+
def registerUser(info, _ctx=nil)
|
1501
|
+
Server_mixin::OP_registerUser.invoke(self, [info], _ctx)
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
def unregisterUser(userid, _ctx=nil)
|
1505
|
+
Server_mixin::OP_unregisterUser.invoke(self, [userid], _ctx)
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
def updateRegistration(userid, info, _ctx=nil)
|
1509
|
+
Server_mixin::OP_updateRegistration.invoke(self, [userid, info], _ctx)
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
def getRegistration(userid, _ctx=nil)
|
1513
|
+
Server_mixin::OP_getRegistration.invoke(self, [userid], _ctx)
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
def getRegisteredUsers(filter, _ctx=nil)
|
1517
|
+
Server_mixin::OP_getRegisteredUsers.invoke(self, [filter], _ctx)
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
def verifyPassword(name, pw, _ctx=nil)
|
1521
|
+
Server_mixin::OP_verifyPassword.invoke(self, [name, pw], _ctx)
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
def getTexture(userid, _ctx=nil)
|
1525
|
+
Server_mixin::OP_getTexture.invoke(self, [userid], _ctx)
|
1526
|
+
end
|
1527
|
+
|
1528
|
+
def setTexture(userid, tex, _ctx=nil)
|
1529
|
+
Server_mixin::OP_setTexture.invoke(self, [userid, tex], _ctx)
|
1530
|
+
end
|
1531
|
+
|
1532
|
+
def getUptime(_ctx=nil)
|
1533
|
+
Server_mixin::OP_getUptime.invoke(self, [], _ctx)
|
1534
|
+
end
|
1535
|
+
end
|
1536
|
+
class ServerPrx < ::Ice::ObjectPrx
|
1537
|
+
include ServerPrx_mixin
|
1538
|
+
|
1539
|
+
def ServerPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
1540
|
+
ice_checkedCast(proxy, '::Murmur::Server', facetOrCtx, _ctx)
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
def ServerPrx.uncheckedCast(proxy, facet=nil)
|
1544
|
+
ice_uncheckedCast(proxy, facet)
|
1545
|
+
end
|
1546
|
+
def ServerPrx.ice_staticId()
|
1547
|
+
'::Murmur::Server'
|
1548
|
+
end
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
if not defined?(::Murmur::T_Server)
|
1552
|
+
T_Server = ::Ice::__declareClass('::Murmur::Server')
|
1553
|
+
T_ServerPrx = ::Ice::__declareProxy('::Murmur::Server')
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
T_Server.defineClass(Server, -1, true, false, nil, [], [])
|
1557
|
+
Server_mixin::ICE_TYPE = T_Server
|
1558
|
+
|
1559
|
+
T_ServerPrx.defineProxy(ServerPrx, T_Server)
|
1560
|
+
ServerPrx::ICE_TYPE = T_ServerPrx
|
1561
|
+
|
1562
|
+
Server_mixin::OP_isRunning = ::Ice::__defineOperation('isRunning', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Ice::T_bool, false, 0], [::Murmur::T_InvalidSecretException])
|
1563
|
+
Server_mixin::OP_start = ::Ice::__defineOperation('start', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_ServerFailureException, ::Murmur::T_InvalidSecretException])
|
1564
|
+
Server_mixin::OP_stop = ::Ice::__defineOperation('stop', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1565
|
+
Server_mixin::OP_delete = ::Ice::__defineOperation('delete', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1566
|
+
Server_mixin::OP_id = ::Ice::__defineOperation('id', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Ice::T_int, false, 0], [::Murmur::T_InvalidSecretException])
|
1567
|
+
Server_mixin::OP_addCallback = ::Ice::__defineOperation('addCallback', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Murmur::T_ServerCallbackPrx, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidCallbackException, ::Murmur::T_InvalidSecretException])
|
1568
|
+
Server_mixin::OP_removeCallback = ::Ice::__defineOperation('removeCallback', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Murmur::T_ServerCallbackPrx, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidCallbackException, ::Murmur::T_InvalidSecretException])
|
1569
|
+
Server_mixin::OP_setAuthenticator = ::Ice::__defineOperation('setAuthenticator', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Murmur::T_ServerAuthenticatorPrx, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidCallbackException, ::Murmur::T_InvalidSecretException])
|
1570
|
+
Server_mixin::OP_getConf = ::Ice::__defineOperation('getConf', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_string, false, 0], [::Murmur::T_InvalidSecretException])
|
1571
|
+
Server_mixin::OP_getAllConf = ::Ice::__defineOperation('getAllConf', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Murmur::T_ConfigMap, false, 0], [::Murmur::T_InvalidSecretException])
|
1572
|
+
Server_mixin::OP_setConf = ::Ice::__defineOperation('setConf', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [], nil, [::Murmur::T_InvalidSecretException])
|
1573
|
+
Server_mixin::OP_setSuperuserPassword = ::Ice::__defineOperation('setSuperuserPassword', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0]], [], nil, [::Murmur::T_InvalidSecretException])
|
1574
|
+
Server_mixin::OP_getLog = ::Ice::__defineOperation('getLog', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0], [::Ice::T_int, false, 0]], [], [::Murmur::T_LogList, false, 0], [::Murmur::T_InvalidSecretException])
|
1575
|
+
Server_mixin::OP_getLogLen = ::Ice::__defineOperation('getLogLen', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Ice::T_int, false, 0], [::Murmur::T_InvalidSecretException])
|
1576
|
+
Server_mixin::OP_getUsers = ::Ice::__defineOperation('getUsers', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Murmur::T_UserMap, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1577
|
+
Server_mixin::OP_getChannels = ::Ice::__defineOperation('getChannels', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Murmur::T_ChannelMap, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1578
|
+
Server_mixin::OP_getCertificateList = ::Ice::__defineOperation('getCertificateList', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0]], [], [::Murmur::T_CertificateList, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSessionException, ::Murmur::T_InvalidSecretException])
|
1579
|
+
Server_mixin::OP_getTree = ::Ice::__defineOperation('getTree', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Murmur::T_Tree, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1580
|
+
Server_mixin::OP_getBans = ::Ice::__defineOperation('getBans', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Murmur::T_BanList, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1581
|
+
Server_mixin::OP_setBans = ::Ice::__defineOperation('setBans', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Murmur::T_BanList, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1582
|
+
Server_mixin::OP_kickUser = ::Ice::__defineOperation('kickUser', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_int, false, 0], [::Ice::T_string, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSessionException, ::Murmur::T_InvalidSecretException])
|
1583
|
+
Server_mixin::OP_getState = ::Ice::__defineOperation('getState', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0]], [], [::Murmur::T_User, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSessionException, ::Murmur::T_InvalidSecretException])
|
1584
|
+
Server_mixin::OP_setState = ::Ice::__defineOperation('setState', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Murmur::T_User, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSessionException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSecretException])
|
1585
|
+
Server_mixin::OP_sendMessage = ::Ice::__defineOperation('sendMessage', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_int, false, 0], [::Ice::T_string, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSessionException, ::Murmur::T_InvalidSecretException])
|
1586
|
+
Server_mixin::OP_hasPermission = ::Ice::__defineOperation('hasPermission', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_int, false, 0], [::Ice::T_int, false, 0], [::Ice::T_int, false, 0]], [], [::Ice::T_bool, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSessionException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSecretException])
|
1587
|
+
Server_mixin::OP_effectivePermissions = ::Ice::__defineOperation('effectivePermissions', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0], [::Ice::T_int, false, 0]], [], [::Ice::T_int, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSessionException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSecretException])
|
1588
|
+
Server_mixin::OP_addContextCallback = ::Ice::__defineOperation('addContextCallback', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_int, false, 0], [::Ice::T_string, false, 0], [::Ice::T_string, false, 0], [::Murmur::T_ServerContextCallbackPrx, false, 0], [::Ice::T_int, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidCallbackException, ::Murmur::T_InvalidSecretException])
|
1589
|
+
Server_mixin::OP_removeContextCallback = ::Ice::__defineOperation('removeContextCallback', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Murmur::T_ServerContextCallbackPrx, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidCallbackException, ::Murmur::T_InvalidSecretException])
|
1590
|
+
Server_mixin::OP_getChannelState = ::Ice::__defineOperation('getChannelState', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0]], [], [::Murmur::T_Channel, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSecretException])
|
1591
|
+
Server_mixin::OP_setChannelState = ::Ice::__defineOperation('setChannelState', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Murmur::T_Channel, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSecretException, ::Murmur::T_NestingLimitException])
|
1592
|
+
Server_mixin::OP_removeChannel = ::Ice::__defineOperation('removeChannel', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_int, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSecretException])
|
1593
|
+
Server_mixin::OP_addChannel = ::Ice::__defineOperation('addChannel', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_int, false, 0]], [], [::Ice::T_int, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSecretException, ::Murmur::T_NestingLimitException])
|
1594
|
+
Server_mixin::OP_sendMessageChannel = ::Ice::__defineOperation('sendMessageChannel', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_int, false, 0], [::Ice::T_bool, false, 0], [::Ice::T_string, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSecretException])
|
1595
|
+
Server_mixin::OP_getACL = ::Ice::__defineOperation('getACL', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0]], [[::Murmur::T_ACLList, false, 0], [::Murmur::T_GroupList, false, 0], [::Ice::T_bool, false, 0]], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSecretException])
|
1596
|
+
Server_mixin::OP_setACL = ::Ice::__defineOperation('setACL', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0], [::Murmur::T_ACLList, false, 0], [::Murmur::T_GroupList, false, 0], [::Ice::T_bool, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSecretException])
|
1597
|
+
Server_mixin::OP_addUserToGroup = ::Ice::__defineOperation('addUserToGroup', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0], [::Ice::T_int, false, 0], [::Ice::T_string, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSessionException, ::Murmur::T_InvalidSecretException])
|
1598
|
+
Server_mixin::OP_removeUserFromGroup = ::Ice::__defineOperation('removeUserFromGroup', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0], [::Ice::T_int, false, 0], [::Ice::T_string, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidChannelException, ::Murmur::T_InvalidSessionException, ::Murmur::T_InvalidSecretException])
|
1599
|
+
Server_mixin::OP_redirectWhisperGroup = ::Ice::__defineOperation('redirectWhisperGroup', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0], [::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSessionException, ::Murmur::T_InvalidSecretException])
|
1600
|
+
Server_mixin::OP_getUserNames = ::Ice::__defineOperation('getUserNames', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Murmur::T_IdList, false, 0]], [], [::Murmur::T_NameMap, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1601
|
+
Server_mixin::OP_getUserIds = ::Ice::__defineOperation('getUserIds', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Murmur::T_NameList, false, 0]], [], [::Murmur::T_IdMap, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1602
|
+
Server_mixin::OP_registerUser = ::Ice::__defineOperation('registerUser', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Murmur::T_UserInfoMap, false, 0]], [], [::Ice::T_int, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidUserException, ::Murmur::T_InvalidSecretException])
|
1603
|
+
Server_mixin::OP_unregisterUser = ::Ice::__defineOperation('unregisterUser', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Ice::T_int, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidUserException, ::Murmur::T_InvalidSecretException])
|
1604
|
+
Server_mixin::OP_updateRegistration = ::Ice::__defineOperation('updateRegistration', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0], [::Murmur::T_UserInfoMap, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidUserException, ::Murmur::T_InvalidSecretException])
|
1605
|
+
Server_mixin::OP_getRegistration = ::Ice::__defineOperation('getRegistration', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0]], [], [::Murmur::T_UserInfoMap, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidUserException, ::Murmur::T_InvalidSecretException])
|
1606
|
+
Server_mixin::OP_getRegisteredUsers = ::Ice::__defineOperation('getRegisteredUsers', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0]], [], [::Murmur::T_NameMap, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1607
|
+
Server_mixin::OP_verifyPassword = ::Ice::__defineOperation('verifyPassword', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0]], [], [::Ice::T_int, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1608
|
+
Server_mixin::OP_getTexture = ::Ice::__defineOperation('getTexture', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0]], [], [::Murmur::T_Texture, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidUserException, ::Murmur::T_InvalidSecretException])
|
1609
|
+
Server_mixin::OP_setTexture = ::Ice::__defineOperation('setTexture', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0], [::Murmur::T_Texture, false, 0]], [], nil, [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidUserException, ::Murmur::T_InvalidTextureException, ::Murmur::T_InvalidSecretException])
|
1610
|
+
Server_mixin::OP_getUptime = ::Ice::__defineOperation('getUptime', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Ice::T_int, false, 0], [::Murmur::T_ServerBootedException, ::Murmur::T_InvalidSecretException])
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
if not defined?(::Murmur::MetaCallback_mixin)
|
1614
|
+
module MetaCallback_mixin
|
1615
|
+
include ::Ice::Object_mixin
|
1616
|
+
|
1617
|
+
def ice_ids(current=nil)
|
1618
|
+
['::Ice::Object', '::Murmur::MetaCallback']
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
def ice_id(current=nil)
|
1622
|
+
'::Murmur::MetaCallback'
|
1623
|
+
end
|
1624
|
+
|
1625
|
+
#
|
1626
|
+
# Operation signatures.
|
1627
|
+
#
|
1628
|
+
# def started(srv, current=nil)
|
1629
|
+
# def stopped(srv, current=nil)
|
1630
|
+
|
1631
|
+
def inspect
|
1632
|
+
::Ice::__stringify(self, T_MetaCallback)
|
1633
|
+
end
|
1634
|
+
end
|
1635
|
+
class MetaCallback
|
1636
|
+
include MetaCallback_mixin
|
1637
|
+
|
1638
|
+
def MetaCallback.ice_staticId()
|
1639
|
+
'::Murmur::MetaCallback'
|
1640
|
+
end
|
1641
|
+
end
|
1642
|
+
module MetaCallbackPrx_mixin
|
1643
|
+
|
1644
|
+
def started(srv, _ctx=nil)
|
1645
|
+
MetaCallback_mixin::OP_started.invoke(self, [srv], _ctx)
|
1646
|
+
end
|
1647
|
+
|
1648
|
+
def stopped(srv, _ctx=nil)
|
1649
|
+
MetaCallback_mixin::OP_stopped.invoke(self, [srv], _ctx)
|
1650
|
+
end
|
1651
|
+
end
|
1652
|
+
class MetaCallbackPrx < ::Ice::ObjectPrx
|
1653
|
+
include MetaCallbackPrx_mixin
|
1654
|
+
|
1655
|
+
def MetaCallbackPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
1656
|
+
ice_checkedCast(proxy, '::Murmur::MetaCallback', facetOrCtx, _ctx)
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
def MetaCallbackPrx.uncheckedCast(proxy, facet=nil)
|
1660
|
+
ice_uncheckedCast(proxy, facet)
|
1661
|
+
end
|
1662
|
+
def MetaCallbackPrx.ice_staticId()
|
1663
|
+
'::Murmur::MetaCallback'
|
1664
|
+
end
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
if not defined?(::Murmur::T_MetaCallback)
|
1668
|
+
T_MetaCallback = ::Ice::__declareClass('::Murmur::MetaCallback')
|
1669
|
+
T_MetaCallbackPrx = ::Ice::__declareProxy('::Murmur::MetaCallback')
|
1670
|
+
end
|
1671
|
+
|
1672
|
+
T_MetaCallback.defineClass(MetaCallback, -1, true, false, nil, [], [])
|
1673
|
+
MetaCallback_mixin::ICE_TYPE = T_MetaCallback
|
1674
|
+
|
1675
|
+
T_MetaCallbackPrx.defineProxy(MetaCallbackPrx, T_MetaCallback)
|
1676
|
+
MetaCallbackPrx::ICE_TYPE = T_MetaCallbackPrx
|
1677
|
+
|
1678
|
+
MetaCallback_mixin::OP_started = ::Ice::__defineOperation('started', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Murmur::T_ServerPrx, false, 0]], [], nil, [])
|
1679
|
+
MetaCallback_mixin::OP_stopped = ::Ice::__defineOperation('stopped', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, false, nil, [[::Murmur::T_ServerPrx, false, 0]], [], nil, [])
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
if not defined?(::Murmur::T_ServerList)
|
1683
|
+
T_ServerList = ::Ice::__defineSequence('::Murmur::ServerList', ::Murmur::T_ServerPrx)
|
1684
|
+
end
|
1685
|
+
|
1686
|
+
if not defined?(::Murmur::Meta_mixin)
|
1687
|
+
module Meta_mixin
|
1688
|
+
include ::Ice::Object_mixin
|
1689
|
+
|
1690
|
+
def ice_ids(current=nil)
|
1691
|
+
['::Ice::Object', '::Murmur::Meta']
|
1692
|
+
end
|
1693
|
+
|
1694
|
+
def ice_id(current=nil)
|
1695
|
+
'::Murmur::Meta'
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
#
|
1699
|
+
# Operation signatures.
|
1700
|
+
#
|
1701
|
+
# def getServer(id, current=nil)
|
1702
|
+
# def newServer(current=nil)
|
1703
|
+
# def getBootedServers(current=nil)
|
1704
|
+
# def getAllServers(current=nil)
|
1705
|
+
# def getDefaultConf(current=nil)
|
1706
|
+
# def getVersion(current=nil)
|
1707
|
+
# def addCallback(cb, current=nil)
|
1708
|
+
# def removeCallback(cb, current=nil)
|
1709
|
+
# def getUptime(current=nil)
|
1710
|
+
# def getSlice(current=nil)
|
1711
|
+
# def getSliceChecksums(current=nil)
|
1712
|
+
|
1713
|
+
def inspect
|
1714
|
+
::Ice::__stringify(self, T_Meta)
|
1715
|
+
end
|
1716
|
+
end
|
1717
|
+
class Meta
|
1718
|
+
include Meta_mixin
|
1719
|
+
|
1720
|
+
def Meta.ice_staticId()
|
1721
|
+
'::Murmur::Meta'
|
1722
|
+
end
|
1723
|
+
end
|
1724
|
+
module MetaPrx_mixin
|
1725
|
+
|
1726
|
+
def getServer(id, _ctx=nil)
|
1727
|
+
Meta_mixin::OP_getServer.invoke(self, [id], _ctx)
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
def newServer(_ctx=nil)
|
1731
|
+
Meta_mixin::OP_newServer.invoke(self, [], _ctx)
|
1732
|
+
end
|
1733
|
+
|
1734
|
+
def getBootedServers(_ctx=nil)
|
1735
|
+
Meta_mixin::OP_getBootedServers.invoke(self, [], _ctx)
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
def getAllServers(_ctx=nil)
|
1739
|
+
Meta_mixin::OP_getAllServers.invoke(self, [], _ctx)
|
1740
|
+
end
|
1741
|
+
|
1742
|
+
def getDefaultConf(_ctx=nil)
|
1743
|
+
Meta_mixin::OP_getDefaultConf.invoke(self, [], _ctx)
|
1744
|
+
end
|
1745
|
+
|
1746
|
+
def getVersion(_ctx=nil)
|
1747
|
+
Meta_mixin::OP_getVersion.invoke(self, [], _ctx)
|
1748
|
+
end
|
1749
|
+
|
1750
|
+
def addCallback(cb, _ctx=nil)
|
1751
|
+
Meta_mixin::OP_addCallback.invoke(self, [cb], _ctx)
|
1752
|
+
end
|
1753
|
+
|
1754
|
+
def removeCallback(cb, _ctx=nil)
|
1755
|
+
Meta_mixin::OP_removeCallback.invoke(self, [cb], _ctx)
|
1756
|
+
end
|
1757
|
+
|
1758
|
+
def getUptime(_ctx=nil)
|
1759
|
+
Meta_mixin::OP_getUptime.invoke(self, [], _ctx)
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
def getSlice(_ctx=nil)
|
1763
|
+
Meta_mixin::OP_getSlice.invoke(self, [], _ctx)
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
def getSliceChecksums(_ctx=nil)
|
1767
|
+
Meta_mixin::OP_getSliceChecksums.invoke(self, [], _ctx)
|
1768
|
+
end
|
1769
|
+
end
|
1770
|
+
class MetaPrx < ::Ice::ObjectPrx
|
1771
|
+
include MetaPrx_mixin
|
1772
|
+
|
1773
|
+
def MetaPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
|
1774
|
+
ice_checkedCast(proxy, '::Murmur::Meta', facetOrCtx, _ctx)
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
def MetaPrx.uncheckedCast(proxy, facet=nil)
|
1778
|
+
ice_uncheckedCast(proxy, facet)
|
1779
|
+
end
|
1780
|
+
def MetaPrx.ice_staticId()
|
1781
|
+
'::Murmur::Meta'
|
1782
|
+
end
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
if not defined?(::Murmur::T_Meta)
|
1786
|
+
T_Meta = ::Ice::__declareClass('::Murmur::Meta')
|
1787
|
+
T_MetaPrx = ::Ice::__declareProxy('::Murmur::Meta')
|
1788
|
+
end
|
1789
|
+
|
1790
|
+
T_Meta.defineClass(Meta, -1, true, false, nil, [], [])
|
1791
|
+
Meta_mixin::ICE_TYPE = T_Meta
|
1792
|
+
|
1793
|
+
T_MetaPrx.defineProxy(MetaPrx, T_Meta)
|
1794
|
+
MetaPrx::ICE_TYPE = T_MetaPrx
|
1795
|
+
|
1796
|
+
Meta_mixin::OP_getServer = ::Ice::__defineOperation('getServer', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_int, false, 0]], [], [::Murmur::T_ServerPrx, false, 0], [::Murmur::T_InvalidSecretException])
|
1797
|
+
Meta_mixin::OP_newServer = ::Ice::__defineOperation('newServer', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [], [], [::Murmur::T_ServerPrx, false, 0], [::Murmur::T_InvalidSecretException])
|
1798
|
+
Meta_mixin::OP_getBootedServers = ::Ice::__defineOperation('getBootedServers', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Murmur::T_ServerList, false, 0], [::Murmur::T_InvalidSecretException])
|
1799
|
+
Meta_mixin::OP_getAllServers = ::Ice::__defineOperation('getAllServers', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Murmur::T_ServerList, false, 0], [::Murmur::T_InvalidSecretException])
|
1800
|
+
Meta_mixin::OP_getDefaultConf = ::Ice::__defineOperation('getDefaultConf', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Murmur::T_ConfigMap, false, 0], [::Murmur::T_InvalidSecretException])
|
1801
|
+
Meta_mixin::OP_getVersion = ::Ice::__defineOperation('getVersion', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [[::Ice::T_int, false, 0], [::Ice::T_int, false, 0], [::Ice::T_int, false, 0], [::Ice::T_string, false, 0]], nil, [])
|
1802
|
+
Meta_mixin::OP_addCallback = ::Ice::__defineOperation('addCallback', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Murmur::T_MetaCallbackPrx, false, 0]], [], nil, [::Murmur::T_InvalidCallbackException, ::Murmur::T_InvalidSecretException])
|
1803
|
+
Meta_mixin::OP_removeCallback = ::Ice::__defineOperation('removeCallback', ::Ice::OperationMode::Normal, ::Ice::OperationMode::Normal, true, nil, [[::Murmur::T_MetaCallbackPrx, false, 0]], [], nil, [::Murmur::T_InvalidCallbackException, ::Murmur::T_InvalidSecretException])
|
1804
|
+
Meta_mixin::OP_getUptime = ::Ice::__defineOperation('getUptime', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Ice::T_int, false, 0], [])
|
1805
|
+
Meta_mixin::OP_getSlice = ::Ice::__defineOperation('getSlice', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Ice::T_string, false, 0], [])
|
1806
|
+
Meta_mixin::OP_getSliceChecksums = ::Ice::__defineOperation('getSliceChecksums', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [], [], [::Ice::T_SliceChecksumDict, false, 0], [])
|
1807
|
+
end
|
1808
|
+
end
|