murmur-rpc 0.0.1

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