Advertisement
Guest User

Untitled

a guest
May 19th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 MB | None | 0 0
  1. // **********************************************************************
  2. //
  3. // Copyright (c) 2003-2011 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.4.2
  11. //
  12. // <auto-generated>
  13. //
  14. // Generated from file `Murmur_13x.ice'
  15. //
  16. // Warning: do not edit this file.
  17. //
  18. // </auto-generated>
  19. //
  20.  
  21.  
  22. using _System = global::System;
  23. using _Microsoft = global::Microsoft;
  24.  
  25. #pragma warning disable 1591
  26.  
  27. namespace Murmur
  28. {
  29. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  30. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  31. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  32. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  33. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  34. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  35. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  36. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  37. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  38. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  39. public partial class User : _System.ICloneable
  40. {
  41. #region Slice data members
  42.  
  43. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  44. public int session;
  45.  
  46. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  47. public int userid;
  48.  
  49. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  50. public bool mute;
  51.  
  52. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  53. public bool deaf;
  54.  
  55. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  56. public bool suppress;
  57.  
  58. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  59. public bool prioritySpeaker;
  60.  
  61. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  62. public bool selfMute;
  63.  
  64. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  65. public bool selfDeaf;
  66.  
  67. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  68. public bool recording;
  69.  
  70. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  71. public int channel;
  72.  
  73. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  74. public string name;
  75.  
  76. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  77. public int onlinesecs;
  78.  
  79. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  80. public int bytespersec;
  81.  
  82. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  83. public int version;
  84.  
  85. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  86. public string release;
  87.  
  88. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  89. public string os;
  90.  
  91. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  92. public string osversion;
  93.  
  94. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  95. public string identity;
  96.  
  97. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  98. public string context;
  99.  
  100. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  101. public string comment;
  102.  
  103. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  104. public byte[] address;
  105.  
  106. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  107. public bool tcponly;
  108.  
  109. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  110. public int idlesecs;
  111.  
  112. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  113. public float udpPing;
  114.  
  115. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  116. public float tcpPing;
  117.  
  118. #endregion
  119.  
  120. #region Constructors
  121.  
  122. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  123. public User()
  124. {
  125. }
  126.  
  127. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  128. public User(int session, int userid, bool mute, bool deaf, bool suppress, bool prioritySpeaker, bool selfMute, bool selfDeaf, bool recording, int channel, string name, int onlinesecs, int bytespersec, int version, string release, string os, string osversion, string identity, string context, string comment, byte[] address, bool tcponly, int idlesecs, float udpPing, float tcpPing)
  129. {
  130. this.session = session;
  131. this.userid = userid;
  132. this.mute = mute;
  133. this.deaf = deaf;
  134. this.suppress = suppress;
  135. this.prioritySpeaker = prioritySpeaker;
  136. this.selfMute = selfMute;
  137. this.selfDeaf = selfDeaf;
  138. this.recording = recording;
  139. this.channel = channel;
  140. this.name = name;
  141. this.onlinesecs = onlinesecs;
  142. this.bytespersec = bytespersec;
  143. this.version = version;
  144. this.release = release;
  145. this.os = os;
  146. this.osversion = osversion;
  147. this.identity = identity;
  148. this.context = context;
  149. this.comment = comment;
  150. this.address = address;
  151. this.tcponly = tcponly;
  152. this.idlesecs = idlesecs;
  153. this.udpPing = udpPing;
  154. this.tcpPing = tcpPing;
  155. }
  156.  
  157. #endregion
  158.  
  159. #region ICloneable members
  160.  
  161. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  162. public object Clone()
  163. {
  164. return MemberwiseClone();
  165. }
  166.  
  167. #endregion
  168.  
  169. #region Object members
  170.  
  171. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  172. public override int GetHashCode()
  173. {
  174. int h__ = 0;
  175. h__ = 5 * h__ + session.GetHashCode();
  176. h__ = 5 * h__ + userid.GetHashCode();
  177. h__ = 5 * h__ + mute.GetHashCode();
  178. h__ = 5 * h__ + deaf.GetHashCode();
  179. h__ = 5 * h__ + suppress.GetHashCode();
  180. h__ = 5 * h__ + prioritySpeaker.GetHashCode();
  181. h__ = 5 * h__ + selfMute.GetHashCode();
  182. h__ = 5 * h__ + selfDeaf.GetHashCode();
  183. h__ = 5 * h__ + recording.GetHashCode();
  184. h__ = 5 * h__ + channel.GetHashCode();
  185. if (name != null)
  186. {
  187. h__ = 5 * h__ + name.GetHashCode();
  188. }
  189. h__ = 5 * h__ + onlinesecs.GetHashCode();
  190. h__ = 5 * h__ + bytespersec.GetHashCode();
  191. h__ = 5 * h__ + version.GetHashCode();
  192. if (release != null)
  193. {
  194. h__ = 5 * h__ + release.GetHashCode();
  195. }
  196. if (os != null)
  197. {
  198. h__ = 5 * h__ + os.GetHashCode();
  199. }
  200. if (osversion != null)
  201. {
  202. h__ = 5 * h__ + osversion.GetHashCode();
  203. }
  204. if (identity != null)
  205. {
  206. h__ = 5 * h__ + identity.GetHashCode();
  207. }
  208. if (context != null)
  209. {
  210. h__ = 5 * h__ + context.GetHashCode();
  211. }
  212. if (comment != null)
  213. {
  214. h__ = 5 * h__ + comment.GetHashCode();
  215. }
  216. if (address != null)
  217. {
  218. h__ = 5 * h__ + IceUtilInternal.Arrays.GetHashCode(address);
  219. }
  220. h__ = 5 * h__ + tcponly.GetHashCode();
  221. h__ = 5 * h__ + idlesecs.GetHashCode();
  222. h__ = 5 * h__ + udpPing.GetHashCode();
  223. h__ = 5 * h__ + tcpPing.GetHashCode();
  224. return h__;
  225. }
  226.  
  227. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  228. public override bool Equals(object other__)
  229. {
  230. if (object.ReferenceEquals(this, other__))
  231. {
  232. return true;
  233. }
  234. if (other__ == null)
  235. {
  236. return false;
  237. }
  238. if (GetType() != other__.GetType())
  239. {
  240. return false;
  241. }
  242. User o__ = (User)other__;
  243. if (!session.Equals(o__.session))
  244. {
  245. return false;
  246. }
  247. if (!userid.Equals(o__.userid))
  248. {
  249. return false;
  250. }
  251. if (!mute.Equals(o__.mute))
  252. {
  253. return false;
  254. }
  255. if (!deaf.Equals(o__.deaf))
  256. {
  257. return false;
  258. }
  259. if (!suppress.Equals(o__.suppress))
  260. {
  261. return false;
  262. }
  263. if (!prioritySpeaker.Equals(o__.prioritySpeaker))
  264. {
  265. return false;
  266. }
  267. if (!selfMute.Equals(o__.selfMute))
  268. {
  269. return false;
  270. }
  271. if (!selfDeaf.Equals(o__.selfDeaf))
  272. {
  273. return false;
  274. }
  275. if (!recording.Equals(o__.recording))
  276. {
  277. return false;
  278. }
  279. if (!channel.Equals(o__.channel))
  280. {
  281. return false;
  282. }
  283. if (name == null)
  284. {
  285. if (o__.name != null)
  286. {
  287. return false;
  288. }
  289. }
  290. else
  291. {
  292. if (!name.Equals(o__.name))
  293. {
  294. return false;
  295. }
  296. }
  297. if (!onlinesecs.Equals(o__.onlinesecs))
  298. {
  299. return false;
  300. }
  301. if (!bytespersec.Equals(o__.bytespersec))
  302. {
  303. return false;
  304. }
  305. if (!version.Equals(o__.version))
  306. {
  307. return false;
  308. }
  309. if (release == null)
  310. {
  311. if (o__.release != null)
  312. {
  313. return false;
  314. }
  315. }
  316. else
  317. {
  318. if (!release.Equals(o__.release))
  319. {
  320. return false;
  321. }
  322. }
  323. if (os == null)
  324. {
  325. if (o__.os != null)
  326. {
  327. return false;
  328. }
  329. }
  330. else
  331. {
  332. if (!os.Equals(o__.os))
  333. {
  334. return false;
  335. }
  336. }
  337. if (osversion == null)
  338. {
  339. if (o__.osversion != null)
  340. {
  341. return false;
  342. }
  343. }
  344. else
  345. {
  346. if (!osversion.Equals(o__.osversion))
  347. {
  348. return false;
  349. }
  350. }
  351. if (identity == null)
  352. {
  353. if (o__.identity != null)
  354. {
  355. return false;
  356. }
  357. }
  358. else
  359. {
  360. if (!identity.Equals(o__.identity))
  361. {
  362. return false;
  363. }
  364. }
  365. if (context == null)
  366. {
  367. if (o__.context != null)
  368. {
  369. return false;
  370. }
  371. }
  372. else
  373. {
  374. if (!context.Equals(o__.context))
  375. {
  376. return false;
  377. }
  378. }
  379. if (comment == null)
  380. {
  381. if (o__.comment != null)
  382. {
  383. return false;
  384. }
  385. }
  386. else
  387. {
  388. if (!comment.Equals(o__.comment))
  389. {
  390. return false;
  391. }
  392. }
  393. if (address == null)
  394. {
  395. if (o__.address != null)
  396. {
  397. return false;
  398. }
  399. }
  400. else
  401. {
  402. if (!IceUtilInternal.Arrays.Equals(address, o__.address))
  403. {
  404. return false;
  405. }
  406. }
  407. if (!tcponly.Equals(o__.tcponly))
  408. {
  409. return false;
  410. }
  411. if (!idlesecs.Equals(o__.idlesecs))
  412. {
  413. return false;
  414. }
  415. if (!udpPing.Equals(o__.udpPing))
  416. {
  417. return false;
  418. }
  419. if (!tcpPing.Equals(o__.tcpPing))
  420. {
  421. return false;
  422. }
  423. return true;
  424. }
  425.  
  426. #endregion
  427.  
  428. #region Comparison members
  429.  
  430. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  431. public static bool operator ==(User lhs__, User rhs__)
  432. {
  433. return Equals(lhs__, rhs__);
  434. }
  435.  
  436. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  437. public static bool operator !=(User lhs__, User rhs__)
  438. {
  439. return !Equals(lhs__, rhs__);
  440. }
  441.  
  442. #endregion
  443.  
  444. #region Marshalling support
  445.  
  446. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  447. public void write__(IceInternal.BasicStream os__)
  448. {
  449. os__.writeInt(session);
  450. os__.writeInt(userid);
  451. os__.writeBool(mute);
  452. os__.writeBool(deaf);
  453. os__.writeBool(suppress);
  454. os__.writeBool(prioritySpeaker);
  455. os__.writeBool(selfMute);
  456. os__.writeBool(selfDeaf);
  457. os__.writeBool(recording);
  458. os__.writeInt(channel);
  459. os__.writeString(name);
  460. os__.writeInt(onlinesecs);
  461. os__.writeInt(bytespersec);
  462. os__.writeInt(version);
  463. os__.writeString(release);
  464. os__.writeString(os);
  465. os__.writeString(osversion);
  466. os__.writeString(identity);
  467. os__.writeString(context);
  468. os__.writeString(comment);
  469. os__.writeByteSeq(address);
  470. os__.writeBool(tcponly);
  471. os__.writeInt(idlesecs);
  472. os__.writeFloat(udpPing);
  473. os__.writeFloat(tcpPing);
  474. }
  475.  
  476. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  477. public void read__(IceInternal.BasicStream is__)
  478. {
  479. session = is__.readInt();
  480. userid = is__.readInt();
  481. mute = is__.readBool();
  482. deaf = is__.readBool();
  483. suppress = is__.readBool();
  484. prioritySpeaker = is__.readBool();
  485. selfMute = is__.readBool();
  486. selfDeaf = is__.readBool();
  487. recording = is__.readBool();
  488. channel = is__.readInt();
  489. name = is__.readString();
  490. onlinesecs = is__.readInt();
  491. bytespersec = is__.readInt();
  492. version = is__.readInt();
  493. release = is__.readString();
  494. os = is__.readString();
  495. osversion = is__.readString();
  496. identity = is__.readString();
  497. context = is__.readString();
  498. comment = is__.readString();
  499. address = is__.readByteSeq();
  500. tcponly = is__.readBool();
  501. idlesecs = is__.readInt();
  502. udpPing = is__.readFloat();
  503. tcpPing = is__.readFloat();
  504. }
  505.  
  506. #endregion
  507. }
  508.  
  509. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  510. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  511. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  512. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  513. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  514. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  515. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  516. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  517. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  518. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  519. public partial class TextMessage : _System.ICloneable
  520. {
  521. #region Slice data members
  522.  
  523. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  524. public int[] sessions;
  525.  
  526. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  527. public int[] channels;
  528.  
  529. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  530. public int[] trees;
  531.  
  532. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  533. public string text;
  534.  
  535. #endregion
  536.  
  537. #region Constructors
  538.  
  539. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  540. public TextMessage()
  541. {
  542. }
  543.  
  544. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  545. public TextMessage(int[] sessions, int[] channels, int[] trees, string text)
  546. {
  547. this.sessions = sessions;
  548. this.channels = channels;
  549. this.trees = trees;
  550. this.text = text;
  551. }
  552.  
  553. #endregion
  554.  
  555. #region ICloneable members
  556.  
  557. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  558. public object Clone()
  559. {
  560. return MemberwiseClone();
  561. }
  562.  
  563. #endregion
  564.  
  565. #region Object members
  566.  
  567. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  568. public override int GetHashCode()
  569. {
  570. int h__ = 0;
  571. if (sessions != null)
  572. {
  573. h__ = 5 * h__ + IceUtilInternal.Arrays.GetHashCode(sessions);
  574. }
  575. if (channels != null)
  576. {
  577. h__ = 5 * h__ + IceUtilInternal.Arrays.GetHashCode(channels);
  578. }
  579. if (trees != null)
  580. {
  581. h__ = 5 * h__ + IceUtilInternal.Arrays.GetHashCode(trees);
  582. }
  583. if (text != null)
  584. {
  585. h__ = 5 * h__ + text.GetHashCode();
  586. }
  587. return h__;
  588. }
  589.  
  590. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  591. public override bool Equals(object other__)
  592. {
  593. if (object.ReferenceEquals(this, other__))
  594. {
  595. return true;
  596. }
  597. if (other__ == null)
  598. {
  599. return false;
  600. }
  601. if (GetType() != other__.GetType())
  602. {
  603. return false;
  604. }
  605. TextMessage o__ = (TextMessage)other__;
  606. if (sessions == null)
  607. {
  608. if (o__.sessions != null)
  609. {
  610. return false;
  611. }
  612. }
  613. else
  614. {
  615. if (!IceUtilInternal.Arrays.Equals(sessions, o__.sessions))
  616. {
  617. return false;
  618. }
  619. }
  620. if (channels == null)
  621. {
  622. if (o__.channels != null)
  623. {
  624. return false;
  625. }
  626. }
  627. else
  628. {
  629. if (!IceUtilInternal.Arrays.Equals(channels, o__.channels))
  630. {
  631. return false;
  632. }
  633. }
  634. if (trees == null)
  635. {
  636. if (o__.trees != null)
  637. {
  638. return false;
  639. }
  640. }
  641. else
  642. {
  643. if (!IceUtilInternal.Arrays.Equals(trees, o__.trees))
  644. {
  645. return false;
  646. }
  647. }
  648. if (text == null)
  649. {
  650. if (o__.text != null)
  651. {
  652. return false;
  653. }
  654. }
  655. else
  656. {
  657. if (!text.Equals(o__.text))
  658. {
  659. return false;
  660. }
  661. }
  662. return true;
  663. }
  664.  
  665. #endregion
  666.  
  667. #region Comparison members
  668.  
  669. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  670. public static bool operator ==(TextMessage lhs__, TextMessage rhs__)
  671. {
  672. return Equals(lhs__, rhs__);
  673. }
  674.  
  675. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  676. public static bool operator !=(TextMessage lhs__, TextMessage rhs__)
  677. {
  678. return !Equals(lhs__, rhs__);
  679. }
  680.  
  681. #endregion
  682.  
  683. #region Marshalling support
  684.  
  685. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  686. public void write__(IceInternal.BasicStream os__)
  687. {
  688. os__.writeIntSeq(sessions);
  689. os__.writeIntSeq(channels);
  690. os__.writeIntSeq(trees);
  691. os__.writeString(text);
  692. }
  693.  
  694. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  695. public void read__(IceInternal.BasicStream is__)
  696. {
  697. sessions = is__.readIntSeq();
  698. channels = is__.readIntSeq();
  699. trees = is__.readIntSeq();
  700. text = is__.readString();
  701. }
  702.  
  703. #endregion
  704. }
  705.  
  706. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  707. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  708. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  709. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  710. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  711. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  712. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  713. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  714. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  715. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  716. public partial class Channel : _System.ICloneable
  717. {
  718. #region Slice data members
  719.  
  720. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  721. public int id;
  722.  
  723. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  724. public string name;
  725.  
  726. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  727. public int parent;
  728.  
  729. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  730. public int[] links;
  731.  
  732. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  733. public string description;
  734.  
  735. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  736. public bool temporary;
  737.  
  738. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  739. public int position;
  740.  
  741. #endregion
  742.  
  743. #region Constructors
  744.  
  745. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  746. public Channel()
  747. {
  748. }
  749.  
  750. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  751. public Channel(int id, string name, int parent, int[] links, string description, bool temporary, int position)
  752. {
  753. this.id = id;
  754. this.name = name;
  755. this.parent = parent;
  756. this.links = links;
  757. this.description = description;
  758. this.temporary = temporary;
  759. this.position = position;
  760. }
  761.  
  762. #endregion
  763.  
  764. #region ICloneable members
  765.  
  766. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  767. public object Clone()
  768. {
  769. return MemberwiseClone();
  770. }
  771.  
  772. #endregion
  773.  
  774. #region Object members
  775.  
  776. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  777. public override int GetHashCode()
  778. {
  779. int h__ = 0;
  780. h__ = 5 * h__ + id.GetHashCode();
  781. if (name != null)
  782. {
  783. h__ = 5 * h__ + name.GetHashCode();
  784. }
  785. h__ = 5 * h__ + parent.GetHashCode();
  786. if (links != null)
  787. {
  788. h__ = 5 * h__ + IceUtilInternal.Arrays.GetHashCode(links);
  789. }
  790. if (description != null)
  791. {
  792. h__ = 5 * h__ + description.GetHashCode();
  793. }
  794. h__ = 5 * h__ + temporary.GetHashCode();
  795. h__ = 5 * h__ + position.GetHashCode();
  796. return h__;
  797. }
  798.  
  799. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  800. public override bool Equals(object other__)
  801. {
  802. if (object.ReferenceEquals(this, other__))
  803. {
  804. return true;
  805. }
  806. if (other__ == null)
  807. {
  808. return false;
  809. }
  810. if (GetType() != other__.GetType())
  811. {
  812. return false;
  813. }
  814. Channel o__ = (Channel)other__;
  815. if (!id.Equals(o__.id))
  816. {
  817. return false;
  818. }
  819. if (name == null)
  820. {
  821. if (o__.name != null)
  822. {
  823. return false;
  824. }
  825. }
  826. else
  827. {
  828. if (!name.Equals(o__.name))
  829. {
  830. return false;
  831. }
  832. }
  833. if (!parent.Equals(o__.parent))
  834. {
  835. return false;
  836. }
  837. if (links == null)
  838. {
  839. if (o__.links != null)
  840. {
  841. return false;
  842. }
  843. }
  844. else
  845. {
  846. if (!IceUtilInternal.Arrays.Equals(links, o__.links))
  847. {
  848. return false;
  849. }
  850. }
  851. if (description == null)
  852. {
  853. if (o__.description != null)
  854. {
  855. return false;
  856. }
  857. }
  858. else
  859. {
  860. if (!description.Equals(o__.description))
  861. {
  862. return false;
  863. }
  864. }
  865. if (!temporary.Equals(o__.temporary))
  866. {
  867. return false;
  868. }
  869. if (!position.Equals(o__.position))
  870. {
  871. return false;
  872. }
  873. return true;
  874. }
  875.  
  876. #endregion
  877.  
  878. #region Comparison members
  879.  
  880. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  881. public static bool operator ==(Channel lhs__, Channel rhs__)
  882. {
  883. return Equals(lhs__, rhs__);
  884. }
  885.  
  886. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  887. public static bool operator !=(Channel lhs__, Channel rhs__)
  888. {
  889. return !Equals(lhs__, rhs__);
  890. }
  891.  
  892. #endregion
  893.  
  894. #region Marshalling support
  895.  
  896. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  897. public void write__(IceInternal.BasicStream os__)
  898. {
  899. os__.writeInt(id);
  900. os__.writeString(name);
  901. os__.writeInt(parent);
  902. os__.writeIntSeq(links);
  903. os__.writeString(description);
  904. os__.writeBool(temporary);
  905. os__.writeInt(position);
  906. }
  907.  
  908. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  909. public void read__(IceInternal.BasicStream is__)
  910. {
  911. id = is__.readInt();
  912. name = is__.readString();
  913. parent = is__.readInt();
  914. links = is__.readIntSeq();
  915. description = is__.readString();
  916. temporary = is__.readBool();
  917. position = is__.readInt();
  918. }
  919.  
  920. #endregion
  921. }
  922.  
  923. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  924. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  925. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  926. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  927. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  928. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  929. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  930. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  931. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  932. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  933. public partial class Group : _System.ICloneable
  934. {
  935. #region Slice data members
  936.  
  937. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  938. public string name;
  939.  
  940. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  941. public bool inherited;
  942.  
  943. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  944. public bool inherit;
  945.  
  946. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  947. public bool inheritable;
  948.  
  949. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  950. public int[] add;
  951.  
  952. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  953. public int[] remove;
  954.  
  955. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  956. public int[] members;
  957.  
  958. #endregion
  959.  
  960. #region Constructors
  961.  
  962. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  963. public Group()
  964. {
  965. }
  966.  
  967. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  968. public Group(string name, bool inherited, bool inherit, bool inheritable, int[] add, int[] remove, int[] members)
  969. {
  970. this.name = name;
  971. this.inherited = inherited;
  972. this.inherit = inherit;
  973. this.inheritable = inheritable;
  974. this.add = add;
  975. this.remove = remove;
  976. this.members = members;
  977. }
  978.  
  979. #endregion
  980.  
  981. #region ICloneable members
  982.  
  983. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  984. public object Clone()
  985. {
  986. return MemberwiseClone();
  987. }
  988.  
  989. #endregion
  990.  
  991. #region Object members
  992.  
  993. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  994. public override int GetHashCode()
  995. {
  996. int h__ = 0;
  997. if (name != null)
  998. {
  999. h__ = 5 * h__ + name.GetHashCode();
  1000. }
  1001. h__ = 5 * h__ + inherited.GetHashCode();
  1002. h__ = 5 * h__ + inherit.GetHashCode();
  1003. h__ = 5 * h__ + inheritable.GetHashCode();
  1004. if (add != null)
  1005. {
  1006. h__ = 5 * h__ + IceUtilInternal.Arrays.GetHashCode(add);
  1007. }
  1008. if (remove != null)
  1009. {
  1010. h__ = 5 * h__ + IceUtilInternal.Arrays.GetHashCode(remove);
  1011. }
  1012. if (members != null)
  1013. {
  1014. h__ = 5 * h__ + IceUtilInternal.Arrays.GetHashCode(members);
  1015. }
  1016. return h__;
  1017. }
  1018.  
  1019. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1020. public override bool Equals(object other__)
  1021. {
  1022. if (object.ReferenceEquals(this, other__))
  1023. {
  1024. return true;
  1025. }
  1026. if (other__ == null)
  1027. {
  1028. return false;
  1029. }
  1030. if (GetType() != other__.GetType())
  1031. {
  1032. return false;
  1033. }
  1034. Group o__ = (Group)other__;
  1035. if (name == null)
  1036. {
  1037. if (o__.name != null)
  1038. {
  1039. return false;
  1040. }
  1041. }
  1042. else
  1043. {
  1044. if (!name.Equals(o__.name))
  1045. {
  1046. return false;
  1047. }
  1048. }
  1049. if (!inherited.Equals(o__.inherited))
  1050. {
  1051. return false;
  1052. }
  1053. if (!inherit.Equals(o__.inherit))
  1054. {
  1055. return false;
  1056. }
  1057. if (!inheritable.Equals(o__.inheritable))
  1058. {
  1059. return false;
  1060. }
  1061. if (add == null)
  1062. {
  1063. if (o__.add != null)
  1064. {
  1065. return false;
  1066. }
  1067. }
  1068. else
  1069. {
  1070. if (!IceUtilInternal.Arrays.Equals(add, o__.add))
  1071. {
  1072. return false;
  1073. }
  1074. }
  1075. if (remove == null)
  1076. {
  1077. if (o__.remove != null)
  1078. {
  1079. return false;
  1080. }
  1081. }
  1082. else
  1083. {
  1084. if (!IceUtilInternal.Arrays.Equals(remove, o__.remove))
  1085. {
  1086. return false;
  1087. }
  1088. }
  1089. if (members == null)
  1090. {
  1091. if (o__.members != null)
  1092. {
  1093. return false;
  1094. }
  1095. }
  1096. else
  1097. {
  1098. if (!IceUtilInternal.Arrays.Equals(members, o__.members))
  1099. {
  1100. return false;
  1101. }
  1102. }
  1103. return true;
  1104. }
  1105.  
  1106. #endregion
  1107.  
  1108. #region Comparison members
  1109.  
  1110. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1111. public static bool operator ==(Group lhs__, Group rhs__)
  1112. {
  1113. return Equals(lhs__, rhs__);
  1114. }
  1115.  
  1116. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1117. public static bool operator !=(Group lhs__, Group rhs__)
  1118. {
  1119. return !Equals(lhs__, rhs__);
  1120. }
  1121.  
  1122. #endregion
  1123.  
  1124. #region Marshalling support
  1125.  
  1126. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1127. public void write__(IceInternal.BasicStream os__)
  1128. {
  1129. os__.writeString(name);
  1130. os__.writeBool(inherited);
  1131. os__.writeBool(inherit);
  1132. os__.writeBool(inheritable);
  1133. os__.writeIntSeq(add);
  1134. os__.writeIntSeq(remove);
  1135. os__.writeIntSeq(members);
  1136. }
  1137.  
  1138. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1139. public void read__(IceInternal.BasicStream is__)
  1140. {
  1141. name = is__.readString();
  1142. inherited = is__.readBool();
  1143. inherit = is__.readBool();
  1144. inheritable = is__.readBool();
  1145. add = is__.readIntSeq();
  1146. remove = is__.readIntSeq();
  1147. members = is__.readIntSeq();
  1148. }
  1149.  
  1150. #endregion
  1151. }
  1152.  
  1153. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1154. public abstract class PermissionWrite
  1155. {
  1156. public const int value = 1;
  1157. }
  1158.  
  1159. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1160. public abstract class PermissionTraverse
  1161. {
  1162. public const int value = 2;
  1163. }
  1164.  
  1165. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1166. public abstract class PermissionEnter
  1167. {
  1168. public const int value = 4;
  1169. }
  1170.  
  1171. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1172. public abstract class PermissionSpeak
  1173. {
  1174. public const int value = 8;
  1175. }
  1176.  
  1177. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1178. public abstract class PermissionWhisper
  1179. {
  1180. public const int value = 256;
  1181. }
  1182.  
  1183. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1184. public abstract class PermissionMuteDeafen
  1185. {
  1186. public const int value = 16;
  1187. }
  1188.  
  1189. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1190. public abstract class PermissionMove
  1191. {
  1192. public const int value = 32;
  1193. }
  1194.  
  1195. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1196. public abstract class PermissionMakeChannel
  1197. {
  1198. public const int value = 64;
  1199. }
  1200.  
  1201. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1202. public abstract class PermissionMakeTempChannel
  1203. {
  1204. public const int value = 1024;
  1205. }
  1206.  
  1207. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1208. public abstract class PermissionLinkChannel
  1209. {
  1210. public const int value = 128;
  1211. }
  1212.  
  1213. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1214. public abstract class PermissionTextMessage
  1215. {
  1216. public const int value = 512;
  1217. }
  1218.  
  1219. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1220. public abstract class PermissionKick
  1221. {
  1222. public const int value = 65536;
  1223. }
  1224.  
  1225. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1226. public abstract class PermissionBan
  1227. {
  1228. public const int value = 131072;
  1229. }
  1230.  
  1231. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1232. public abstract class PermissionRegister
  1233. {
  1234. public const int value = 262144;
  1235. }
  1236.  
  1237. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1238. public abstract class PermissionRegisterSelf
  1239. {
  1240. public const int value = 524288;
  1241. }
  1242.  
  1243. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  1244. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  1245. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  1246. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  1247. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  1248. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  1249. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  1250. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  1251. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  1252. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  1253. public partial class ACL : _System.ICloneable
  1254. {
  1255. #region Slice data members
  1256.  
  1257. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1258. public bool applyHere;
  1259.  
  1260. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1261. public bool applySubs;
  1262.  
  1263. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1264. public bool inherited;
  1265.  
  1266. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1267. public int userid;
  1268.  
  1269. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1270. public string group;
  1271.  
  1272. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1273. public int allow;
  1274.  
  1275. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1276. public int deny;
  1277.  
  1278. #endregion
  1279.  
  1280. #region Constructors
  1281.  
  1282. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1283. public ACL()
  1284. {
  1285. }
  1286.  
  1287. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1288. public ACL(bool applyHere, bool applySubs, bool inherited, int userid, string group, int allow, int deny)
  1289. {
  1290. this.applyHere = applyHere;
  1291. this.applySubs = applySubs;
  1292. this.inherited = inherited;
  1293. this.userid = userid;
  1294. this.group = group;
  1295. this.allow = allow;
  1296. this.deny = deny;
  1297. }
  1298.  
  1299. #endregion
  1300.  
  1301. #region ICloneable members
  1302.  
  1303. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1304. public object Clone()
  1305. {
  1306. return MemberwiseClone();
  1307. }
  1308.  
  1309. #endregion
  1310.  
  1311. #region Object members
  1312.  
  1313. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1314. public override int GetHashCode()
  1315. {
  1316. int h__ = 0;
  1317. h__ = 5 * h__ + applyHere.GetHashCode();
  1318. h__ = 5 * h__ + applySubs.GetHashCode();
  1319. h__ = 5 * h__ + inherited.GetHashCode();
  1320. h__ = 5 * h__ + userid.GetHashCode();
  1321. if (group != null)
  1322. {
  1323. h__ = 5 * h__ + group.GetHashCode();
  1324. }
  1325. h__ = 5 * h__ + allow.GetHashCode();
  1326. h__ = 5 * h__ + deny.GetHashCode();
  1327. return h__;
  1328. }
  1329.  
  1330. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1331. public override bool Equals(object other__)
  1332. {
  1333. if (object.ReferenceEquals(this, other__))
  1334. {
  1335. return true;
  1336. }
  1337. if (other__ == null)
  1338. {
  1339. return false;
  1340. }
  1341. if (GetType() != other__.GetType())
  1342. {
  1343. return false;
  1344. }
  1345. ACL o__ = (ACL)other__;
  1346. if (!applyHere.Equals(o__.applyHere))
  1347. {
  1348. return false;
  1349. }
  1350. if (!applySubs.Equals(o__.applySubs))
  1351. {
  1352. return false;
  1353. }
  1354. if (!inherited.Equals(o__.inherited))
  1355. {
  1356. return false;
  1357. }
  1358. if (!userid.Equals(o__.userid))
  1359. {
  1360. return false;
  1361. }
  1362. if (group == null)
  1363. {
  1364. if (o__.group != null)
  1365. {
  1366. return false;
  1367. }
  1368. }
  1369. else
  1370. {
  1371. if (!group.Equals(o__.group))
  1372. {
  1373. return false;
  1374. }
  1375. }
  1376. if (!allow.Equals(o__.allow))
  1377. {
  1378. return false;
  1379. }
  1380. if (!deny.Equals(o__.deny))
  1381. {
  1382. return false;
  1383. }
  1384. return true;
  1385. }
  1386.  
  1387. #endregion
  1388.  
  1389. #region Comparison members
  1390.  
  1391. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1392. public static bool operator ==(ACL lhs__, ACL rhs__)
  1393. {
  1394. return Equals(lhs__, rhs__);
  1395. }
  1396.  
  1397. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1398. public static bool operator !=(ACL lhs__, ACL rhs__)
  1399. {
  1400. return !Equals(lhs__, rhs__);
  1401. }
  1402.  
  1403. #endregion
  1404.  
  1405. #region Marshalling support
  1406.  
  1407. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1408. public void write__(IceInternal.BasicStream os__)
  1409. {
  1410. os__.writeBool(applyHere);
  1411. os__.writeBool(applySubs);
  1412. os__.writeBool(inherited);
  1413. os__.writeInt(userid);
  1414. os__.writeString(group);
  1415. os__.writeInt(allow);
  1416. os__.writeInt(deny);
  1417. }
  1418.  
  1419. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1420. public void read__(IceInternal.BasicStream is__)
  1421. {
  1422. applyHere = is__.readBool();
  1423. applySubs = is__.readBool();
  1424. inherited = is__.readBool();
  1425. userid = is__.readInt();
  1426. group = is__.readString();
  1427. allow = is__.readInt();
  1428. deny = is__.readInt();
  1429. }
  1430.  
  1431. #endregion
  1432. }
  1433.  
  1434. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  1435. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  1436. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  1437. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  1438. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  1439. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  1440. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  1441. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  1442. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  1443. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  1444. public partial class Ban : _System.ICloneable
  1445. {
  1446. #region Slice data members
  1447.  
  1448. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1449. public byte[] address;
  1450.  
  1451. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1452. public int bits;
  1453.  
  1454. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1455. public string name;
  1456.  
  1457. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1458. public string hash;
  1459.  
  1460. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1461. public string reason;
  1462.  
  1463. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1464. public int start;
  1465.  
  1466. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1467. public int duration;
  1468.  
  1469. #endregion
  1470.  
  1471. #region Constructors
  1472.  
  1473. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1474. public Ban()
  1475. {
  1476. }
  1477.  
  1478. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1479. public Ban(byte[] address, int bits, string name, string hash, string reason, int start, int duration)
  1480. {
  1481. this.address = address;
  1482. this.bits = bits;
  1483. this.name = name;
  1484. this.hash = hash;
  1485. this.reason = reason;
  1486. this.start = start;
  1487. this.duration = duration;
  1488. }
  1489.  
  1490. #endregion
  1491.  
  1492. #region ICloneable members
  1493.  
  1494. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1495. public object Clone()
  1496. {
  1497. return MemberwiseClone();
  1498. }
  1499.  
  1500. #endregion
  1501.  
  1502. #region Object members
  1503.  
  1504. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1505. public override int GetHashCode()
  1506. {
  1507. int h__ = 0;
  1508. if (address != null)
  1509. {
  1510. h__ = 5 * h__ + IceUtilInternal.Arrays.GetHashCode(address);
  1511. }
  1512. h__ = 5 * h__ + bits.GetHashCode();
  1513. if (name != null)
  1514. {
  1515. h__ = 5 * h__ + name.GetHashCode();
  1516. }
  1517. if (hash != null)
  1518. {
  1519. h__ = 5 * h__ + hash.GetHashCode();
  1520. }
  1521. if (reason != null)
  1522. {
  1523. h__ = 5 * h__ + reason.GetHashCode();
  1524. }
  1525. h__ = 5 * h__ + start.GetHashCode();
  1526. h__ = 5 * h__ + duration.GetHashCode();
  1527. return h__;
  1528. }
  1529.  
  1530. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1531. public override bool Equals(object other__)
  1532. {
  1533. if (object.ReferenceEquals(this, other__))
  1534. {
  1535. return true;
  1536. }
  1537. if (other__ == null)
  1538. {
  1539. return false;
  1540. }
  1541. if (GetType() != other__.GetType())
  1542. {
  1543. return false;
  1544. }
  1545. Ban o__ = (Ban)other__;
  1546. if (address == null)
  1547. {
  1548. if (o__.address != null)
  1549. {
  1550. return false;
  1551. }
  1552. }
  1553. else
  1554. {
  1555. if (!IceUtilInternal.Arrays.Equals(address, o__.address))
  1556. {
  1557. return false;
  1558. }
  1559. }
  1560. if (!bits.Equals(o__.bits))
  1561. {
  1562. return false;
  1563. }
  1564. if (name == null)
  1565. {
  1566. if (o__.name != null)
  1567. {
  1568. return false;
  1569. }
  1570. }
  1571. else
  1572. {
  1573. if (!name.Equals(o__.name))
  1574. {
  1575. return false;
  1576. }
  1577. }
  1578. if (hash == null)
  1579. {
  1580. if (o__.hash != null)
  1581. {
  1582. return false;
  1583. }
  1584. }
  1585. else
  1586. {
  1587. if (!hash.Equals(o__.hash))
  1588. {
  1589. return false;
  1590. }
  1591. }
  1592. if (reason == null)
  1593. {
  1594. if (o__.reason != null)
  1595. {
  1596. return false;
  1597. }
  1598. }
  1599. else
  1600. {
  1601. if (!reason.Equals(o__.reason))
  1602. {
  1603. return false;
  1604. }
  1605. }
  1606. if (!start.Equals(o__.start))
  1607. {
  1608. return false;
  1609. }
  1610. if (!duration.Equals(o__.duration))
  1611. {
  1612. return false;
  1613. }
  1614. return true;
  1615. }
  1616.  
  1617. #endregion
  1618.  
  1619. #region Comparison members
  1620.  
  1621. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1622. public static bool operator ==(Ban lhs__, Ban rhs__)
  1623. {
  1624. return Equals(lhs__, rhs__);
  1625. }
  1626.  
  1627. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1628. public static bool operator !=(Ban lhs__, Ban rhs__)
  1629. {
  1630. return !Equals(lhs__, rhs__);
  1631. }
  1632.  
  1633. #endregion
  1634.  
  1635. #region Marshalling support
  1636.  
  1637. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1638. public void write__(IceInternal.BasicStream os__)
  1639. {
  1640. os__.writeByteSeq(address);
  1641. os__.writeInt(bits);
  1642. os__.writeString(name);
  1643. os__.writeString(hash);
  1644. os__.writeString(reason);
  1645. os__.writeInt(start);
  1646. os__.writeInt(duration);
  1647. }
  1648.  
  1649. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1650. public void read__(IceInternal.BasicStream is__)
  1651. {
  1652. address = is__.readByteSeq();
  1653. bits = is__.readInt();
  1654. name = is__.readString();
  1655. hash = is__.readString();
  1656. reason = is__.readString();
  1657. start = is__.readInt();
  1658. duration = is__.readInt();
  1659. }
  1660.  
  1661. #endregion
  1662. }
  1663.  
  1664. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  1665. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  1666. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  1667. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  1668. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  1669. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  1670. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  1671. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  1672. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  1673. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  1674. public partial class LogEntry : _System.ICloneable
  1675. {
  1676. #region Slice data members
  1677.  
  1678. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1679. public int timestamp;
  1680.  
  1681. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1682. public string txt;
  1683.  
  1684. #endregion
  1685.  
  1686. #region Constructors
  1687.  
  1688. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1689. public LogEntry()
  1690. {
  1691. }
  1692.  
  1693. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1694. public LogEntry(int timestamp, string txt)
  1695. {
  1696. this.timestamp = timestamp;
  1697. this.txt = txt;
  1698. }
  1699.  
  1700. #endregion
  1701.  
  1702. #region ICloneable members
  1703.  
  1704. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1705. public object Clone()
  1706. {
  1707. return MemberwiseClone();
  1708. }
  1709.  
  1710. #endregion
  1711.  
  1712. #region Object members
  1713.  
  1714. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1715. public override int GetHashCode()
  1716. {
  1717. int h__ = 0;
  1718. h__ = 5 * h__ + timestamp.GetHashCode();
  1719. if (txt != null)
  1720. {
  1721. h__ = 5 * h__ + txt.GetHashCode();
  1722. }
  1723. return h__;
  1724. }
  1725.  
  1726. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1727. public override bool Equals(object other__)
  1728. {
  1729. if (object.ReferenceEquals(this, other__))
  1730. {
  1731. return true;
  1732. }
  1733. if (other__ == null)
  1734. {
  1735. return false;
  1736. }
  1737. if (GetType() != other__.GetType())
  1738. {
  1739. return false;
  1740. }
  1741. LogEntry o__ = (LogEntry)other__;
  1742. if (!timestamp.Equals(o__.timestamp))
  1743. {
  1744. return false;
  1745. }
  1746. if (txt == null)
  1747. {
  1748. if (o__.txt != null)
  1749. {
  1750. return false;
  1751. }
  1752. }
  1753. else
  1754. {
  1755. if (!txt.Equals(o__.txt))
  1756. {
  1757. return false;
  1758. }
  1759. }
  1760. return true;
  1761. }
  1762.  
  1763. #endregion
  1764.  
  1765. #region Comparison members
  1766.  
  1767. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1768. public static bool operator ==(LogEntry lhs__, LogEntry rhs__)
  1769. {
  1770. return Equals(lhs__, rhs__);
  1771. }
  1772.  
  1773. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1774. public static bool operator !=(LogEntry lhs__, LogEntry rhs__)
  1775. {
  1776. return !Equals(lhs__, rhs__);
  1777. }
  1778.  
  1779. #endregion
  1780.  
  1781. #region Marshalling support
  1782.  
  1783. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1784. public void write__(IceInternal.BasicStream os__)
  1785. {
  1786. os__.writeInt(timestamp);
  1787. os__.writeString(txt);
  1788. }
  1789.  
  1790. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1791. public void read__(IceInternal.BasicStream is__)
  1792. {
  1793. timestamp = is__.readInt();
  1794. txt = is__.readString();
  1795. }
  1796.  
  1797. #endregion
  1798. }
  1799.  
  1800. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1801. public enum ChannelInfo
  1802. {
  1803. ChannelDescription,
  1804. ChannelPosition
  1805. }
  1806.  
  1807. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1808. public enum UserInfo
  1809. {
  1810. UserName,
  1811. UserEmail,
  1812. UserComment,
  1813. UserHash,
  1814. UserPassword,
  1815. UserLastActive
  1816. }
  1817.  
  1818. [_System.Runtime.InteropServices.ComVisible(false)]
  1819. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  1820. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  1821. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  1822. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  1823. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  1824. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  1825. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  1826. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  1827. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  1828. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  1829. public partial class Tree : Ice.ObjectImpl
  1830. {
  1831. #region Slice data members
  1832.  
  1833. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1834. public Murmur.Channel c;
  1835.  
  1836. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1837. public Murmur.Tree[] children;
  1838.  
  1839. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1840. public Murmur.User[] users;
  1841.  
  1842. #endregion
  1843.  
  1844. #region Constructors
  1845.  
  1846. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1847. public Tree()
  1848. {
  1849. }
  1850.  
  1851. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1852. public Tree(Murmur.Channel c, Murmur.Tree[] children, Murmur.User[] users)
  1853. {
  1854. this.c = c;
  1855. this.children = children;
  1856. this.users = users;
  1857. }
  1858.  
  1859. #endregion
  1860.  
  1861. #region Slice type-related members
  1862.  
  1863. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1864. public static new readonly string[] ids__ =
  1865. {
  1866. "::Ice::Object",
  1867. "::Murmur::Tree"
  1868. };
  1869.  
  1870. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1871. public override bool ice_isA(string s)
  1872. {
  1873. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  1874. }
  1875.  
  1876. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1877. public override bool ice_isA(string s, Ice.Current current__)
  1878. {
  1879. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  1880. }
  1881.  
  1882. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1883. public override string[] ice_ids()
  1884. {
  1885. return ids__;
  1886. }
  1887.  
  1888. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1889. public override string[] ice_ids(Ice.Current current__)
  1890. {
  1891. return ids__;
  1892. }
  1893.  
  1894. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1895. public override string ice_id()
  1896. {
  1897. return ids__[1];
  1898. }
  1899.  
  1900. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1901. public override string ice_id(Ice.Current current__)
  1902. {
  1903. return ids__[1];
  1904. }
  1905.  
  1906. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1907. public static new string ice_staticId()
  1908. {
  1909. return ids__[1];
  1910. }
  1911.  
  1912. #endregion
  1913.  
  1914. #region Operation dispatch
  1915.  
  1916. #endregion
  1917.  
  1918. #region Marshaling support
  1919.  
  1920. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1921. public override void write__(IceInternal.BasicStream os__)
  1922. {
  1923. os__.writeTypeId(ice_staticId());
  1924. os__.startWriteSlice();
  1925. if (c == null)
  1926. {
  1927. Murmur.Channel tmp__ = new Murmur.Channel();
  1928. tmp__.write__(os__);
  1929. }
  1930. else
  1931. {
  1932. c.write__(os__);
  1933. }
  1934. if (children == null)
  1935. {
  1936. os__.writeSize(0);
  1937. }
  1938. else
  1939. {
  1940. os__.writeSize(children.Length);
  1941. for (int ix__ = 0; ix__ < children.Length; ++ix__)
  1942. {
  1943. os__.writeObject(children[ix__]);
  1944. }
  1945. }
  1946. if (users == null)
  1947. {
  1948. os__.writeSize(0);
  1949. }
  1950. else
  1951. {
  1952. os__.writeSize(users.Length);
  1953. for (int ix__ = 0; ix__ < users.Length; ++ix__)
  1954. {
  1955. (users[ix__] == null ? new Murmur.User() : users[ix__]).write__(os__);
  1956. }
  1957. }
  1958. os__.endWriteSlice();
  1959. base.write__(os__);
  1960. }
  1961.  
  1962. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1963. public override void read__(IceInternal.BasicStream is__, bool rid__)
  1964. {
  1965. if (rid__)
  1966. {
  1967. /* string myId = */
  1968. is__.readTypeId();
  1969. }
  1970. is__.startReadSlice();
  1971. if (c == null)
  1972. {
  1973. c = new Murmur.Channel();
  1974. }
  1975. c.read__(is__);
  1976. {
  1977. int szx__ = is__.readAndCheckSeqSize(4);
  1978. children = new Murmur.Tree[szx__];
  1979. for (int ix__ = 0; ix__ < szx__; ++ix__)
  1980. {
  1981. IceInternal.ArrayPatcher<Murmur.Tree> spx = new IceInternal.ArrayPatcher<Murmur.Tree>("::Murmur::Tree", children, ix__);
  1982. is__.readObject(spx);
  1983. }
  1984. }
  1985. {
  1986. int szx__ = is__.readAndCheckSeqSize(52);
  1987. users = new Murmur.User[szx__];
  1988. for (int ix__ = 0; ix__ < szx__; ++ix__)
  1989. {
  1990. users[ix__] = new Murmur.User();
  1991. users[ix__].read__(is__);
  1992. }
  1993. }
  1994. is__.endReadSlice();
  1995. base.read__(is__, true);
  1996. }
  1997.  
  1998. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  1999. public override void write__(Ice.OutputStream outS__)
  2000. {
  2001. Ice.MarshalException ex = new Ice.MarshalException();
  2002. ex.reason = "type Murmur::Tree was not generated with stream support";
  2003. throw ex;
  2004. }
  2005.  
  2006. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2007. public override void read__(Ice.InputStream inS__, bool rid__)
  2008. {
  2009. Ice.MarshalException ex = new Ice.MarshalException();
  2010. ex.reason = "type Murmur::Tree was not generated with stream support";
  2011. throw ex;
  2012. }
  2013.  
  2014. #endregion
  2015. }
  2016.  
  2017. [_System.Runtime.InteropServices.ComVisible(false)]
  2018. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  2019. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  2020. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  2021. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  2022. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  2023. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  2024. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  2025. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  2026. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  2027. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  2028. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  2029. public partial class MurmurException : Ice.UserException
  2030. {
  2031. #region Constructors
  2032.  
  2033. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2034. public MurmurException()
  2035. {
  2036. }
  2037.  
  2038. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2039. public MurmurException(_System.Exception ex__) : base(ex__)
  2040. {
  2041. }
  2042.  
  2043. #endregion
  2044.  
  2045. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2046. public override string ice_name()
  2047. {
  2048. return "Murmur::MurmurException";
  2049. }
  2050.  
  2051. #region Object members
  2052.  
  2053. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2054. public override int GetHashCode()
  2055. {
  2056. int h__ = 0;
  2057. return h__;
  2058. }
  2059.  
  2060. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2061. public override bool Equals(object other__)
  2062. {
  2063. if (other__ == null)
  2064. {
  2065. return false;
  2066. }
  2067. if (object.ReferenceEquals(this, other__))
  2068. {
  2069. return true;
  2070. }
  2071. MurmurException o__ = other__ as MurmurException;
  2072. if (o__ == null)
  2073. {
  2074. return false;
  2075. }
  2076. return true;
  2077. }
  2078.  
  2079. #endregion
  2080.  
  2081. #region Comparison members
  2082.  
  2083. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2084. public static bool operator ==(MurmurException lhs__, MurmurException rhs__)
  2085. {
  2086. return Equals(lhs__, rhs__);
  2087. }
  2088.  
  2089. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2090. public static bool operator !=(MurmurException lhs__, MurmurException rhs__)
  2091. {
  2092. return !Equals(lhs__, rhs__);
  2093. }
  2094.  
  2095. #endregion
  2096.  
  2097. #region Marshaling support
  2098.  
  2099. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2100. public override void write__(IceInternal.BasicStream os__)
  2101. {
  2102. os__.writeString("::Murmur::MurmurException");
  2103. os__.startWriteSlice();
  2104. os__.endWriteSlice();
  2105. }
  2106.  
  2107. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2108. public override void read__(IceInternal.BasicStream is__, bool rid__)
  2109. {
  2110. if (rid__)
  2111. {
  2112. /* string myId = */
  2113. is__.readString();
  2114. }
  2115. is__.startReadSlice();
  2116. is__.endReadSlice();
  2117. }
  2118.  
  2119. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2120. public override void write__(Ice.OutputStream outS__)
  2121. {
  2122. Ice.MarshalException ex = new Ice.MarshalException();
  2123. ex.reason = "exception Murmur::MurmurException was not generated with stream support";
  2124. throw ex;
  2125. }
  2126.  
  2127. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2128. public override void read__(Ice.InputStream inS__, bool rid__)
  2129. {
  2130. Ice.MarshalException ex = new Ice.MarshalException();
  2131. ex.reason = "exception Murmur::MurmurException was not generated with stream support";
  2132. throw ex;
  2133. }
  2134.  
  2135. #endregion
  2136. }
  2137.  
  2138. /// <summary>
  2139. /// This is thrown when you specify an invalid session.
  2140. /// This may happen if the user has disconnected since your last call to Server.getUsers. See User.session
  2141. /// </summary>
  2142.  
  2143. [_System.Runtime.InteropServices.ComVisible(false)]
  2144. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  2145. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  2146. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  2147. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  2148. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  2149. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  2150. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  2151. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  2152. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  2153. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  2154. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  2155. public partial class InvalidSessionException : Murmur.MurmurException
  2156. {
  2157. #region Constructors
  2158.  
  2159. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2160. public InvalidSessionException()
  2161. {
  2162. }
  2163.  
  2164. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2165. public InvalidSessionException(_System.Exception ex__) : base(ex__)
  2166. {
  2167. }
  2168.  
  2169. #endregion
  2170.  
  2171. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2172. public override string ice_name()
  2173. {
  2174. return "Murmur::InvalidSessionException";
  2175. }
  2176.  
  2177. #region Object members
  2178.  
  2179. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2180. public override int GetHashCode()
  2181. {
  2182. int h__ = base.GetHashCode();
  2183. return h__;
  2184. }
  2185.  
  2186. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2187. public override bool Equals(object other__)
  2188. {
  2189. if (other__ == null)
  2190. {
  2191. return false;
  2192. }
  2193. if (object.ReferenceEquals(this, other__))
  2194. {
  2195. return true;
  2196. }
  2197. InvalidSessionException o__ = other__ as InvalidSessionException;
  2198. if (o__ == null)
  2199. {
  2200. return false;
  2201. }
  2202. if (!base.Equals(other__))
  2203. {
  2204. return false;
  2205. }
  2206. return true;
  2207. }
  2208.  
  2209. #endregion
  2210.  
  2211. #region Comparison members
  2212.  
  2213. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2214. public static bool operator ==(InvalidSessionException lhs__, InvalidSessionException rhs__)
  2215. {
  2216. return Equals(lhs__, rhs__);
  2217. }
  2218.  
  2219. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2220. public static bool operator !=(InvalidSessionException lhs__, InvalidSessionException rhs__)
  2221. {
  2222. return !Equals(lhs__, rhs__);
  2223. }
  2224.  
  2225. #endregion
  2226.  
  2227. #region Marshaling support
  2228.  
  2229. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2230. public override void write__(IceInternal.BasicStream os__)
  2231. {
  2232. os__.writeString("::Murmur::InvalidSessionException");
  2233. os__.startWriteSlice();
  2234. os__.endWriteSlice();
  2235. base.write__(os__);
  2236. }
  2237.  
  2238. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2239. public override void read__(IceInternal.BasicStream is__, bool rid__)
  2240. {
  2241. if (rid__)
  2242. {
  2243. /* string myId = */
  2244. is__.readString();
  2245. }
  2246. is__.startReadSlice();
  2247. is__.endReadSlice();
  2248. base.read__(is__, true);
  2249. }
  2250.  
  2251. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2252. public override void write__(Ice.OutputStream outS__)
  2253. {
  2254. Ice.MarshalException ex = new Ice.MarshalException();
  2255. ex.reason = "exception Murmur::InvalidSessionException was not generated with stream support";
  2256. throw ex;
  2257. }
  2258.  
  2259. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2260. public override void read__(Ice.InputStream inS__, bool rid__)
  2261. {
  2262. Ice.MarshalException ex = new Ice.MarshalException();
  2263. ex.reason = "exception Murmur::InvalidSessionException was not generated with stream support";
  2264. throw ex;
  2265. }
  2266.  
  2267. #endregion
  2268. }
  2269.  
  2270. /// <summary>
  2271. /// This is thrown when you specify an invalid channel id.
  2272. /// This may happen if the channel was removed by another provess. It can also be thrown if you try to add an invalid channel.
  2273. /// </summary>
  2274.  
  2275. [_System.Runtime.InteropServices.ComVisible(false)]
  2276. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  2277. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  2278. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  2279. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  2280. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  2281. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  2282. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  2283. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  2284. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  2285. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  2286. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  2287. public partial class InvalidChannelException : Murmur.MurmurException
  2288. {
  2289. #region Constructors
  2290.  
  2291. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2292. public InvalidChannelException()
  2293. {
  2294. }
  2295.  
  2296. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2297. public InvalidChannelException(_System.Exception ex__) : base(ex__)
  2298. {
  2299. }
  2300.  
  2301. #endregion
  2302.  
  2303. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2304. public override string ice_name()
  2305. {
  2306. return "Murmur::InvalidChannelException";
  2307. }
  2308.  
  2309. #region Object members
  2310.  
  2311. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2312. public override int GetHashCode()
  2313. {
  2314. int h__ = base.GetHashCode();
  2315. return h__;
  2316. }
  2317.  
  2318. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2319. public override bool Equals(object other__)
  2320. {
  2321. if (other__ == null)
  2322. {
  2323. return false;
  2324. }
  2325. if (object.ReferenceEquals(this, other__))
  2326. {
  2327. return true;
  2328. }
  2329. InvalidChannelException o__ = other__ as InvalidChannelException;
  2330. if (o__ == null)
  2331. {
  2332. return false;
  2333. }
  2334. if (!base.Equals(other__))
  2335. {
  2336. return false;
  2337. }
  2338. return true;
  2339. }
  2340.  
  2341. #endregion
  2342.  
  2343. #region Comparison members
  2344.  
  2345. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2346. public static bool operator ==(InvalidChannelException lhs__, InvalidChannelException rhs__)
  2347. {
  2348. return Equals(lhs__, rhs__);
  2349. }
  2350.  
  2351. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2352. public static bool operator !=(InvalidChannelException lhs__, InvalidChannelException rhs__)
  2353. {
  2354. return !Equals(lhs__, rhs__);
  2355. }
  2356.  
  2357. #endregion
  2358.  
  2359. #region Marshaling support
  2360.  
  2361. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2362. public override void write__(IceInternal.BasicStream os__)
  2363. {
  2364. os__.writeString("::Murmur::InvalidChannelException");
  2365. os__.startWriteSlice();
  2366. os__.endWriteSlice();
  2367. base.write__(os__);
  2368. }
  2369.  
  2370. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2371. public override void read__(IceInternal.BasicStream is__, bool rid__)
  2372. {
  2373. if (rid__)
  2374. {
  2375. /* string myId = */
  2376. is__.readString();
  2377. }
  2378. is__.startReadSlice();
  2379. is__.endReadSlice();
  2380. base.read__(is__, true);
  2381. }
  2382.  
  2383. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2384. public override void write__(Ice.OutputStream outS__)
  2385. {
  2386. Ice.MarshalException ex = new Ice.MarshalException();
  2387. ex.reason = "exception Murmur::InvalidChannelException was not generated with stream support";
  2388. throw ex;
  2389. }
  2390.  
  2391. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2392. public override void read__(Ice.InputStream inS__, bool rid__)
  2393. {
  2394. Ice.MarshalException ex = new Ice.MarshalException();
  2395. ex.reason = "exception Murmur::InvalidChannelException was not generated with stream support";
  2396. throw ex;
  2397. }
  2398.  
  2399. #endregion
  2400. }
  2401.  
  2402. /// <summary>
  2403. /// This is thrown when you try to do an operation on a server that does not exist.
  2404. /// This may happen if someone has removed the server.
  2405. /// </summary>
  2406.  
  2407. [_System.Runtime.InteropServices.ComVisible(false)]
  2408. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  2409. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  2410. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  2411. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  2412. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  2413. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  2414. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  2415. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  2416. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  2417. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  2418. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  2419. public partial class InvalidServerException : Murmur.MurmurException
  2420. {
  2421. #region Constructors
  2422.  
  2423. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2424. public InvalidServerException()
  2425. {
  2426. }
  2427.  
  2428. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2429. public InvalidServerException(_System.Exception ex__) : base(ex__)
  2430. {
  2431. }
  2432.  
  2433. #endregion
  2434.  
  2435. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2436. public override string ice_name()
  2437. {
  2438. return "Murmur::InvalidServerException";
  2439. }
  2440.  
  2441. #region Object members
  2442.  
  2443. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2444. public override int GetHashCode()
  2445. {
  2446. int h__ = base.GetHashCode();
  2447. return h__;
  2448. }
  2449.  
  2450. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2451. public override bool Equals(object other__)
  2452. {
  2453. if (other__ == null)
  2454. {
  2455. return false;
  2456. }
  2457. if (object.ReferenceEquals(this, other__))
  2458. {
  2459. return true;
  2460. }
  2461. InvalidServerException o__ = other__ as InvalidServerException;
  2462. if (o__ == null)
  2463. {
  2464. return false;
  2465. }
  2466. if (!base.Equals(other__))
  2467. {
  2468. return false;
  2469. }
  2470. return true;
  2471. }
  2472.  
  2473. #endregion
  2474.  
  2475. #region Comparison members
  2476.  
  2477. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2478. public static bool operator ==(InvalidServerException lhs__, InvalidServerException rhs__)
  2479. {
  2480. return Equals(lhs__, rhs__);
  2481. }
  2482.  
  2483. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2484. public static bool operator !=(InvalidServerException lhs__, InvalidServerException rhs__)
  2485. {
  2486. return !Equals(lhs__, rhs__);
  2487. }
  2488.  
  2489. #endregion
  2490.  
  2491. #region Marshaling support
  2492.  
  2493. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2494. public override void write__(IceInternal.BasicStream os__)
  2495. {
  2496. os__.writeString("::Murmur::InvalidServerException");
  2497. os__.startWriteSlice();
  2498. os__.endWriteSlice();
  2499. base.write__(os__);
  2500. }
  2501.  
  2502. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2503. public override void read__(IceInternal.BasicStream is__, bool rid__)
  2504. {
  2505. if (rid__)
  2506. {
  2507. /* string myId = */
  2508. is__.readString();
  2509. }
  2510. is__.startReadSlice();
  2511. is__.endReadSlice();
  2512. base.read__(is__, true);
  2513. }
  2514.  
  2515. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2516. public override void write__(Ice.OutputStream outS__)
  2517. {
  2518. Ice.MarshalException ex = new Ice.MarshalException();
  2519. ex.reason = "exception Murmur::InvalidServerException was not generated with stream support";
  2520. throw ex;
  2521. }
  2522.  
  2523. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2524. public override void read__(Ice.InputStream inS__, bool rid__)
  2525. {
  2526. Ice.MarshalException ex = new Ice.MarshalException();
  2527. ex.reason = "exception Murmur::InvalidServerException was not generated with stream support";
  2528. throw ex;
  2529. }
  2530.  
  2531. #endregion
  2532. }
  2533.  
  2534. /// <summary>
  2535. /// This happens if you try to fetch user or channel state on a stopped server, if you try to stop an already stopped server or start an already started server.
  2536. /// </summary>
  2537.  
  2538. [_System.Runtime.InteropServices.ComVisible(false)]
  2539. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  2540. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  2541. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  2542. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  2543. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  2544. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  2545. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  2546. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  2547. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  2548. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  2549. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  2550. public partial class ServerBootedException : Murmur.MurmurException
  2551. {
  2552. #region Constructors
  2553.  
  2554. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2555. public ServerBootedException()
  2556. {
  2557. }
  2558.  
  2559. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2560. public ServerBootedException(_System.Exception ex__) : base(ex__)
  2561. {
  2562. }
  2563.  
  2564. #endregion
  2565.  
  2566. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2567. public override string ice_name()
  2568. {
  2569. return "Murmur::ServerBootedException";
  2570. }
  2571.  
  2572. #region Object members
  2573.  
  2574. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2575. public override int GetHashCode()
  2576. {
  2577. int h__ = base.GetHashCode();
  2578. return h__;
  2579. }
  2580.  
  2581. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2582. public override bool Equals(object other__)
  2583. {
  2584. if (other__ == null)
  2585. {
  2586. return false;
  2587. }
  2588. if (object.ReferenceEquals(this, other__))
  2589. {
  2590. return true;
  2591. }
  2592. ServerBootedException o__ = other__ as ServerBootedException;
  2593. if (o__ == null)
  2594. {
  2595. return false;
  2596. }
  2597. if (!base.Equals(other__))
  2598. {
  2599. return false;
  2600. }
  2601. return true;
  2602. }
  2603.  
  2604. #endregion
  2605.  
  2606. #region Comparison members
  2607.  
  2608. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2609. public static bool operator ==(ServerBootedException lhs__, ServerBootedException rhs__)
  2610. {
  2611. return Equals(lhs__, rhs__);
  2612. }
  2613.  
  2614. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2615. public static bool operator !=(ServerBootedException lhs__, ServerBootedException rhs__)
  2616. {
  2617. return !Equals(lhs__, rhs__);
  2618. }
  2619.  
  2620. #endregion
  2621.  
  2622. #region Marshaling support
  2623.  
  2624. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2625. public override void write__(IceInternal.BasicStream os__)
  2626. {
  2627. os__.writeString("::Murmur::ServerBootedException");
  2628. os__.startWriteSlice();
  2629. os__.endWriteSlice();
  2630. base.write__(os__);
  2631. }
  2632.  
  2633. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2634. public override void read__(IceInternal.BasicStream is__, bool rid__)
  2635. {
  2636. if (rid__)
  2637. {
  2638. /* string myId = */
  2639. is__.readString();
  2640. }
  2641. is__.startReadSlice();
  2642. is__.endReadSlice();
  2643. base.read__(is__, true);
  2644. }
  2645.  
  2646. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2647. public override void write__(Ice.OutputStream outS__)
  2648. {
  2649. Ice.MarshalException ex = new Ice.MarshalException();
  2650. ex.reason = "exception Murmur::ServerBootedException was not generated with stream support";
  2651. throw ex;
  2652. }
  2653.  
  2654. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2655. public override void read__(Ice.InputStream inS__, bool rid__)
  2656. {
  2657. Ice.MarshalException ex = new Ice.MarshalException();
  2658. ex.reason = "exception Murmur::ServerBootedException was not generated with stream support";
  2659. throw ex;
  2660. }
  2661.  
  2662. #endregion
  2663. }
  2664.  
  2665. /// <summary>
  2666. /// This is thrown if Server.start fails, and should generally be the cause for some concern.
  2667. /// </summary>
  2668.  
  2669. [_System.Runtime.InteropServices.ComVisible(false)]
  2670. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  2671. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  2672. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  2673. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  2674. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  2675. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  2676. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  2677. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  2678. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  2679. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  2680. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  2681. public partial class ServerFailureException : Murmur.MurmurException
  2682. {
  2683. #region Constructors
  2684.  
  2685. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2686. public ServerFailureException()
  2687. {
  2688. }
  2689.  
  2690. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2691. public ServerFailureException(_System.Exception ex__) : base(ex__)
  2692. {
  2693. }
  2694.  
  2695. #endregion
  2696.  
  2697. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2698. public override string ice_name()
  2699. {
  2700. return "Murmur::ServerFailureException";
  2701. }
  2702.  
  2703. #region Object members
  2704.  
  2705. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2706. public override int GetHashCode()
  2707. {
  2708. int h__ = base.GetHashCode();
  2709. return h__;
  2710. }
  2711.  
  2712. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2713. public override bool Equals(object other__)
  2714. {
  2715. if (other__ == null)
  2716. {
  2717. return false;
  2718. }
  2719. if (object.ReferenceEquals(this, other__))
  2720. {
  2721. return true;
  2722. }
  2723. ServerFailureException o__ = other__ as ServerFailureException;
  2724. if (o__ == null)
  2725. {
  2726. return false;
  2727. }
  2728. if (!base.Equals(other__))
  2729. {
  2730. return false;
  2731. }
  2732. return true;
  2733. }
  2734.  
  2735. #endregion
  2736.  
  2737. #region Comparison members
  2738.  
  2739. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2740. public static bool operator ==(ServerFailureException lhs__, ServerFailureException rhs__)
  2741. {
  2742. return Equals(lhs__, rhs__);
  2743. }
  2744.  
  2745. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2746. public static bool operator !=(ServerFailureException lhs__, ServerFailureException rhs__)
  2747. {
  2748. return !Equals(lhs__, rhs__);
  2749. }
  2750.  
  2751. #endregion
  2752.  
  2753. #region Marshaling support
  2754.  
  2755. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2756. public override void write__(IceInternal.BasicStream os__)
  2757. {
  2758. os__.writeString("::Murmur::ServerFailureException");
  2759. os__.startWriteSlice();
  2760. os__.endWriteSlice();
  2761. base.write__(os__);
  2762. }
  2763.  
  2764. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2765. public override void read__(IceInternal.BasicStream is__, bool rid__)
  2766. {
  2767. if (rid__)
  2768. {
  2769. /* string myId = */
  2770. is__.readString();
  2771. }
  2772. is__.startReadSlice();
  2773. is__.endReadSlice();
  2774. base.read__(is__, true);
  2775. }
  2776.  
  2777. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2778. public override void write__(Ice.OutputStream outS__)
  2779. {
  2780. Ice.MarshalException ex = new Ice.MarshalException();
  2781. ex.reason = "exception Murmur::ServerFailureException was not generated with stream support";
  2782. throw ex;
  2783. }
  2784.  
  2785. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2786. public override void read__(Ice.InputStream inS__, bool rid__)
  2787. {
  2788. Ice.MarshalException ex = new Ice.MarshalException();
  2789. ex.reason = "exception Murmur::ServerFailureException was not generated with stream support";
  2790. throw ex;
  2791. }
  2792.  
  2793. #endregion
  2794. }
  2795.  
  2796. /// <summary>
  2797. /// This is thrown when you specify an invalid userid.
  2798. /// </summary>
  2799.  
  2800. [_System.Runtime.InteropServices.ComVisible(false)]
  2801. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  2802. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  2803. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  2804. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  2805. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  2806. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  2807. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  2808. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  2809. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  2810. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  2811. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  2812. public partial class InvalidUserException : Murmur.MurmurException
  2813. {
  2814. #region Constructors
  2815.  
  2816. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2817. public InvalidUserException()
  2818. {
  2819. }
  2820.  
  2821. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2822. public InvalidUserException(_System.Exception ex__) : base(ex__)
  2823. {
  2824. }
  2825.  
  2826. #endregion
  2827.  
  2828. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2829. public override string ice_name()
  2830. {
  2831. return "Murmur::InvalidUserException";
  2832. }
  2833.  
  2834. #region Object members
  2835.  
  2836. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2837. public override int GetHashCode()
  2838. {
  2839. int h__ = base.GetHashCode();
  2840. return h__;
  2841. }
  2842.  
  2843. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2844. public override bool Equals(object other__)
  2845. {
  2846. if (other__ == null)
  2847. {
  2848. return false;
  2849. }
  2850. if (object.ReferenceEquals(this, other__))
  2851. {
  2852. return true;
  2853. }
  2854. InvalidUserException o__ = other__ as InvalidUserException;
  2855. if (o__ == null)
  2856. {
  2857. return false;
  2858. }
  2859. if (!base.Equals(other__))
  2860. {
  2861. return false;
  2862. }
  2863. return true;
  2864. }
  2865.  
  2866. #endregion
  2867.  
  2868. #region Comparison members
  2869.  
  2870. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2871. public static bool operator ==(InvalidUserException lhs__, InvalidUserException rhs__)
  2872. {
  2873. return Equals(lhs__, rhs__);
  2874. }
  2875.  
  2876. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2877. public static bool operator !=(InvalidUserException lhs__, InvalidUserException rhs__)
  2878. {
  2879. return !Equals(lhs__, rhs__);
  2880. }
  2881.  
  2882. #endregion
  2883.  
  2884. #region Marshaling support
  2885.  
  2886. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2887. public override void write__(IceInternal.BasicStream os__)
  2888. {
  2889. os__.writeString("::Murmur::InvalidUserException");
  2890. os__.startWriteSlice();
  2891. os__.endWriteSlice();
  2892. base.write__(os__);
  2893. }
  2894.  
  2895. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2896. public override void read__(IceInternal.BasicStream is__, bool rid__)
  2897. {
  2898. if (rid__)
  2899. {
  2900. /* string myId = */
  2901. is__.readString();
  2902. }
  2903. is__.startReadSlice();
  2904. is__.endReadSlice();
  2905. base.read__(is__, true);
  2906. }
  2907.  
  2908. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2909. public override void write__(Ice.OutputStream outS__)
  2910. {
  2911. Ice.MarshalException ex = new Ice.MarshalException();
  2912. ex.reason = "exception Murmur::InvalidUserException was not generated with stream support";
  2913. throw ex;
  2914. }
  2915.  
  2916. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2917. public override void read__(Ice.InputStream inS__, bool rid__)
  2918. {
  2919. Ice.MarshalException ex = new Ice.MarshalException();
  2920. ex.reason = "exception Murmur::InvalidUserException was not generated with stream support";
  2921. throw ex;
  2922. }
  2923.  
  2924. #endregion
  2925. }
  2926.  
  2927. /// <summary>
  2928. /// This is thrown when you try to set an invalid texture.
  2929. /// </summary>
  2930.  
  2931. [_System.Runtime.InteropServices.ComVisible(false)]
  2932. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  2933. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  2934. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  2935. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  2936. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  2937. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  2938. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  2939. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  2940. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  2941. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  2942. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  2943. public partial class InvalidTextureException : Murmur.MurmurException
  2944. {
  2945. #region Constructors
  2946.  
  2947. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2948. public InvalidTextureException()
  2949. {
  2950. }
  2951.  
  2952. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2953. public InvalidTextureException(_System.Exception ex__) : base(ex__)
  2954. {
  2955. }
  2956.  
  2957. #endregion
  2958.  
  2959. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2960. public override string ice_name()
  2961. {
  2962. return "Murmur::InvalidTextureException";
  2963. }
  2964.  
  2965. #region Object members
  2966.  
  2967. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2968. public override int GetHashCode()
  2969. {
  2970. int h__ = base.GetHashCode();
  2971. return h__;
  2972. }
  2973.  
  2974. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  2975. public override bool Equals(object other__)
  2976. {
  2977. if (other__ == null)
  2978. {
  2979. return false;
  2980. }
  2981. if (object.ReferenceEquals(this, other__))
  2982. {
  2983. return true;
  2984. }
  2985. InvalidTextureException o__ = other__ as InvalidTextureException;
  2986. if (o__ == null)
  2987. {
  2988. return false;
  2989. }
  2990. if (!base.Equals(other__))
  2991. {
  2992. return false;
  2993. }
  2994. return true;
  2995. }
  2996.  
  2997. #endregion
  2998.  
  2999. #region Comparison members
  3000.  
  3001. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3002. public static bool operator ==(InvalidTextureException lhs__, InvalidTextureException rhs__)
  3003. {
  3004. return Equals(lhs__, rhs__);
  3005. }
  3006.  
  3007. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3008. public static bool operator !=(InvalidTextureException lhs__, InvalidTextureException rhs__)
  3009. {
  3010. return !Equals(lhs__, rhs__);
  3011. }
  3012.  
  3013. #endregion
  3014.  
  3015. #region Marshaling support
  3016.  
  3017. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3018. public override void write__(IceInternal.BasicStream os__)
  3019. {
  3020. os__.writeString("::Murmur::InvalidTextureException");
  3021. os__.startWriteSlice();
  3022. os__.endWriteSlice();
  3023. base.write__(os__);
  3024. }
  3025.  
  3026. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3027. public override void read__(IceInternal.BasicStream is__, bool rid__)
  3028. {
  3029. if (rid__)
  3030. {
  3031. /* string myId = */
  3032. is__.readString();
  3033. }
  3034. is__.startReadSlice();
  3035. is__.endReadSlice();
  3036. base.read__(is__, true);
  3037. }
  3038.  
  3039. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3040. public override void write__(Ice.OutputStream outS__)
  3041. {
  3042. Ice.MarshalException ex = new Ice.MarshalException();
  3043. ex.reason = "exception Murmur::InvalidTextureException was not generated with stream support";
  3044. throw ex;
  3045. }
  3046.  
  3047. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3048. public override void read__(Ice.InputStream inS__, bool rid__)
  3049. {
  3050. Ice.MarshalException ex = new Ice.MarshalException();
  3051. ex.reason = "exception Murmur::InvalidTextureException was not generated with stream support";
  3052. throw ex;
  3053. }
  3054.  
  3055. #endregion
  3056. }
  3057.  
  3058. /// <summary>
  3059. /// This is thrown when you supply an invalid callback.
  3060. /// </summary>
  3061.  
  3062. [_System.Runtime.InteropServices.ComVisible(false)]
  3063. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  3064. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3065. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3066. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3067. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3068. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3069. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3070. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3071. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3072. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3073. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3074. public partial class InvalidCallbackException : Murmur.MurmurException
  3075. {
  3076. #region Constructors
  3077.  
  3078. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3079. public InvalidCallbackException()
  3080. {
  3081. }
  3082.  
  3083. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3084. public InvalidCallbackException(_System.Exception ex__) : base(ex__)
  3085. {
  3086. }
  3087.  
  3088. #endregion
  3089.  
  3090. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3091. public override string ice_name()
  3092. {
  3093. return "Murmur::InvalidCallbackException";
  3094. }
  3095.  
  3096. #region Object members
  3097.  
  3098. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3099. public override int GetHashCode()
  3100. {
  3101. int h__ = base.GetHashCode();
  3102. return h__;
  3103. }
  3104.  
  3105. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3106. public override bool Equals(object other__)
  3107. {
  3108. if (other__ == null)
  3109. {
  3110. return false;
  3111. }
  3112. if (object.ReferenceEquals(this, other__))
  3113. {
  3114. return true;
  3115. }
  3116. InvalidCallbackException o__ = other__ as InvalidCallbackException;
  3117. if (o__ == null)
  3118. {
  3119. return false;
  3120. }
  3121. if (!base.Equals(other__))
  3122. {
  3123. return false;
  3124. }
  3125. return true;
  3126. }
  3127.  
  3128. #endregion
  3129.  
  3130. #region Comparison members
  3131.  
  3132. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3133. public static bool operator ==(InvalidCallbackException lhs__, InvalidCallbackException rhs__)
  3134. {
  3135. return Equals(lhs__, rhs__);
  3136. }
  3137.  
  3138. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3139. public static bool operator !=(InvalidCallbackException lhs__, InvalidCallbackException rhs__)
  3140. {
  3141. return !Equals(lhs__, rhs__);
  3142. }
  3143.  
  3144. #endregion
  3145.  
  3146. #region Marshaling support
  3147.  
  3148. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3149. public override void write__(IceInternal.BasicStream os__)
  3150. {
  3151. os__.writeString("::Murmur::InvalidCallbackException");
  3152. os__.startWriteSlice();
  3153. os__.endWriteSlice();
  3154. base.write__(os__);
  3155. }
  3156.  
  3157. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3158. public override void read__(IceInternal.BasicStream is__, bool rid__)
  3159. {
  3160. if (rid__)
  3161. {
  3162. /* string myId = */
  3163. is__.readString();
  3164. }
  3165. is__.startReadSlice();
  3166. is__.endReadSlice();
  3167. base.read__(is__, true);
  3168. }
  3169.  
  3170. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3171. public override void write__(Ice.OutputStream outS__)
  3172. {
  3173. Ice.MarshalException ex = new Ice.MarshalException();
  3174. ex.reason = "exception Murmur::InvalidCallbackException was not generated with stream support";
  3175. throw ex;
  3176. }
  3177.  
  3178. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3179. public override void read__(Ice.InputStream inS__, bool rid__)
  3180. {
  3181. Ice.MarshalException ex = new Ice.MarshalException();
  3182. ex.reason = "exception Murmur::InvalidCallbackException was not generated with stream support";
  3183. throw ex;
  3184. }
  3185.  
  3186. #endregion
  3187. }
  3188.  
  3189. /// <summary>
  3190. /// This is thrown when you supply the wrong secret in the calling context.
  3191. /// </summary>
  3192.  
  3193. [_System.Runtime.InteropServices.ComVisible(false)]
  3194. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  3195. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3196. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3197. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3198. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3199. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3200. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3201. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3202. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3203. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3204. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3205. public partial class InvalidSecretException : Murmur.MurmurException
  3206. {
  3207. #region Constructors
  3208.  
  3209. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3210. public InvalidSecretException()
  3211. {
  3212. }
  3213.  
  3214. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3215. public InvalidSecretException(_System.Exception ex__) : base(ex__)
  3216. {
  3217. }
  3218.  
  3219. #endregion
  3220.  
  3221. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3222. public override string ice_name()
  3223. {
  3224. return "Murmur::InvalidSecretException";
  3225. }
  3226.  
  3227. #region Object members
  3228.  
  3229. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3230. public override int GetHashCode()
  3231. {
  3232. int h__ = base.GetHashCode();
  3233. return h__;
  3234. }
  3235.  
  3236. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3237. public override bool Equals(object other__)
  3238. {
  3239. if (other__ == null)
  3240. {
  3241. return false;
  3242. }
  3243. if (object.ReferenceEquals(this, other__))
  3244. {
  3245. return true;
  3246. }
  3247. InvalidSecretException o__ = other__ as InvalidSecretException;
  3248. if (o__ == null)
  3249. {
  3250. return false;
  3251. }
  3252. if (!base.Equals(other__))
  3253. {
  3254. return false;
  3255. }
  3256. return true;
  3257. }
  3258.  
  3259. #endregion
  3260.  
  3261. #region Comparison members
  3262.  
  3263. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3264. public static bool operator ==(InvalidSecretException lhs__, InvalidSecretException rhs__)
  3265. {
  3266. return Equals(lhs__, rhs__);
  3267. }
  3268.  
  3269. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3270. public static bool operator !=(InvalidSecretException lhs__, InvalidSecretException rhs__)
  3271. {
  3272. return !Equals(lhs__, rhs__);
  3273. }
  3274.  
  3275. #endregion
  3276.  
  3277. #region Marshaling support
  3278.  
  3279. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3280. public override void write__(IceInternal.BasicStream os__)
  3281. {
  3282. os__.writeString("::Murmur::InvalidSecretException");
  3283. os__.startWriteSlice();
  3284. os__.endWriteSlice();
  3285. base.write__(os__);
  3286. }
  3287.  
  3288. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3289. public override void read__(IceInternal.BasicStream is__, bool rid__)
  3290. {
  3291. if (rid__)
  3292. {
  3293. /* string myId = */
  3294. is__.readString();
  3295. }
  3296. is__.startReadSlice();
  3297. is__.endReadSlice();
  3298. base.read__(is__, true);
  3299. }
  3300.  
  3301. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3302. public override void write__(Ice.OutputStream outS__)
  3303. {
  3304. Ice.MarshalException ex = new Ice.MarshalException();
  3305. ex.reason = "exception Murmur::InvalidSecretException was not generated with stream support";
  3306. throw ex;
  3307. }
  3308.  
  3309. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3310. public override void read__(Ice.InputStream inS__, bool rid__)
  3311. {
  3312. Ice.MarshalException ex = new Ice.MarshalException();
  3313. ex.reason = "exception Murmur::InvalidSecretException was not generated with stream support";
  3314. throw ex;
  3315. }
  3316.  
  3317. #endregion
  3318. }
  3319.  
  3320. /// <summary>
  3321. /// This is thrown when the channel operation would excede the channel nesting limit
  3322. /// </summary>
  3323.  
  3324. [_System.Runtime.InteropServices.ComVisible(false)]
  3325. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  3326. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3327. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3328. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3329. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3330. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3331. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3332. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3333. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3334. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3335. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3336. public partial class NestingLimitException : Murmur.MurmurException
  3337. {
  3338. #region Constructors
  3339.  
  3340. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3341. public NestingLimitException()
  3342. {
  3343. }
  3344.  
  3345. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3346. public NestingLimitException(_System.Exception ex__) : base(ex__)
  3347. {
  3348. }
  3349.  
  3350. #endregion
  3351.  
  3352. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3353. public override string ice_name()
  3354. {
  3355. return "Murmur::NestingLimitException";
  3356. }
  3357.  
  3358. #region Object members
  3359.  
  3360. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3361. public override int GetHashCode()
  3362. {
  3363. int h__ = base.GetHashCode();
  3364. return h__;
  3365. }
  3366.  
  3367. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3368. public override bool Equals(object other__)
  3369. {
  3370. if (other__ == null)
  3371. {
  3372. return false;
  3373. }
  3374. if (object.ReferenceEquals(this, other__))
  3375. {
  3376. return true;
  3377. }
  3378. NestingLimitException o__ = other__ as NestingLimitException;
  3379. if (o__ == null)
  3380. {
  3381. return false;
  3382. }
  3383. if (!base.Equals(other__))
  3384. {
  3385. return false;
  3386. }
  3387. return true;
  3388. }
  3389.  
  3390. #endregion
  3391.  
  3392. #region Comparison members
  3393.  
  3394. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3395. public static bool operator ==(NestingLimitException lhs__, NestingLimitException rhs__)
  3396. {
  3397. return Equals(lhs__, rhs__);
  3398. }
  3399.  
  3400. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3401. public static bool operator !=(NestingLimitException lhs__, NestingLimitException rhs__)
  3402. {
  3403. return !Equals(lhs__, rhs__);
  3404. }
  3405.  
  3406. #endregion
  3407.  
  3408. #region Marshaling support
  3409.  
  3410. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3411. public override void write__(IceInternal.BasicStream os__)
  3412. {
  3413. os__.writeString("::Murmur::NestingLimitException");
  3414. os__.startWriteSlice();
  3415. os__.endWriteSlice();
  3416. base.write__(os__);
  3417. }
  3418.  
  3419. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3420. public override void read__(IceInternal.BasicStream is__, bool rid__)
  3421. {
  3422. if (rid__)
  3423. {
  3424. /* string myId = */
  3425. is__.readString();
  3426. }
  3427. is__.startReadSlice();
  3428. is__.endReadSlice();
  3429. base.read__(is__, true);
  3430. }
  3431.  
  3432. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3433. public override void write__(Ice.OutputStream outS__)
  3434. {
  3435. Ice.MarshalException ex = new Ice.MarshalException();
  3436. ex.reason = "exception Murmur::NestingLimitException was not generated with stream support";
  3437. throw ex;
  3438. }
  3439.  
  3440. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3441. public override void read__(Ice.InputStream inS__, bool rid__)
  3442. {
  3443. Ice.MarshalException ex = new Ice.MarshalException();
  3444. ex.reason = "exception Murmur::NestingLimitException was not generated with stream support";
  3445. throw ex;
  3446. }
  3447.  
  3448. #endregion
  3449. }
  3450.  
  3451. /// <summary>
  3452. /// This is thrown when you ask the server to disclose something that should be secret.
  3453. /// </summary>
  3454.  
  3455. [_System.Runtime.InteropServices.ComVisible(false)]
  3456. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  3457. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3458. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3459. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3460. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3461. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3462. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3463. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3464. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3465. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3466. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3467. public partial class WriteOnlyException : Murmur.MurmurException
  3468. {
  3469. #region Constructors
  3470.  
  3471. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3472. public WriteOnlyException()
  3473. {
  3474. }
  3475.  
  3476. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3477. public WriteOnlyException(_System.Exception ex__) : base(ex__)
  3478. {
  3479. }
  3480.  
  3481. #endregion
  3482.  
  3483. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3484. public override string ice_name()
  3485. {
  3486. return "Murmur::WriteOnlyException";
  3487. }
  3488.  
  3489. #region Object members
  3490.  
  3491. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3492. public override int GetHashCode()
  3493. {
  3494. int h__ = base.GetHashCode();
  3495. return h__;
  3496. }
  3497.  
  3498. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3499. public override bool Equals(object other__)
  3500. {
  3501. if (other__ == null)
  3502. {
  3503. return false;
  3504. }
  3505. if (object.ReferenceEquals(this, other__))
  3506. {
  3507. return true;
  3508. }
  3509. WriteOnlyException o__ = other__ as WriteOnlyException;
  3510. if (o__ == null)
  3511. {
  3512. return false;
  3513. }
  3514. if (!base.Equals(other__))
  3515. {
  3516. return false;
  3517. }
  3518. return true;
  3519. }
  3520.  
  3521. #endregion
  3522.  
  3523. #region Comparison members
  3524.  
  3525. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3526. public static bool operator ==(WriteOnlyException lhs__, WriteOnlyException rhs__)
  3527. {
  3528. return Equals(lhs__, rhs__);
  3529. }
  3530.  
  3531. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3532. public static bool operator !=(WriteOnlyException lhs__, WriteOnlyException rhs__)
  3533. {
  3534. return !Equals(lhs__, rhs__);
  3535. }
  3536.  
  3537. #endregion
  3538.  
  3539. #region Marshaling support
  3540.  
  3541. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3542. public override void write__(IceInternal.BasicStream os__)
  3543. {
  3544. os__.writeString("::Murmur::WriteOnlyException");
  3545. os__.startWriteSlice();
  3546. os__.endWriteSlice();
  3547. base.write__(os__);
  3548. }
  3549.  
  3550. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3551. public override void read__(IceInternal.BasicStream is__, bool rid__)
  3552. {
  3553. if (rid__)
  3554. {
  3555. /* string myId = */
  3556. is__.readString();
  3557. }
  3558. is__.startReadSlice();
  3559. is__.endReadSlice();
  3560. base.read__(is__, true);
  3561. }
  3562.  
  3563. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3564. public override void write__(Ice.OutputStream outS__)
  3565. {
  3566. Ice.MarshalException ex = new Ice.MarshalException();
  3567. ex.reason = "exception Murmur::WriteOnlyException was not generated with stream support";
  3568. throw ex;
  3569. }
  3570.  
  3571. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3572. public override void read__(Ice.InputStream inS__, bool rid__)
  3573. {
  3574. Ice.MarshalException ex = new Ice.MarshalException();
  3575. ex.reason = "exception Murmur::WriteOnlyException was not generated with stream support";
  3576. throw ex;
  3577. }
  3578.  
  3579. #endregion
  3580. }
  3581.  
  3582. /// <summary>
  3583. /// This is thrown when invalid input data was specified.
  3584. /// </summary>
  3585.  
  3586. [_System.Runtime.InteropServices.ComVisible(false)]
  3587. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032")]
  3588. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3589. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3590. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3591. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3592. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3593. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3594. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3595. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3596. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3597. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3598. public partial class InvalidInputDataException : Murmur.MurmurException
  3599. {
  3600. #region Constructors
  3601.  
  3602. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3603. public InvalidInputDataException()
  3604. {
  3605. }
  3606.  
  3607. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3608. public InvalidInputDataException(_System.Exception ex__) : base(ex__)
  3609. {
  3610. }
  3611.  
  3612. #endregion
  3613.  
  3614. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3615. public override string ice_name()
  3616. {
  3617. return "Murmur::InvalidInputDataException";
  3618. }
  3619.  
  3620. #region Object members
  3621.  
  3622. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3623. public override int GetHashCode()
  3624. {
  3625. int h__ = base.GetHashCode();
  3626. return h__;
  3627. }
  3628.  
  3629. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3630. public override bool Equals(object other__)
  3631. {
  3632. if (other__ == null)
  3633. {
  3634. return false;
  3635. }
  3636. if (object.ReferenceEquals(this, other__))
  3637. {
  3638. return true;
  3639. }
  3640. InvalidInputDataException o__ = other__ as InvalidInputDataException;
  3641. if (o__ == null)
  3642. {
  3643. return false;
  3644. }
  3645. if (!base.Equals(other__))
  3646. {
  3647. return false;
  3648. }
  3649. return true;
  3650. }
  3651.  
  3652. #endregion
  3653.  
  3654. #region Comparison members
  3655.  
  3656. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3657. public static bool operator ==(InvalidInputDataException lhs__, InvalidInputDataException rhs__)
  3658. {
  3659. return Equals(lhs__, rhs__);
  3660. }
  3661.  
  3662. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3663. public static bool operator !=(InvalidInputDataException lhs__, InvalidInputDataException rhs__)
  3664. {
  3665. return !Equals(lhs__, rhs__);
  3666. }
  3667.  
  3668. #endregion
  3669.  
  3670. #region Marshaling support
  3671.  
  3672. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3673. public override void write__(IceInternal.BasicStream os__)
  3674. {
  3675. os__.writeString("::Murmur::InvalidInputDataException");
  3676. os__.startWriteSlice();
  3677. os__.endWriteSlice();
  3678. base.write__(os__);
  3679. }
  3680.  
  3681. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3682. public override void read__(IceInternal.BasicStream is__, bool rid__)
  3683. {
  3684. if (rid__)
  3685. {
  3686. /* string myId = */
  3687. is__.readString();
  3688. }
  3689. is__.startReadSlice();
  3690. is__.endReadSlice();
  3691. base.read__(is__, true);
  3692. }
  3693.  
  3694. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3695. public override void write__(Ice.OutputStream outS__)
  3696. {
  3697. Ice.MarshalException ex = new Ice.MarshalException();
  3698. ex.reason = "exception Murmur::InvalidInputDataException was not generated with stream support";
  3699. throw ex;
  3700. }
  3701.  
  3702. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3703. public override void read__(Ice.InputStream inS__, bool rid__)
  3704. {
  3705. Ice.MarshalException ex = new Ice.MarshalException();
  3706. ex.reason = "exception Murmur::InvalidInputDataException was not generated with stream support";
  3707. throw ex;
  3708. }
  3709.  
  3710. #endregion
  3711. }
  3712.  
  3713. [_System.Runtime.InteropServices.ComVisible(false)]
  3714. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3715. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3716. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3717. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3718. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3719. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3720. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3721. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3722. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3723. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3724. public partial interface ServerCallback : Ice.Object, ServerCallbackOperations_, ServerCallbackOperationsNC_
  3725. {
  3726. }
  3727.  
  3728. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3729. public abstract class ContextServer
  3730. {
  3731. public const int value = 1;
  3732. }
  3733.  
  3734. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3735. public abstract class ContextChannel
  3736. {
  3737. public const int value = 2;
  3738. }
  3739.  
  3740. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3741. public abstract class ContextUser
  3742. {
  3743. public const int value = 4;
  3744. }
  3745.  
  3746. [_System.Runtime.InteropServices.ComVisible(false)]
  3747. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3748. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3749. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3750. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3751. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3752. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3753. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3754. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3755. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3756. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3757. public partial interface ServerContextCallback : Ice.Object, ServerContextCallbackOperations_, ServerContextCallbackOperationsNC_
  3758. {
  3759. }
  3760.  
  3761. [_System.Runtime.InteropServices.ComVisible(false)]
  3762. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3763. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3764. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3765. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3766. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3767. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3768. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3769. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3770. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3771. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3772. public partial interface ServerAuthenticator : Ice.Object, ServerAuthenticatorOperations_, ServerAuthenticatorOperationsNC_
  3773. {
  3774. }
  3775.  
  3776. [_System.Runtime.InteropServices.ComVisible(false)]
  3777. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3778. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3779. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3780. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3781. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3782. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3783. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3784. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3785. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3786. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3787. public partial interface ServerUpdatingAuthenticator : Ice.Object, ServerUpdatingAuthenticatorOperations_, ServerUpdatingAuthenticatorOperationsNC_, Murmur.ServerAuthenticator
  3788. {
  3789. }
  3790.  
  3791. [_System.Runtime.InteropServices.ComVisible(false)]
  3792. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3793. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3794. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3795. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3796. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3797. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3798. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3799. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3800. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3801. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3802. public partial interface Server : Ice.Object, ServerOperations_, ServerOperationsNC_
  3803. {
  3804. }
  3805.  
  3806. [_System.Runtime.InteropServices.ComVisible(false)]
  3807. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3808. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3809. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3810. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3811. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3812. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3813. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3814. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3815. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3816. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3817. public partial interface MetaCallback : Ice.Object, MetaCallbackOperations_, MetaCallbackOperationsNC_
  3818. {
  3819. }
  3820.  
  3821. [_System.Runtime.InteropServices.ComVisible(false)]
  3822. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704")]
  3823. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707")]
  3824. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709")]
  3825. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710")]
  3826. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1711")]
  3827. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1715")]
  3828. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
  3829. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720")]
  3830. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1722")]
  3831. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724")]
  3832. public partial interface Meta : Ice.Object, MetaOperations_, MetaOperationsNC_
  3833. {
  3834. }
  3835. }
  3836.  
  3837. namespace Murmur
  3838. {
  3839. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3840. public delegate void Callback_ServerCallback_userConnected();
  3841.  
  3842. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3843. public delegate void Callback_ServerCallback_userDisconnected();
  3844.  
  3845. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3846. public delegate void Callback_ServerCallback_userStateChanged();
  3847.  
  3848. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3849. public delegate void Callback_ServerCallback_userTextMessage();
  3850.  
  3851. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3852. public delegate void Callback_ServerCallback_channelCreated();
  3853.  
  3854. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3855. public delegate void Callback_ServerCallback_channelRemoved();
  3856.  
  3857. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3858. public delegate void Callback_ServerCallback_channelStateChanged();
  3859.  
  3860. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3861. public delegate void Callback_ServerContextCallback_contextAction();
  3862.  
  3863. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3864. public delegate void Callback_ServerAuthenticator_authenticate(int ret__, string newname, string[] groups);
  3865.  
  3866. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3867. public delegate void Callback_ServerAuthenticator_getInfo(bool ret__, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  3868.  
  3869. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3870. public delegate void Callback_ServerAuthenticator_nameToId(int ret__);
  3871.  
  3872. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3873. public delegate void Callback_ServerAuthenticator_idToName(string ret__);
  3874.  
  3875. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3876. public delegate void Callback_ServerAuthenticator_idToTexture(byte[] ret__);
  3877.  
  3878. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3879. public delegate void Callback_ServerUpdatingAuthenticator_registerUser(int ret__);
  3880.  
  3881. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3882. public delegate void Callback_ServerUpdatingAuthenticator_unregisterUser(int ret__);
  3883.  
  3884. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3885. public delegate void Callback_ServerUpdatingAuthenticator_getRegisteredUsers(_System.Collections.Generic.Dictionary<int, string> ret__);
  3886.  
  3887. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3888. public delegate void Callback_ServerUpdatingAuthenticator_setInfo(int ret__);
  3889.  
  3890. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3891. public delegate void Callback_ServerUpdatingAuthenticator_setTexture(int ret__);
  3892.  
  3893. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3894. public delegate void Callback_Server_isRunning(bool ret__);
  3895.  
  3896. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3897. public delegate void Callback_Server_start();
  3898.  
  3899. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3900. public delegate void Callback_Server_stop();
  3901.  
  3902. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3903. public delegate void Callback_Server_delete();
  3904.  
  3905. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3906. public delegate void Callback_Server_id(int ret__);
  3907.  
  3908. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3909. public delegate void Callback_Server_addCallback();
  3910.  
  3911. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3912. public delegate void Callback_Server_removeCallback();
  3913.  
  3914. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3915. public delegate void Callback_Server_setAuthenticator();
  3916.  
  3917. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3918. public delegate void Callback_Server_getConf(string ret__);
  3919.  
  3920. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3921. public delegate void Callback_Server_getAllConf(_System.Collections.Generic.Dictionary<string, string> ret__);
  3922.  
  3923. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3924. public delegate void Callback_Server_setConf();
  3925.  
  3926. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3927. public delegate void Callback_Server_setSuperuserPassword();
  3928.  
  3929. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3930. public delegate void Callback_Server_getLog(Murmur.LogEntry[] ret__);
  3931.  
  3932. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3933. public delegate void Callback_Server_getLogLen(int ret__);
  3934.  
  3935. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3936. public delegate void Callback_Server_getUsers(_System.Collections.Generic.Dictionary<int, Murmur.User> ret__);
  3937.  
  3938. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3939. public delegate void Callback_Server_getChannels(_System.Collections.Generic.Dictionary<int, Murmur.Channel> ret__);
  3940.  
  3941. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3942. public delegate void Callback_Server_getCertificateList(byte[][] ret__);
  3943.  
  3944. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3945. public delegate void Callback_Server_getTree(Murmur.Tree ret__);
  3946.  
  3947. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3948. public delegate void Callback_Server_getBans(Murmur.Ban[] ret__);
  3949.  
  3950. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3951. public delegate void Callback_Server_setBans();
  3952.  
  3953. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3954. public delegate void Callback_Server_kickUser();
  3955.  
  3956. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3957. public delegate void Callback_Server_getState(Murmur.User ret__);
  3958.  
  3959. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3960. public delegate void Callback_Server_setState();
  3961.  
  3962. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3963. public delegate void Callback_Server_sendMessage();
  3964.  
  3965. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3966. public delegate void Callback_Server_hasPermission(bool ret__);
  3967.  
  3968. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3969. public delegate void Callback_Server_effectivePermissions(int ret__);
  3970.  
  3971. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3972. public delegate void Callback_Server_addContextCallback();
  3973.  
  3974. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3975. public delegate void Callback_Server_removeContextCallback();
  3976.  
  3977. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3978. public delegate void Callback_Server_getChannelState(Murmur.Channel ret__);
  3979.  
  3980. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3981. public delegate void Callback_Server_setChannelState();
  3982.  
  3983. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3984. public delegate void Callback_Server_removeChannel();
  3985.  
  3986. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3987. public delegate void Callback_Server_addChannel(int ret__);
  3988.  
  3989. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3990. public delegate void Callback_Server_sendMessageChannel();
  3991.  
  3992. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3993. public delegate void Callback_Server_getACL(Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit);
  3994.  
  3995. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3996. public delegate void Callback_Server_setACL();
  3997.  
  3998. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  3999. public delegate void Callback_Server_addUserToGroup();
  4000.  
  4001. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4002. public delegate void Callback_Server_removeUserFromGroup();
  4003.  
  4004. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4005. public delegate void Callback_Server_redirectWhisperGroup();
  4006.  
  4007. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4008. public delegate void Callback_Server_getUserNames(_System.Collections.Generic.Dictionary<int, string> ret__);
  4009.  
  4010. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4011. public delegate void Callback_Server_getUserIds(_System.Collections.Generic.Dictionary<string, int> ret__);
  4012.  
  4013. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4014. public delegate void Callback_Server_registerUser(int ret__);
  4015.  
  4016. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4017. public delegate void Callback_Server_unregisterUser();
  4018.  
  4019. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4020. public delegate void Callback_Server_updateRegistration();
  4021.  
  4022. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4023. public delegate void Callback_Server_getRegistration(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> ret__);
  4024.  
  4025. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4026. public delegate void Callback_Server_getRegisteredUsers(_System.Collections.Generic.Dictionary<int, string> ret__);
  4027.  
  4028. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4029. public delegate void Callback_Server_verifyPassword(int ret__);
  4030.  
  4031. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4032. public delegate void Callback_Server_getTexture(byte[] ret__);
  4033.  
  4034. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4035. public delegate void Callback_Server_setTexture();
  4036.  
  4037. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4038. public delegate void Callback_Server_getUptime(int ret__);
  4039.  
  4040. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4041. public delegate void Callback_Server_updateCertificate();
  4042.  
  4043. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4044. public delegate void Callback_MetaCallback_started();
  4045.  
  4046. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4047. public delegate void Callback_MetaCallback_stopped();
  4048.  
  4049. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4050. public delegate void Callback_Meta_getServer(Murmur.ServerPrx ret__);
  4051.  
  4052. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4053. public delegate void Callback_Meta_newServer(Murmur.ServerPrx ret__);
  4054.  
  4055. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4056. public delegate void Callback_Meta_getBootedServers(Murmur.ServerPrx[] ret__);
  4057.  
  4058. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4059. public delegate void Callback_Meta_getAllServers(Murmur.ServerPrx[] ret__);
  4060.  
  4061. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4062. public delegate void Callback_Meta_getDefaultConf(_System.Collections.Generic.Dictionary<string, string> ret__);
  4063.  
  4064. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4065. public delegate void Callback_Meta_getVersion(int major, int minor, int patch, string text);
  4066.  
  4067. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4068. public delegate void Callback_Meta_addCallback();
  4069.  
  4070. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4071. public delegate void Callback_Meta_removeCallback();
  4072.  
  4073. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4074. public delegate void Callback_Meta_getUptime(int ret__);
  4075.  
  4076. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4077. public delegate void Callback_Meta_getSlice(string ret__);
  4078.  
  4079. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4080. public delegate void Callback_Meta_getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> ret__);
  4081. }
  4082.  
  4083. namespace Murmur
  4084. {
  4085. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4086. public interface TreePrx : Ice.ObjectPrx
  4087. {
  4088. }
  4089.  
  4090. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4091. public interface ServerCallbackPrx : Ice.ObjectPrx
  4092. {
  4093. void userConnected(Murmur.User state);
  4094. void userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__);
  4095.  
  4096. Ice.AsyncResult<Murmur.Callback_ServerCallback_userConnected> begin_userConnected(Murmur.User state);
  4097. Ice.AsyncResult<Murmur.Callback_ServerCallback_userConnected> begin_userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4098.  
  4099. Ice.AsyncResult begin_userConnected(Murmur.User state, Ice.AsyncCallback cb__, object cookie__);
  4100. Ice.AsyncResult begin_userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4101.  
  4102. void end_userConnected(Ice.AsyncResult r__);
  4103.  
  4104. void userDisconnected(Murmur.User state);
  4105. void userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__);
  4106.  
  4107. Ice.AsyncResult<Murmur.Callback_ServerCallback_userDisconnected> begin_userDisconnected(Murmur.User state);
  4108. Ice.AsyncResult<Murmur.Callback_ServerCallback_userDisconnected> begin_userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4109.  
  4110. Ice.AsyncResult begin_userDisconnected(Murmur.User state, Ice.AsyncCallback cb__, object cookie__);
  4111. Ice.AsyncResult begin_userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4112.  
  4113. void end_userDisconnected(Ice.AsyncResult r__);
  4114.  
  4115. void userStateChanged(Murmur.User state);
  4116. void userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__);
  4117.  
  4118. Ice.AsyncResult<Murmur.Callback_ServerCallback_userStateChanged> begin_userStateChanged(Murmur.User state);
  4119. Ice.AsyncResult<Murmur.Callback_ServerCallback_userStateChanged> begin_userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4120.  
  4121. Ice.AsyncResult begin_userStateChanged(Murmur.User state, Ice.AsyncCallback cb__, object cookie__);
  4122. Ice.AsyncResult begin_userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4123.  
  4124. void end_userStateChanged(Ice.AsyncResult r__);
  4125.  
  4126. void userTextMessage(Murmur.User state, Murmur.TextMessage message);
  4127. void userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> context__);
  4128.  
  4129. Ice.AsyncResult<Murmur.Callback_ServerCallback_userTextMessage> begin_userTextMessage(Murmur.User state, Murmur.TextMessage message);
  4130. Ice.AsyncResult<Murmur.Callback_ServerCallback_userTextMessage> begin_userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4131.  
  4132. Ice.AsyncResult begin_userTextMessage(Murmur.User state, Murmur.TextMessage message, Ice.AsyncCallback cb__, object cookie__);
  4133. Ice.AsyncResult begin_userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4134.  
  4135. void end_userTextMessage(Ice.AsyncResult r__);
  4136.  
  4137. void channelCreated(Murmur.Channel state);
  4138. void channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__);
  4139.  
  4140. Ice.AsyncResult<Murmur.Callback_ServerCallback_channelCreated> begin_channelCreated(Murmur.Channel state);
  4141. Ice.AsyncResult<Murmur.Callback_ServerCallback_channelCreated> begin_channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4142.  
  4143. Ice.AsyncResult begin_channelCreated(Murmur.Channel state, Ice.AsyncCallback cb__, object cookie__);
  4144. Ice.AsyncResult begin_channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4145.  
  4146. void end_channelCreated(Ice.AsyncResult r__);
  4147.  
  4148. void channelRemoved(Murmur.Channel state);
  4149. void channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__);
  4150.  
  4151. Ice.AsyncResult<Murmur.Callback_ServerCallback_channelRemoved> begin_channelRemoved(Murmur.Channel state);
  4152. Ice.AsyncResult<Murmur.Callback_ServerCallback_channelRemoved> begin_channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4153.  
  4154. Ice.AsyncResult begin_channelRemoved(Murmur.Channel state, Ice.AsyncCallback cb__, object cookie__);
  4155. Ice.AsyncResult begin_channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4156.  
  4157. void end_channelRemoved(Ice.AsyncResult r__);
  4158.  
  4159. void channelStateChanged(Murmur.Channel state);
  4160. void channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__);
  4161.  
  4162. Ice.AsyncResult<Murmur.Callback_ServerCallback_channelStateChanged> begin_channelStateChanged(Murmur.Channel state);
  4163. Ice.AsyncResult<Murmur.Callback_ServerCallback_channelStateChanged> begin_channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4164.  
  4165. Ice.AsyncResult begin_channelStateChanged(Murmur.Channel state, Ice.AsyncCallback cb__, object cookie__);
  4166. Ice.AsyncResult begin_channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4167.  
  4168. void end_channelStateChanged(Ice.AsyncResult r__);
  4169. }
  4170.  
  4171. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4172. public interface ServerContextCallbackPrx : Ice.ObjectPrx
  4173. {
  4174. void contextAction(string action, Murmur.User usr, int session, int channelid);
  4175. void contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__);
  4176.  
  4177. Ice.AsyncResult<Murmur.Callback_ServerContextCallback_contextAction> begin_contextAction(string action, Murmur.User usr, int session, int channelid);
  4178. Ice.AsyncResult<Murmur.Callback_ServerContextCallback_contextAction> begin_contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4179.  
  4180. Ice.AsyncResult begin_contextAction(string action, Murmur.User usr, int session, int channelid, Ice.AsyncCallback cb__, object cookie__);
  4181. Ice.AsyncResult begin_contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4182.  
  4183. void end_contextAction(Ice.AsyncResult r__);
  4184. }
  4185.  
  4186. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4187. public interface ServerAuthenticatorPrx : Ice.ObjectPrx
  4188. {
  4189. int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups);
  4190. int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, _System.Collections.Generic.Dictionary<string, string> context__);
  4191.  
  4192. Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_authenticate> begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong);
  4193. Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_authenticate> begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4194.  
  4195. Ice.AsyncResult begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, Ice.AsyncCallback cb__, object cookie__);
  4196. Ice.AsyncResult begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4197.  
  4198. int end_authenticate(out string newname, out string[] groups, Ice.AsyncResult r__);
  4199.  
  4200. bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  4201. bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__);
  4202.  
  4203. Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_getInfo> begin_getInfo(int id);
  4204. Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_getInfo> begin_getInfo(int id, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4205.  
  4206. Ice.AsyncResult begin_getInfo(int id, Ice.AsyncCallback cb__, object cookie__);
  4207. Ice.AsyncResult begin_getInfo(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4208.  
  4209. bool end_getInfo(out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncResult r__);
  4210.  
  4211. int nameToId(string name);
  4212. int nameToId(string name, _System.Collections.Generic.Dictionary<string, string> context__);
  4213.  
  4214. Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_nameToId> begin_nameToId(string name);
  4215. Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_nameToId> begin_nameToId(string name, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4216.  
  4217. Ice.AsyncResult begin_nameToId(string name, Ice.AsyncCallback cb__, object cookie__);
  4218. Ice.AsyncResult begin_nameToId(string name, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4219.  
  4220. int end_nameToId(Ice.AsyncResult r__);
  4221.  
  4222. string idToName(int id);
  4223. string idToName(int id, _System.Collections.Generic.Dictionary<string, string> context__);
  4224.  
  4225. Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToName> begin_idToName(int id);
  4226. Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToName> begin_idToName(int id, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4227.  
  4228. Ice.AsyncResult begin_idToName(int id, Ice.AsyncCallback cb__, object cookie__);
  4229. Ice.AsyncResult begin_idToName(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4230.  
  4231. string end_idToName(Ice.AsyncResult r__);
  4232.  
  4233. byte[] idToTexture(int id);
  4234. byte[] idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> context__);
  4235.  
  4236. Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToTexture> begin_idToTexture(int id);
  4237. Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToTexture> begin_idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4238.  
  4239. Ice.AsyncResult begin_idToTexture(int id, Ice.AsyncCallback cb__, object cookie__);
  4240. Ice.AsyncResult begin_idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4241.  
  4242. byte[] end_idToTexture(Ice.AsyncResult r__);
  4243. }
  4244.  
  4245. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4246. public interface ServerUpdatingAuthenticatorPrx : Murmur.ServerAuthenticatorPrx
  4247. {
  4248. int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  4249. int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__);
  4250.  
  4251. Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_registerUser> begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  4252. Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_registerUser> begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4253.  
  4254. Ice.AsyncResult begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncCallback cb__, object cookie__);
  4255. Ice.AsyncResult begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4256.  
  4257. int end_registerUser(Ice.AsyncResult r__);
  4258.  
  4259. int unregisterUser(int id);
  4260. int unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> context__);
  4261.  
  4262. Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_unregisterUser> begin_unregisterUser(int id);
  4263. Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_unregisterUser> begin_unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4264.  
  4265. Ice.AsyncResult begin_unregisterUser(int id, Ice.AsyncCallback cb__, object cookie__);
  4266. Ice.AsyncResult begin_unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4267.  
  4268. int end_unregisterUser(Ice.AsyncResult r__);
  4269.  
  4270. _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter);
  4271. _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__);
  4272.  
  4273. Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_getRegisteredUsers> begin_getRegisteredUsers(string filter);
  4274. Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_getRegisteredUsers> begin_getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4275.  
  4276. Ice.AsyncResult begin_getRegisteredUsers(string filter, Ice.AsyncCallback cb__, object cookie__);
  4277. Ice.AsyncResult begin_getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4278.  
  4279. _System.Collections.Generic.Dictionary<int, string> end_getRegisteredUsers(Ice.AsyncResult r__);
  4280.  
  4281. int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  4282. int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__);
  4283.  
  4284. Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_setInfo> begin_setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  4285. Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_setInfo> begin_setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4286.  
  4287. Ice.AsyncResult begin_setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncCallback cb__, object cookie__);
  4288. Ice.AsyncResult begin_setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4289.  
  4290. int end_setInfo(Ice.AsyncResult r__);
  4291.  
  4292. int setTexture(int id, byte[] tex);
  4293. int setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__);
  4294.  
  4295. Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_setTexture> begin_setTexture(int id, byte[] tex);
  4296. Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_setTexture> begin_setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4297.  
  4298. Ice.AsyncResult begin_setTexture(int id, byte[] tex, Ice.AsyncCallback cb__, object cookie__);
  4299. Ice.AsyncResult begin_setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4300.  
  4301. int end_setTexture(Ice.AsyncResult r__);
  4302. }
  4303.  
  4304. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4305. public interface ServerPrx : Ice.ObjectPrx
  4306. {
  4307. bool isRunning();
  4308. bool isRunning(_System.Collections.Generic.Dictionary<string, string> context__);
  4309.  
  4310. Ice.AsyncResult<Murmur.Callback_Server_isRunning> begin_isRunning();
  4311. Ice.AsyncResult<Murmur.Callback_Server_isRunning> begin_isRunning(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4312.  
  4313. Ice.AsyncResult begin_isRunning(Ice.AsyncCallback cb__, object cookie__);
  4314. Ice.AsyncResult begin_isRunning(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4315.  
  4316. bool end_isRunning(Ice.AsyncResult r__);
  4317.  
  4318. void start();
  4319. void start(_System.Collections.Generic.Dictionary<string, string> context__);
  4320.  
  4321. Ice.AsyncResult<Murmur.Callback_Server_start> begin_start();
  4322. Ice.AsyncResult<Murmur.Callback_Server_start> begin_start(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4323.  
  4324. Ice.AsyncResult begin_start(Ice.AsyncCallback cb__, object cookie__);
  4325. Ice.AsyncResult begin_start(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4326.  
  4327. void end_start(Ice.AsyncResult r__);
  4328.  
  4329. void stop();
  4330. void stop(_System.Collections.Generic.Dictionary<string, string> context__);
  4331.  
  4332. Ice.AsyncResult<Murmur.Callback_Server_stop> begin_stop();
  4333. Ice.AsyncResult<Murmur.Callback_Server_stop> begin_stop(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4334.  
  4335. Ice.AsyncResult begin_stop(Ice.AsyncCallback cb__, object cookie__);
  4336. Ice.AsyncResult begin_stop(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4337.  
  4338. void end_stop(Ice.AsyncResult r__);
  4339.  
  4340. void delete();
  4341. void delete(_System.Collections.Generic.Dictionary<string, string> context__);
  4342.  
  4343. Ice.AsyncResult<Murmur.Callback_Server_delete> begin_delete();
  4344. Ice.AsyncResult<Murmur.Callback_Server_delete> begin_delete(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4345.  
  4346. Ice.AsyncResult begin_delete(Ice.AsyncCallback cb__, object cookie__);
  4347. Ice.AsyncResult begin_delete(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4348.  
  4349. void end_delete(Ice.AsyncResult r__);
  4350.  
  4351. int id();
  4352. int id(_System.Collections.Generic.Dictionary<string, string> context__);
  4353.  
  4354. Ice.AsyncResult<Murmur.Callback_Server_id> begin_id();
  4355. Ice.AsyncResult<Murmur.Callback_Server_id> begin_id(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4356.  
  4357. Ice.AsyncResult begin_id(Ice.AsyncCallback cb__, object cookie__);
  4358. Ice.AsyncResult begin_id(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4359.  
  4360. int end_id(Ice.AsyncResult r__);
  4361.  
  4362. void addCallback(Murmur.ServerCallbackPrx cb);
  4363. void addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__);
  4364.  
  4365. Ice.AsyncResult<Murmur.Callback_Server_addCallback> begin_addCallback(Murmur.ServerCallbackPrx cb);
  4366. Ice.AsyncResult<Murmur.Callback_Server_addCallback> begin_addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4367.  
  4368. Ice.AsyncResult begin_addCallback(Murmur.ServerCallbackPrx cb, Ice.AsyncCallback cb__, object cookie__);
  4369. Ice.AsyncResult begin_addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4370.  
  4371. void end_addCallback(Ice.AsyncResult r__);
  4372.  
  4373. void removeCallback(Murmur.ServerCallbackPrx cb);
  4374. void removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__);
  4375.  
  4376. Ice.AsyncResult<Murmur.Callback_Server_removeCallback> begin_removeCallback(Murmur.ServerCallbackPrx cb);
  4377. Ice.AsyncResult<Murmur.Callback_Server_removeCallback> begin_removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4378.  
  4379. Ice.AsyncResult begin_removeCallback(Murmur.ServerCallbackPrx cb, Ice.AsyncCallback cb__, object cookie__);
  4380. Ice.AsyncResult begin_removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4381.  
  4382. void end_removeCallback(Ice.AsyncResult r__);
  4383.  
  4384. void setAuthenticator(Murmur.ServerAuthenticatorPrx auth);
  4385. void setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> context__);
  4386.  
  4387. Ice.AsyncResult<Murmur.Callback_Server_setAuthenticator> begin_setAuthenticator(Murmur.ServerAuthenticatorPrx auth);
  4388. Ice.AsyncResult<Murmur.Callback_Server_setAuthenticator> begin_setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4389.  
  4390. Ice.AsyncResult begin_setAuthenticator(Murmur.ServerAuthenticatorPrx auth, Ice.AsyncCallback cb__, object cookie__);
  4391. Ice.AsyncResult begin_setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4392.  
  4393. void end_setAuthenticator(Ice.AsyncResult r__);
  4394.  
  4395. string getConf(string key);
  4396. string getConf(string key, _System.Collections.Generic.Dictionary<string, string> context__);
  4397.  
  4398. Ice.AsyncResult<Murmur.Callback_Server_getConf> begin_getConf(string key);
  4399. Ice.AsyncResult<Murmur.Callback_Server_getConf> begin_getConf(string key, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4400.  
  4401. Ice.AsyncResult begin_getConf(string key, Ice.AsyncCallback cb__, object cookie__);
  4402. Ice.AsyncResult begin_getConf(string key, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4403.  
  4404. string end_getConf(Ice.AsyncResult r__);
  4405.  
  4406. _System.Collections.Generic.Dictionary<string, string> getAllConf();
  4407. _System.Collections.Generic.Dictionary<string, string> getAllConf(_System.Collections.Generic.Dictionary<string, string> context__);
  4408.  
  4409. Ice.AsyncResult<Murmur.Callback_Server_getAllConf> begin_getAllConf();
  4410. Ice.AsyncResult<Murmur.Callback_Server_getAllConf> begin_getAllConf(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4411.  
  4412. Ice.AsyncResult begin_getAllConf(Ice.AsyncCallback cb__, object cookie__);
  4413. Ice.AsyncResult begin_getAllConf(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4414.  
  4415. _System.Collections.Generic.Dictionary<string, string> end_getAllConf(Ice.AsyncResult r__);
  4416.  
  4417. void setConf(string key, string value);
  4418. void setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> context__);
  4419.  
  4420. Ice.AsyncResult<Murmur.Callback_Server_setConf> begin_setConf(string key, string value);
  4421. Ice.AsyncResult<Murmur.Callback_Server_setConf> begin_setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4422.  
  4423. Ice.AsyncResult begin_setConf(string key, string value, Ice.AsyncCallback cb__, object cookie__);
  4424. Ice.AsyncResult begin_setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4425.  
  4426. void end_setConf(Ice.AsyncResult r__);
  4427.  
  4428. void setSuperuserPassword(string pw);
  4429. void setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> context__);
  4430.  
  4431. Ice.AsyncResult<Murmur.Callback_Server_setSuperuserPassword> begin_setSuperuserPassword(string pw);
  4432. Ice.AsyncResult<Murmur.Callback_Server_setSuperuserPassword> begin_setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4433.  
  4434. Ice.AsyncResult begin_setSuperuserPassword(string pw, Ice.AsyncCallback cb__, object cookie__);
  4435. Ice.AsyncResult begin_setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4436.  
  4437. void end_setSuperuserPassword(Ice.AsyncResult r__);
  4438.  
  4439. Murmur.LogEntry[] getLog(int first, int last);
  4440. Murmur.LogEntry[] getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> context__);
  4441.  
  4442. Ice.AsyncResult<Murmur.Callback_Server_getLog> begin_getLog(int first, int last);
  4443. Ice.AsyncResult<Murmur.Callback_Server_getLog> begin_getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4444.  
  4445. Ice.AsyncResult begin_getLog(int first, int last, Ice.AsyncCallback cb__, object cookie__);
  4446. Ice.AsyncResult begin_getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4447.  
  4448. Murmur.LogEntry[] end_getLog(Ice.AsyncResult r__);
  4449.  
  4450. int getLogLen();
  4451. int getLogLen(_System.Collections.Generic.Dictionary<string, string> context__);
  4452.  
  4453. Ice.AsyncResult<Murmur.Callback_Server_getLogLen> begin_getLogLen();
  4454. Ice.AsyncResult<Murmur.Callback_Server_getLogLen> begin_getLogLen(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4455.  
  4456. Ice.AsyncResult begin_getLogLen(Ice.AsyncCallback cb__, object cookie__);
  4457. Ice.AsyncResult begin_getLogLen(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4458.  
  4459. int end_getLogLen(Ice.AsyncResult r__);
  4460.  
  4461. _System.Collections.Generic.Dictionary<int, Murmur.User> getUsers();
  4462. _System.Collections.Generic.Dictionary<int, Murmur.User> getUsers(_System.Collections.Generic.Dictionary<string, string> context__);
  4463.  
  4464. Ice.AsyncResult<Murmur.Callback_Server_getUsers> begin_getUsers();
  4465. Ice.AsyncResult<Murmur.Callback_Server_getUsers> begin_getUsers(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4466.  
  4467. Ice.AsyncResult begin_getUsers(Ice.AsyncCallback cb__, object cookie__);
  4468. Ice.AsyncResult begin_getUsers(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4469.  
  4470. _System.Collections.Generic.Dictionary<int, Murmur.User> end_getUsers(Ice.AsyncResult r__);
  4471.  
  4472. _System.Collections.Generic.Dictionary<int, Murmur.Channel> getChannels();
  4473. _System.Collections.Generic.Dictionary<int, Murmur.Channel> getChannels(_System.Collections.Generic.Dictionary<string, string> context__);
  4474.  
  4475. Ice.AsyncResult<Murmur.Callback_Server_getChannels> begin_getChannels();
  4476. Ice.AsyncResult<Murmur.Callback_Server_getChannels> begin_getChannels(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4477.  
  4478. Ice.AsyncResult begin_getChannels(Ice.AsyncCallback cb__, object cookie__);
  4479. Ice.AsyncResult begin_getChannels(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4480.  
  4481. _System.Collections.Generic.Dictionary<int, Murmur.Channel> end_getChannels(Ice.AsyncResult r__);
  4482.  
  4483. byte[][] getCertificateList(int session);
  4484. byte[][] getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> context__);
  4485.  
  4486. Ice.AsyncResult<Murmur.Callback_Server_getCertificateList> begin_getCertificateList(int session);
  4487. Ice.AsyncResult<Murmur.Callback_Server_getCertificateList> begin_getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4488.  
  4489. Ice.AsyncResult begin_getCertificateList(int session, Ice.AsyncCallback cb__, object cookie__);
  4490. Ice.AsyncResult begin_getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4491.  
  4492. byte[][] end_getCertificateList(Ice.AsyncResult r__);
  4493.  
  4494. Murmur.Tree getTree();
  4495. Murmur.Tree getTree(_System.Collections.Generic.Dictionary<string, string> context__);
  4496.  
  4497. Ice.AsyncResult<Murmur.Callback_Server_getTree> begin_getTree();
  4498. Ice.AsyncResult<Murmur.Callback_Server_getTree> begin_getTree(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4499.  
  4500. Ice.AsyncResult begin_getTree(Ice.AsyncCallback cb__, object cookie__);
  4501. Ice.AsyncResult begin_getTree(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4502.  
  4503. Murmur.Tree end_getTree(Ice.AsyncResult r__);
  4504.  
  4505. Murmur.Ban[] getBans();
  4506. Murmur.Ban[] getBans(_System.Collections.Generic.Dictionary<string, string> context__);
  4507.  
  4508. Ice.AsyncResult<Murmur.Callback_Server_getBans> begin_getBans();
  4509. Ice.AsyncResult<Murmur.Callback_Server_getBans> begin_getBans(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4510.  
  4511. Ice.AsyncResult begin_getBans(Ice.AsyncCallback cb__, object cookie__);
  4512. Ice.AsyncResult begin_getBans(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4513.  
  4514. Murmur.Ban[] end_getBans(Ice.AsyncResult r__);
  4515.  
  4516. void setBans(Murmur.Ban[] bans);
  4517. void setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> context__);
  4518.  
  4519. Ice.AsyncResult<Murmur.Callback_Server_setBans> begin_setBans(Murmur.Ban[] bans);
  4520. Ice.AsyncResult<Murmur.Callback_Server_setBans> begin_setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4521.  
  4522. Ice.AsyncResult begin_setBans(Murmur.Ban[] bans, Ice.AsyncCallback cb__, object cookie__);
  4523. Ice.AsyncResult begin_setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4524.  
  4525. void end_setBans(Ice.AsyncResult r__);
  4526.  
  4527. void kickUser(int session, string reason);
  4528. void kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> context__);
  4529.  
  4530. Ice.AsyncResult<Murmur.Callback_Server_kickUser> begin_kickUser(int session, string reason);
  4531. Ice.AsyncResult<Murmur.Callback_Server_kickUser> begin_kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4532.  
  4533. Ice.AsyncResult begin_kickUser(int session, string reason, Ice.AsyncCallback cb__, object cookie__);
  4534. Ice.AsyncResult begin_kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4535.  
  4536. void end_kickUser(Ice.AsyncResult r__);
  4537.  
  4538. Murmur.User getState(int session);
  4539. Murmur.User getState(int session, _System.Collections.Generic.Dictionary<string, string> context__);
  4540.  
  4541. Ice.AsyncResult<Murmur.Callback_Server_getState> begin_getState(int session);
  4542. Ice.AsyncResult<Murmur.Callback_Server_getState> begin_getState(int session, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4543.  
  4544. Ice.AsyncResult begin_getState(int session, Ice.AsyncCallback cb__, object cookie__);
  4545. Ice.AsyncResult begin_getState(int session, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4546.  
  4547. Murmur.User end_getState(Ice.AsyncResult r__);
  4548.  
  4549. void setState(Murmur.User state);
  4550. void setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__);
  4551.  
  4552. Ice.AsyncResult<Murmur.Callback_Server_setState> begin_setState(Murmur.User state);
  4553. Ice.AsyncResult<Murmur.Callback_Server_setState> begin_setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4554.  
  4555. Ice.AsyncResult begin_setState(Murmur.User state, Ice.AsyncCallback cb__, object cookie__);
  4556. Ice.AsyncResult begin_setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4557.  
  4558. void end_setState(Ice.AsyncResult r__);
  4559.  
  4560. void sendMessage(int session, string text);
  4561. void sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> context__);
  4562.  
  4563. Ice.AsyncResult<Murmur.Callback_Server_sendMessage> begin_sendMessage(int session, string text);
  4564. Ice.AsyncResult<Murmur.Callback_Server_sendMessage> begin_sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4565.  
  4566. Ice.AsyncResult begin_sendMessage(int session, string text, Ice.AsyncCallback cb__, object cookie__);
  4567. Ice.AsyncResult begin_sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4568.  
  4569. void end_sendMessage(Ice.AsyncResult r__);
  4570.  
  4571. bool hasPermission(int session, int channelid, int perm);
  4572. bool hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> context__);
  4573.  
  4574. Ice.AsyncResult<Murmur.Callback_Server_hasPermission> begin_hasPermission(int session, int channelid, int perm);
  4575. Ice.AsyncResult<Murmur.Callback_Server_hasPermission> begin_hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4576.  
  4577. Ice.AsyncResult begin_hasPermission(int session, int channelid, int perm, Ice.AsyncCallback cb__, object cookie__);
  4578. Ice.AsyncResult begin_hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4579.  
  4580. bool end_hasPermission(Ice.AsyncResult r__);
  4581.  
  4582. int effectivePermissions(int session, int channelid);
  4583. int effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__);
  4584.  
  4585. Ice.AsyncResult<Murmur.Callback_Server_effectivePermissions> begin_effectivePermissions(int session, int channelid);
  4586. Ice.AsyncResult<Murmur.Callback_Server_effectivePermissions> begin_effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4587.  
  4588. Ice.AsyncResult begin_effectivePermissions(int session, int channelid, Ice.AsyncCallback cb__, object cookie__);
  4589. Ice.AsyncResult begin_effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4590.  
  4591. int end_effectivePermissions(Ice.AsyncResult r__);
  4592.  
  4593. void addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx);
  4594. void addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> context__);
  4595.  
  4596. Ice.AsyncResult<Murmur.Callback_Server_addContextCallback> begin_addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx);
  4597. Ice.AsyncResult<Murmur.Callback_Server_addContextCallback> begin_addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4598.  
  4599. Ice.AsyncResult begin_addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, Ice.AsyncCallback cb__, object cookie__);
  4600. Ice.AsyncResult begin_addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4601.  
  4602. void end_addContextCallback(Ice.AsyncResult r__);
  4603.  
  4604. void removeContextCallback(Murmur.ServerContextCallbackPrx cb);
  4605. void removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__);
  4606.  
  4607. Ice.AsyncResult<Murmur.Callback_Server_removeContextCallback> begin_removeContextCallback(Murmur.ServerContextCallbackPrx cb);
  4608. Ice.AsyncResult<Murmur.Callback_Server_removeContextCallback> begin_removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4609.  
  4610. Ice.AsyncResult begin_removeContextCallback(Murmur.ServerContextCallbackPrx cb, Ice.AsyncCallback cb__, object cookie__);
  4611. Ice.AsyncResult begin_removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4612.  
  4613. void end_removeContextCallback(Ice.AsyncResult r__);
  4614.  
  4615. Murmur.Channel getChannelState(int channelid);
  4616. Murmur.Channel getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> context__);
  4617.  
  4618. Ice.AsyncResult<Murmur.Callback_Server_getChannelState> begin_getChannelState(int channelid);
  4619. Ice.AsyncResult<Murmur.Callback_Server_getChannelState> begin_getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4620.  
  4621. Ice.AsyncResult begin_getChannelState(int channelid, Ice.AsyncCallback cb__, object cookie__);
  4622. Ice.AsyncResult begin_getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4623.  
  4624. Murmur.Channel end_getChannelState(Ice.AsyncResult r__);
  4625.  
  4626. void setChannelState(Murmur.Channel state);
  4627. void setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__);
  4628.  
  4629. Ice.AsyncResult<Murmur.Callback_Server_setChannelState> begin_setChannelState(Murmur.Channel state);
  4630. Ice.AsyncResult<Murmur.Callback_Server_setChannelState> begin_setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4631.  
  4632. Ice.AsyncResult begin_setChannelState(Murmur.Channel state, Ice.AsyncCallback cb__, object cookie__);
  4633. Ice.AsyncResult begin_setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4634.  
  4635. void end_setChannelState(Ice.AsyncResult r__);
  4636.  
  4637. void removeChannel(int channelid);
  4638. void removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> context__);
  4639.  
  4640. Ice.AsyncResult<Murmur.Callback_Server_removeChannel> begin_removeChannel(int channelid);
  4641. Ice.AsyncResult<Murmur.Callback_Server_removeChannel> begin_removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4642.  
  4643. Ice.AsyncResult begin_removeChannel(int channelid, Ice.AsyncCallback cb__, object cookie__);
  4644. Ice.AsyncResult begin_removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4645.  
  4646. void end_removeChannel(Ice.AsyncResult r__);
  4647.  
  4648. int addChannel(string name, int parent);
  4649. int addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> context__);
  4650.  
  4651. Ice.AsyncResult<Murmur.Callback_Server_addChannel> begin_addChannel(string name, int parent);
  4652. Ice.AsyncResult<Murmur.Callback_Server_addChannel> begin_addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4653.  
  4654. Ice.AsyncResult begin_addChannel(string name, int parent, Ice.AsyncCallback cb__, object cookie__);
  4655. Ice.AsyncResult begin_addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4656.  
  4657. int end_addChannel(Ice.AsyncResult r__);
  4658.  
  4659. void sendMessageChannel(int channelid, bool tree, string text);
  4660. void sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> context__);
  4661.  
  4662. Ice.AsyncResult<Murmur.Callback_Server_sendMessageChannel> begin_sendMessageChannel(int channelid, bool tree, string text);
  4663. Ice.AsyncResult<Murmur.Callback_Server_sendMessageChannel> begin_sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4664.  
  4665. Ice.AsyncResult begin_sendMessageChannel(int channelid, bool tree, string text, Ice.AsyncCallback cb__, object cookie__);
  4666. Ice.AsyncResult begin_sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4667.  
  4668. void end_sendMessageChannel(Ice.AsyncResult r__);
  4669.  
  4670. void getACL(int channelid, out Murmur.ACL[] acls, out Murmur.Group[] groups, out bool inherit);
  4671. void getACL(int channelid, out Murmur.ACL[] acls, out Murmur.Group[] groups, out bool inherit, _System.Collections.Generic.Dictionary<string, string> context__);
  4672.  
  4673. Ice.AsyncResult<Murmur.Callback_Server_getACL> begin_getACL(int channelid);
  4674. Ice.AsyncResult<Murmur.Callback_Server_getACL> begin_getACL(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4675.  
  4676. Ice.AsyncResult begin_getACL(int channelid, Ice.AsyncCallback cb__, object cookie__);
  4677. Ice.AsyncResult begin_getACL(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4678.  
  4679. void end_getACL(out Murmur.ACL[] acls, out Murmur.Group[] groups, out bool inherit, Ice.AsyncResult r__);
  4680.  
  4681. void setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit);
  4682. void setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> context__);
  4683.  
  4684. Ice.AsyncResult<Murmur.Callback_Server_setACL> begin_setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit);
  4685. Ice.AsyncResult<Murmur.Callback_Server_setACL> begin_setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4686.  
  4687. Ice.AsyncResult begin_setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, Ice.AsyncCallback cb__, object cookie__);
  4688. Ice.AsyncResult begin_setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4689.  
  4690. void end_setACL(Ice.AsyncResult r__);
  4691.  
  4692. void addUserToGroup(int channelid, int session, string group);
  4693. void addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__);
  4694.  
  4695. Ice.AsyncResult<Murmur.Callback_Server_addUserToGroup> begin_addUserToGroup(int channelid, int session, string group);
  4696. Ice.AsyncResult<Murmur.Callback_Server_addUserToGroup> begin_addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4697.  
  4698. Ice.AsyncResult begin_addUserToGroup(int channelid, int session, string group, Ice.AsyncCallback cb__, object cookie__);
  4699. Ice.AsyncResult begin_addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4700.  
  4701. void end_addUserToGroup(Ice.AsyncResult r__);
  4702.  
  4703. void removeUserFromGroup(int channelid, int session, string group);
  4704. void removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__);
  4705.  
  4706. Ice.AsyncResult<Murmur.Callback_Server_removeUserFromGroup> begin_removeUserFromGroup(int channelid, int session, string group);
  4707. Ice.AsyncResult<Murmur.Callback_Server_removeUserFromGroup> begin_removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4708.  
  4709. Ice.AsyncResult begin_removeUserFromGroup(int channelid, int session, string group, Ice.AsyncCallback cb__, object cookie__);
  4710. Ice.AsyncResult begin_removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4711.  
  4712. void end_removeUserFromGroup(Ice.AsyncResult r__);
  4713.  
  4714. void redirectWhisperGroup(int session, string source, string target);
  4715. void redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> context__);
  4716.  
  4717. Ice.AsyncResult<Murmur.Callback_Server_redirectWhisperGroup> begin_redirectWhisperGroup(int session, string source, string target);
  4718. Ice.AsyncResult<Murmur.Callback_Server_redirectWhisperGroup> begin_redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4719.  
  4720. Ice.AsyncResult begin_redirectWhisperGroup(int session, string source, string target, Ice.AsyncCallback cb__, object cookie__);
  4721. Ice.AsyncResult begin_redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4722.  
  4723. void end_redirectWhisperGroup(Ice.AsyncResult r__);
  4724.  
  4725. _System.Collections.Generic.Dictionary<int, string> getUserNames(int[] ids);
  4726. _System.Collections.Generic.Dictionary<int, string> getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> context__);
  4727.  
  4728. Ice.AsyncResult<Murmur.Callback_Server_getUserNames> begin_getUserNames(int[] ids);
  4729. Ice.AsyncResult<Murmur.Callback_Server_getUserNames> begin_getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4730.  
  4731. Ice.AsyncResult begin_getUserNames(int[] ids, Ice.AsyncCallback cb__, object cookie__);
  4732. Ice.AsyncResult begin_getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4733.  
  4734. _System.Collections.Generic.Dictionary<int, string> end_getUserNames(Ice.AsyncResult r__);
  4735.  
  4736. _System.Collections.Generic.Dictionary<string, int> getUserIds(string[] names);
  4737. _System.Collections.Generic.Dictionary<string, int> getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> context__);
  4738.  
  4739. Ice.AsyncResult<Murmur.Callback_Server_getUserIds> begin_getUserIds(string[] names);
  4740. Ice.AsyncResult<Murmur.Callback_Server_getUserIds> begin_getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4741.  
  4742. Ice.AsyncResult begin_getUserIds(string[] names, Ice.AsyncCallback cb__, object cookie__);
  4743. Ice.AsyncResult begin_getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4744.  
  4745. _System.Collections.Generic.Dictionary<string, int> end_getUserIds(Ice.AsyncResult r__);
  4746.  
  4747. int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  4748. int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__);
  4749.  
  4750. Ice.AsyncResult<Murmur.Callback_Server_registerUser> begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  4751. Ice.AsyncResult<Murmur.Callback_Server_registerUser> begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4752.  
  4753. Ice.AsyncResult begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncCallback cb__, object cookie__);
  4754. Ice.AsyncResult begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4755.  
  4756. int end_registerUser(Ice.AsyncResult r__);
  4757.  
  4758. void unregisterUser(int userid);
  4759. void unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> context__);
  4760.  
  4761. Ice.AsyncResult<Murmur.Callback_Server_unregisterUser> begin_unregisterUser(int userid);
  4762. Ice.AsyncResult<Murmur.Callback_Server_unregisterUser> begin_unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4763.  
  4764. Ice.AsyncResult begin_unregisterUser(int userid, Ice.AsyncCallback cb__, object cookie__);
  4765. Ice.AsyncResult begin_unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4766.  
  4767. void end_unregisterUser(Ice.AsyncResult r__);
  4768.  
  4769. void updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  4770. void updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__);
  4771.  
  4772. Ice.AsyncResult<Murmur.Callback_Server_updateRegistration> begin_updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  4773. Ice.AsyncResult<Murmur.Callback_Server_updateRegistration> begin_updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4774.  
  4775. Ice.AsyncResult begin_updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncCallback cb__, object cookie__);
  4776. Ice.AsyncResult begin_updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4777.  
  4778. void end_updateRegistration(Ice.AsyncResult r__);
  4779.  
  4780. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> getRegistration(int userid);
  4781. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> context__);
  4782.  
  4783. Ice.AsyncResult<Murmur.Callback_Server_getRegistration> begin_getRegistration(int userid);
  4784. Ice.AsyncResult<Murmur.Callback_Server_getRegistration> begin_getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4785.  
  4786. Ice.AsyncResult begin_getRegistration(int userid, Ice.AsyncCallback cb__, object cookie__);
  4787. Ice.AsyncResult begin_getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4788.  
  4789. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> end_getRegistration(Ice.AsyncResult r__);
  4790.  
  4791. _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter);
  4792. _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__);
  4793.  
  4794. Ice.AsyncResult<Murmur.Callback_Server_getRegisteredUsers> begin_getRegisteredUsers(string filter);
  4795. Ice.AsyncResult<Murmur.Callback_Server_getRegisteredUsers> begin_getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4796.  
  4797. Ice.AsyncResult begin_getRegisteredUsers(string filter, Ice.AsyncCallback cb__, object cookie__);
  4798. Ice.AsyncResult begin_getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4799.  
  4800. _System.Collections.Generic.Dictionary<int, string> end_getRegisteredUsers(Ice.AsyncResult r__);
  4801.  
  4802. int verifyPassword(string name, string pw);
  4803. int verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> context__);
  4804.  
  4805. Ice.AsyncResult<Murmur.Callback_Server_verifyPassword> begin_verifyPassword(string name, string pw);
  4806. Ice.AsyncResult<Murmur.Callback_Server_verifyPassword> begin_verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4807.  
  4808. Ice.AsyncResult begin_verifyPassword(string name, string pw, Ice.AsyncCallback cb__, object cookie__);
  4809. Ice.AsyncResult begin_verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4810.  
  4811. int end_verifyPassword(Ice.AsyncResult r__);
  4812.  
  4813. byte[] getTexture(int userid);
  4814. byte[] getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> context__);
  4815.  
  4816. Ice.AsyncResult<Murmur.Callback_Server_getTexture> begin_getTexture(int userid);
  4817. Ice.AsyncResult<Murmur.Callback_Server_getTexture> begin_getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4818.  
  4819. Ice.AsyncResult begin_getTexture(int userid, Ice.AsyncCallback cb__, object cookie__);
  4820. Ice.AsyncResult begin_getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4821.  
  4822. byte[] end_getTexture(Ice.AsyncResult r__);
  4823.  
  4824. void setTexture(int userid, byte[] tex);
  4825. void setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__);
  4826.  
  4827. Ice.AsyncResult<Murmur.Callback_Server_setTexture> begin_setTexture(int userid, byte[] tex);
  4828. Ice.AsyncResult<Murmur.Callback_Server_setTexture> begin_setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4829.  
  4830. Ice.AsyncResult begin_setTexture(int userid, byte[] tex, Ice.AsyncCallback cb__, object cookie__);
  4831. Ice.AsyncResult begin_setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4832.  
  4833. void end_setTexture(Ice.AsyncResult r__);
  4834.  
  4835. int getUptime();
  4836. int getUptime(_System.Collections.Generic.Dictionary<string, string> context__);
  4837.  
  4838. Ice.AsyncResult<Murmur.Callback_Server_getUptime> begin_getUptime();
  4839. Ice.AsyncResult<Murmur.Callback_Server_getUptime> begin_getUptime(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4840.  
  4841. Ice.AsyncResult begin_getUptime(Ice.AsyncCallback cb__, object cookie__);
  4842. Ice.AsyncResult begin_getUptime(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4843.  
  4844. int end_getUptime(Ice.AsyncResult r__);
  4845.  
  4846. void updateCertificate(string certificate, string privateKey, string passphrase);
  4847. void updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> context__);
  4848.  
  4849. Ice.AsyncResult<Murmur.Callback_Server_updateCertificate> begin_updateCertificate(string certificate, string privateKey, string passphrase);
  4850. Ice.AsyncResult<Murmur.Callback_Server_updateCertificate> begin_updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4851.  
  4852. Ice.AsyncResult begin_updateCertificate(string certificate, string privateKey, string passphrase, Ice.AsyncCallback cb__, object cookie__);
  4853. Ice.AsyncResult begin_updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4854.  
  4855. void end_updateCertificate(Ice.AsyncResult r__);
  4856. }
  4857.  
  4858. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4859. public interface MetaCallbackPrx : Ice.ObjectPrx
  4860. {
  4861. void started(Murmur.ServerPrx srv);
  4862. void started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__);
  4863.  
  4864. Ice.AsyncResult<Murmur.Callback_MetaCallback_started> begin_started(Murmur.ServerPrx srv);
  4865. Ice.AsyncResult<Murmur.Callback_MetaCallback_started> begin_started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4866.  
  4867. Ice.AsyncResult begin_started(Murmur.ServerPrx srv, Ice.AsyncCallback cb__, object cookie__);
  4868. Ice.AsyncResult begin_started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4869.  
  4870. void end_started(Ice.AsyncResult r__);
  4871.  
  4872. void stopped(Murmur.ServerPrx srv);
  4873. void stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__);
  4874.  
  4875. Ice.AsyncResult<Murmur.Callback_MetaCallback_stopped> begin_stopped(Murmur.ServerPrx srv);
  4876. Ice.AsyncResult<Murmur.Callback_MetaCallback_stopped> begin_stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4877.  
  4878. Ice.AsyncResult begin_stopped(Murmur.ServerPrx srv, Ice.AsyncCallback cb__, object cookie__);
  4879. Ice.AsyncResult begin_stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4880.  
  4881. void end_stopped(Ice.AsyncResult r__);
  4882. }
  4883.  
  4884. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  4885. public interface MetaPrx : Ice.ObjectPrx
  4886. {
  4887. Murmur.ServerPrx getServer(int id);
  4888. Murmur.ServerPrx getServer(int id, _System.Collections.Generic.Dictionary<string, string> context__);
  4889.  
  4890. Ice.AsyncResult<Murmur.Callback_Meta_getServer> begin_getServer(int id);
  4891. Ice.AsyncResult<Murmur.Callback_Meta_getServer> begin_getServer(int id, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4892.  
  4893. Ice.AsyncResult begin_getServer(int id, Ice.AsyncCallback cb__, object cookie__);
  4894. Ice.AsyncResult begin_getServer(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4895.  
  4896. Murmur.ServerPrx end_getServer(Ice.AsyncResult r__);
  4897.  
  4898. Murmur.ServerPrx newServer();
  4899. Murmur.ServerPrx newServer(_System.Collections.Generic.Dictionary<string, string> context__);
  4900.  
  4901. Ice.AsyncResult<Murmur.Callback_Meta_newServer> begin_newServer();
  4902. Ice.AsyncResult<Murmur.Callback_Meta_newServer> begin_newServer(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4903.  
  4904. Ice.AsyncResult begin_newServer(Ice.AsyncCallback cb__, object cookie__);
  4905. Ice.AsyncResult begin_newServer(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4906.  
  4907. Murmur.ServerPrx end_newServer(Ice.AsyncResult r__);
  4908.  
  4909. Murmur.ServerPrx[] getBootedServers();
  4910. Murmur.ServerPrx[] getBootedServers(_System.Collections.Generic.Dictionary<string, string> context__);
  4911.  
  4912. Ice.AsyncResult<Murmur.Callback_Meta_getBootedServers> begin_getBootedServers();
  4913. Ice.AsyncResult<Murmur.Callback_Meta_getBootedServers> begin_getBootedServers(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4914.  
  4915. Ice.AsyncResult begin_getBootedServers(Ice.AsyncCallback cb__, object cookie__);
  4916. Ice.AsyncResult begin_getBootedServers(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4917.  
  4918. Murmur.ServerPrx[] end_getBootedServers(Ice.AsyncResult r__);
  4919.  
  4920. Murmur.ServerPrx[] getAllServers();
  4921. Murmur.ServerPrx[] getAllServers(_System.Collections.Generic.Dictionary<string, string> context__);
  4922.  
  4923. Ice.AsyncResult<Murmur.Callback_Meta_getAllServers> begin_getAllServers();
  4924. Ice.AsyncResult<Murmur.Callback_Meta_getAllServers> begin_getAllServers(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4925.  
  4926. Ice.AsyncResult begin_getAllServers(Ice.AsyncCallback cb__, object cookie__);
  4927. Ice.AsyncResult begin_getAllServers(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4928.  
  4929. Murmur.ServerPrx[] end_getAllServers(Ice.AsyncResult r__);
  4930.  
  4931. _System.Collections.Generic.Dictionary<string, string> getDefaultConf();
  4932. _System.Collections.Generic.Dictionary<string, string> getDefaultConf(_System.Collections.Generic.Dictionary<string, string> context__);
  4933.  
  4934. Ice.AsyncResult<Murmur.Callback_Meta_getDefaultConf> begin_getDefaultConf();
  4935. Ice.AsyncResult<Murmur.Callback_Meta_getDefaultConf> begin_getDefaultConf(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4936.  
  4937. Ice.AsyncResult begin_getDefaultConf(Ice.AsyncCallback cb__, object cookie__);
  4938. Ice.AsyncResult begin_getDefaultConf(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4939.  
  4940. _System.Collections.Generic.Dictionary<string, string> end_getDefaultConf(Ice.AsyncResult r__);
  4941.  
  4942. void getVersion(out int major, out int minor, out int patch, out string text);
  4943. void getVersion(out int major, out int minor, out int patch, out string text, _System.Collections.Generic.Dictionary<string, string> context__);
  4944.  
  4945. Ice.AsyncResult<Murmur.Callback_Meta_getVersion> begin_getVersion();
  4946. Ice.AsyncResult<Murmur.Callback_Meta_getVersion> begin_getVersion(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4947.  
  4948. Ice.AsyncResult begin_getVersion(Ice.AsyncCallback cb__, object cookie__);
  4949. Ice.AsyncResult begin_getVersion(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4950.  
  4951. void end_getVersion(out int major, out int minor, out int patch, out string text, Ice.AsyncResult r__);
  4952.  
  4953. void addCallback(Murmur.MetaCallbackPrx cb);
  4954. void addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__);
  4955.  
  4956. Ice.AsyncResult<Murmur.Callback_Meta_addCallback> begin_addCallback(Murmur.MetaCallbackPrx cb);
  4957. Ice.AsyncResult<Murmur.Callback_Meta_addCallback> begin_addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4958.  
  4959. Ice.AsyncResult begin_addCallback(Murmur.MetaCallbackPrx cb, Ice.AsyncCallback cb__, object cookie__);
  4960. Ice.AsyncResult begin_addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4961.  
  4962. void end_addCallback(Ice.AsyncResult r__);
  4963.  
  4964. void removeCallback(Murmur.MetaCallbackPrx cb);
  4965. void removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__);
  4966.  
  4967. Ice.AsyncResult<Murmur.Callback_Meta_removeCallback> begin_removeCallback(Murmur.MetaCallbackPrx cb);
  4968. Ice.AsyncResult<Murmur.Callback_Meta_removeCallback> begin_removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__);
  4969.  
  4970. Ice.AsyncResult begin_removeCallback(Murmur.MetaCallbackPrx cb, Ice.AsyncCallback cb__, object cookie__);
  4971. Ice.AsyncResult begin_removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4972.  
  4973. void end_removeCallback(Ice.AsyncResult r__);
  4974.  
  4975. int getUptime();
  4976. int getUptime(_System.Collections.Generic.Dictionary<string, string> context__);
  4977.  
  4978. Ice.AsyncResult<Murmur.Callback_Meta_getUptime> begin_getUptime();
  4979. Ice.AsyncResult<Murmur.Callback_Meta_getUptime> begin_getUptime(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4980.  
  4981. Ice.AsyncResult begin_getUptime(Ice.AsyncCallback cb__, object cookie__);
  4982. Ice.AsyncResult begin_getUptime(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4983.  
  4984. int end_getUptime(Ice.AsyncResult r__);
  4985.  
  4986. string getSlice();
  4987. string getSlice(_System.Collections.Generic.Dictionary<string, string> context__);
  4988.  
  4989. Ice.AsyncResult<Murmur.Callback_Meta_getSlice> begin_getSlice();
  4990. Ice.AsyncResult<Murmur.Callback_Meta_getSlice> begin_getSlice(_System.Collections.Generic.Dictionary<string, string> ctx__);
  4991.  
  4992. Ice.AsyncResult begin_getSlice(Ice.AsyncCallback cb__, object cookie__);
  4993. Ice.AsyncResult begin_getSlice(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  4994.  
  4995. string end_getSlice(Ice.AsyncResult r__);
  4996.  
  4997. _System.Collections.Generic.Dictionary<string, string> getSliceChecksums();
  4998. _System.Collections.Generic.Dictionary<string, string> getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> context__);
  4999.  
  5000. Ice.AsyncResult<Murmur.Callback_Meta_getSliceChecksums> begin_getSliceChecksums();
  5001. Ice.AsyncResult<Murmur.Callback_Meta_getSliceChecksums> begin_getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> ctx__);
  5002.  
  5003. Ice.AsyncResult begin_getSliceChecksums(Ice.AsyncCallback cb__, object cookie__);
  5004. Ice.AsyncResult begin_getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__);
  5005.  
  5006. _System.Collections.Generic.Dictionary<string, string> end_getSliceChecksums(Ice.AsyncResult r__);
  5007. }
  5008. }
  5009.  
  5010. namespace Murmur
  5011. {
  5012. /// <summary>
  5013. /// Callback interface for servers.
  5014. /// You can supply an implementation of this to receive notification
  5015. /// messages from the server.
  5016. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  5017. /// Please note that all callbacks are done asynchronously; murmur does not wait for the callback to
  5018. /// complete before continuing processing.
  5019. /// Note that callbacks are removed when a server is stopped, so you should have a callback for
  5020. /// MetaCallback.started which calls Server.addCallback.
  5021. /// </summary>
  5022.  
  5023. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  5024. public interface ServerCallbackOperations_
  5025. {
  5026. /// <summary>
  5027. /// Called when a user connects to the server.
  5028. /// </summary>
  5029. /// <param name="state">State of connected user.</param>
  5030. /// <param name="current__">The Current object for the invocation.</param>
  5031.  
  5032. void userConnected(Murmur.User state, Ice.Current current__);
  5033.  
  5034. /// <summary>
  5035. /// Called when a user disconnects from the server.
  5036. /// The user has already been removed, so you can no longer use methods like Server.getState
  5037. /// to retrieve the user's state.
  5038. /// </summary>
  5039. /// <param name="state">State of disconnected user.</param>
  5040. /// <param name="current__">The Current object for the invocation.</param>
  5041.  
  5042. void userDisconnected(Murmur.User state, Ice.Current current__);
  5043.  
  5044. /// <summary>
  5045. /// Called when a user state changes.
  5046. /// This is called if the user moves, is renamed, is muted, deafened etc.
  5047. /// </summary>
  5048. /// <param name="state">New state of user.</param>
  5049. /// <param name="current__">The Current object for the invocation.</param>
  5050.  
  5051. void userStateChanged(Murmur.User state, Ice.Current current__);
  5052.  
  5053. /// <summary>
  5054. /// Called when user writes a text message
  5055. /// <param name="state">the User sending the message
  5056. /// </param>
  5057. /// <param name="message">the TextMessage the user has sent
  5058. /// </param>
  5059. /// </summary>
  5060. /// <param name="current__">The Current object for the invocation.</param>
  5061.  
  5062. void userTextMessage(Murmur.User state, Murmur.TextMessage message, Ice.Current current__);
  5063.  
  5064. /// <summary>
  5065. /// Called when a new channel is created.
  5066. /// </summary>
  5067. /// <param name="state">State of new channel.</param>
  5068. /// <param name="current__">The Current object for the invocation.</param>
  5069.  
  5070. void channelCreated(Murmur.Channel state, Ice.Current current__);
  5071.  
  5072. /// <summary>
  5073. /// Called when a channel is removed.
  5074. /// The channel has already been removed, you can no longer use methods like Server.getChannelState
  5075. /// </summary>
  5076. /// <param name="state">State of removed channel.</param>
  5077. /// <param name="current__">The Current object for the invocation.</param>
  5078.  
  5079. void channelRemoved(Murmur.Channel state, Ice.Current current__);
  5080.  
  5081. /// <summary>
  5082. /// Called when a new channel state changes.
  5083. /// This is called if the channel is moved, renamed or if new links are added.
  5084. /// </summary>
  5085. /// <param name="state">New state of channel.</param>
  5086. /// <param name="current__">The Current object for the invocation.</param>
  5087.  
  5088. void channelStateChanged(Murmur.Channel state, Ice.Current current__);
  5089. }
  5090.  
  5091. /// <summary>
  5092. /// Callback interface for servers.
  5093. /// You can supply an implementation of this to receive notification
  5094. /// messages from the server.
  5095. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  5096. /// Please note that all callbacks are done asynchronously; murmur does not wait for the callback to
  5097. /// complete before continuing processing.
  5098. /// Note that callbacks are removed when a server is stopped, so you should have a callback for
  5099. /// MetaCallback.started which calls Server.addCallback.
  5100. /// </summary>
  5101.  
  5102. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  5103. public interface ServerCallbackOperationsNC_
  5104. {
  5105. /// <summary>
  5106. /// Called when a user connects to the server.
  5107. /// </summary>
  5108. /// <param name="state">State of connected user.</param>
  5109.  
  5110. void userConnected(Murmur.User state);
  5111.  
  5112. /// <summary>
  5113. /// Called when a user disconnects from the server.
  5114. /// The user has already been removed, so you can no longer use methods like Server.getState
  5115. /// to retrieve the user's state.
  5116. /// </summary>
  5117. /// <param name="state">State of disconnected user.</param>
  5118.  
  5119. void userDisconnected(Murmur.User state);
  5120.  
  5121. /// <summary>
  5122. /// Called when a user state changes.
  5123. /// This is called if the user moves, is renamed, is muted, deafened etc.
  5124. /// </summary>
  5125. /// <param name="state">New state of user.</param>
  5126.  
  5127. void userStateChanged(Murmur.User state);
  5128.  
  5129. /// <summary>
  5130. /// Called when user writes a text message
  5131. /// <param name="state">the User sending the message
  5132. /// </param>
  5133. /// <param name="message">the TextMessage the user has sent
  5134. /// </param>
  5135. /// </summary>
  5136.  
  5137. void userTextMessage(Murmur.User state, Murmur.TextMessage message);
  5138.  
  5139. /// <summary>
  5140. /// Called when a new channel is created.
  5141. /// </summary>
  5142. /// <param name="state">State of new channel.</param>
  5143.  
  5144. void channelCreated(Murmur.Channel state);
  5145.  
  5146. /// <summary>
  5147. /// Called when a channel is removed.
  5148. /// The channel has already been removed, you can no longer use methods like Server.getChannelState
  5149. /// </summary>
  5150. /// <param name="state">State of removed channel.</param>
  5151.  
  5152. void channelRemoved(Murmur.Channel state);
  5153.  
  5154. /// <summary>
  5155. /// Called when a new channel state changes.
  5156. /// This is called if the channel is moved, renamed or if new links are added.
  5157. /// </summary>
  5158. /// <param name="state">New state of channel.</param>
  5159.  
  5160. void channelStateChanged(Murmur.Channel state);
  5161. }
  5162.  
  5163. /// <summary>
  5164. /// Callback interface for context actions.
  5165. /// You need to supply one of these for Server.addContext.
  5166. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  5167. /// Please note that all callbacks are done asynchronously; murmur does not wait for the callback to
  5168. /// complete before continuing processing.
  5169. /// </summary>
  5170.  
  5171. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  5172. public interface ServerContextCallbackOperations_
  5173. {
  5174. /// <summary>
  5175. /// Called when a context action is performed.
  5176. /// </summary>
  5177. /// <param name="action">Action to be performed.
  5178. /// </param>
  5179. /// <param name="usr">User which initiated the action.
  5180. /// </param>
  5181. /// <param name="session">If nonzero, session of target user.
  5182. /// </param>
  5183. /// <param name="channelid">If not -1, id of target channel.</param>
  5184. /// <param name="current__">The Current object for the invocation.</param>
  5185.  
  5186. void contextAction(string action, Murmur.User usr, int session, int channelid, Ice.Current current__);
  5187. }
  5188.  
  5189. /// <summary>
  5190. /// Callback interface for context actions.
  5191. /// You need to supply one of these for Server.addContext.
  5192. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  5193. /// Please note that all callbacks are done asynchronously; murmur does not wait for the callback to
  5194. /// complete before continuing processing.
  5195. /// </summary>
  5196.  
  5197. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  5198. public interface ServerContextCallbackOperationsNC_
  5199. {
  5200. /// <summary>
  5201. /// Called when a context action is performed.
  5202. /// </summary>
  5203. /// <param name="action">Action to be performed.
  5204. /// </param>
  5205. /// <param name="usr">User which initiated the action.
  5206. /// </param>
  5207. /// <param name="session">If nonzero, session of target user.
  5208. /// </param>
  5209. /// <param name="channelid">If not -1, id of target channel.</param>
  5210.  
  5211. void contextAction(string action, Murmur.User usr, int session, int channelid);
  5212. }
  5213.  
  5214. /// <summary>
  5215. /// Callback interface for server authentication.
  5216. /// You need to supply one of these for Server.setAuthenticator.
  5217. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  5218. /// Please note that unlike ServerCallback and ServerContextCallback, these methods are called
  5219. /// synchronously. If the response lags, the entire murmur server will lag.
  5220. /// Also note that, as the method calls are synchronous, making a call to Server or Meta will
  5221. /// deadlock the server.
  5222. /// </summary>
  5223.  
  5224. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  5225. public interface ServerAuthenticatorOperations_
  5226. {
  5227. /// <summary>
  5228. /// Called to authenticate a user.
  5229. /// If you do not know the username in question, always return -2 from this
  5230. /// method to fall through to normal database authentication.
  5231. /// Note that if authentication succeeds, murmur will create a record of the user in it's database, reserving
  5232. /// the username and id so it cannot be used for normal database authentication.
  5233. /// The data in the certificate (name, email addresses etc), as well as the list of signing certificates,
  5234. /// should only be trusted if certstrong is true.
  5235. ///
  5236. /// Internally, Murmur treats usernames as case-insensitive. It is recommended
  5237. /// that authenticators do the same. Murmur checks if a username is in use when
  5238. /// a user connects. If the connecting user is registered, the other username is
  5239. /// kicked. If the connecting user is not registered, the connecting user is not
  5240. /// allowed to join the server.
  5241. ///
  5242. /// </summary>
  5243. /// <param name="name">Username to authenticate.
  5244. /// </param>
  5245. /// <param name="pw">Password to authenticate with.
  5246. /// </param>
  5247. /// <param name="certificates">List of der encoded certificates the user connected with.
  5248. /// </param>
  5249. /// <param name="certhash">Hash of user certificate, as used by murmur internally when matching.
  5250. /// </param>
  5251. /// <param name="certstrong">True if certificate was valid and signed by a trusted CA.
  5252. /// </param>
  5253. /// <param name="newname">Set this to change the username from the supplied one.
  5254. /// </param>
  5255. /// <param name="groups">List of groups on the root channel that the user will be added to for the duration of the connection.
  5256. /// </param>
  5257. /// <returns>UserID of authenticated user, -1 for authentication failures, -2 for unknown user (fallthrough),
  5258. /// -3 for authentication failures where the data could (temporarily) not be verified.</returns>
  5259. /// <param name="current__">The Current object for the invocation.</param>
  5260.  
  5261. int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, Ice.Current current__);
  5262.  
  5263. /// <summary>
  5264. /// Fetch information about a user.
  5265. /// This is used to retrieve information like email address, keyhash etc. If you
  5266. /// want murmur to take care of this information itself, simply return false to fall through.
  5267. /// </summary>
  5268. /// <param name="id">User id.
  5269. /// </param>
  5270. /// <param name="info">Information about user. This needs to include at least "name".
  5271. /// </param>
  5272. /// <returns>true if information is present, false to fall through.</returns>
  5273. /// <param name="current__">The Current object for the invocation.</param>
  5274.  
  5275. bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  5276.  
  5277. /// <summary>
  5278. /// Map a name to a user id.
  5279. /// </summary>
  5280. /// <param name="name">Username to map.
  5281. /// </param>
  5282. /// <returns>User id or -2 for unknown name.</returns>
  5283. /// <param name="current__">The Current object for the invocation.</param>
  5284.  
  5285. int nameToId(string name, Ice.Current current__);
  5286.  
  5287. /// <summary>
  5288. /// Map a user id to a username.
  5289. /// </summary>
  5290. /// <param name="id">User id to map.
  5291. /// </param>
  5292. /// <returns>Name of user or empty string for unknown id.</returns>
  5293. /// <param name="current__">The Current object for the invocation.</param>
  5294.  
  5295. string idToName(int id, Ice.Current current__);
  5296.  
  5297. /// <summary>
  5298. /// Map a user to a custom Texture.
  5299. /// </summary>
  5300. /// <param name="id">User id to map.
  5301. /// </param>
  5302. /// <returns>User texture or an empty texture for unknwon users or users without textures.</returns>
  5303. /// <param name="current__">The Current object for the invocation.</param>
  5304.  
  5305. byte[] idToTexture(int id, Ice.Current current__);
  5306. }
  5307.  
  5308. /// <summary>
  5309. /// Callback interface for server authentication.
  5310. /// You need to supply one of these for Server.setAuthenticator.
  5311. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  5312. /// Please note that unlike ServerCallback and ServerContextCallback, these methods are called
  5313. /// synchronously. If the response lags, the entire murmur server will lag.
  5314. /// Also note that, as the method calls are synchronous, making a call to Server or Meta will
  5315. /// deadlock the server.
  5316. /// </summary>
  5317.  
  5318. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  5319. public interface ServerAuthenticatorOperationsNC_
  5320. {
  5321. /// <summary>
  5322. /// Called to authenticate a user.
  5323. /// If you do not know the username in question, always return -2 from this
  5324. /// method to fall through to normal database authentication.
  5325. /// Note that if authentication succeeds, murmur will create a record of the user in it's database, reserving
  5326. /// the username and id so it cannot be used for normal database authentication.
  5327. /// The data in the certificate (name, email addresses etc), as well as the list of signing certificates,
  5328. /// should only be trusted if certstrong is true.
  5329. ///
  5330. /// Internally, Murmur treats usernames as case-insensitive. It is recommended
  5331. /// that authenticators do the same. Murmur checks if a username is in use when
  5332. /// a user connects. If the connecting user is registered, the other username is
  5333. /// kicked. If the connecting user is not registered, the connecting user is not
  5334. /// allowed to join the server.
  5335. ///
  5336. /// </summary>
  5337. /// <param name="name">Username to authenticate.
  5338. /// </param>
  5339. /// <param name="pw">Password to authenticate with.
  5340. /// </param>
  5341. /// <param name="certificates">List of der encoded certificates the user connected with.
  5342. /// </param>
  5343. /// <param name="certhash">Hash of user certificate, as used by murmur internally when matching.
  5344. /// </param>
  5345. /// <param name="certstrong">True if certificate was valid and signed by a trusted CA.
  5346. /// </param>
  5347. /// <param name="newname">Set this to change the username from the supplied one.
  5348. /// </param>
  5349. /// <param name="groups">List of groups on the root channel that the user will be added to for the duration of the connection.
  5350. /// </param>
  5351. /// <returns>UserID of authenticated user, -1 for authentication failures, -2 for unknown user (fallthrough),
  5352. /// -3 for authentication failures where the data could (temporarily) not be verified.</returns>
  5353.  
  5354. int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups);
  5355.  
  5356. /// <summary>
  5357. /// Fetch information about a user.
  5358. /// This is used to retrieve information like email address, keyhash etc. If you
  5359. /// want murmur to take care of this information itself, simply return false to fall through.
  5360. /// </summary>
  5361. /// <param name="id">User id.
  5362. /// </param>
  5363. /// <param name="info">Information about user. This needs to include at least "name".
  5364. /// </param>
  5365. /// <returns>true if information is present, false to fall through.</returns>
  5366.  
  5367. bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  5368.  
  5369. /// <summary>
  5370. /// Map a name to a user id.
  5371. /// </summary>
  5372. /// <param name="name">Username to map.
  5373. /// </param>
  5374. /// <returns>User id or -2 for unknown name.</returns>
  5375.  
  5376. int nameToId(string name);
  5377.  
  5378. /// <summary>
  5379. /// Map a user id to a username.
  5380. /// </summary>
  5381. /// <param name="id">User id to map.
  5382. /// </param>
  5383. /// <returns>Name of user or empty string for unknown id.</returns>
  5384.  
  5385. string idToName(int id);
  5386.  
  5387. /// <summary>
  5388. /// Map a user to a custom Texture.
  5389. /// </summary>
  5390. /// <param name="id">User id to map.
  5391. /// </param>
  5392. /// <returns>User texture or an empty texture for unknwon users or users without textures.</returns>
  5393.  
  5394. byte[] idToTexture(int id);
  5395. }
  5396.  
  5397. /// <summary>
  5398. /// Callback interface for server authentication and registration.
  5399. /// This allows you to support both authentication
  5400. /// and account updating.
  5401. /// You do not need to implement this if all you want is authentication, you only need this if other scripts
  5402. /// connected to the same server calls e.g. Server.setTexture.
  5403. /// Almost all of these methods support fall through, meaning murmur should continue the operation against its
  5404. /// own database.
  5405. /// </summary>
  5406.  
  5407. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  5408. public interface ServerUpdatingAuthenticatorOperations_ : Murmur.ServerAuthenticatorOperations_
  5409. {
  5410. /// <summary>
  5411. /// Register a new user.
  5412. /// </summary>
  5413. /// <param name="info">Information about user to register.
  5414. /// </param>
  5415. /// <returns>User id of new user, -1 for registration failure, or -2 to fall through.</returns>
  5416. /// <param name="current__">The Current object for the invocation.</param>
  5417.  
  5418. int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  5419.  
  5420. /// <summary>
  5421. /// Unregister a user.
  5422. /// </summary>
  5423. /// <param name="id">Userid to unregister.
  5424. /// </param>
  5425. /// <returns>1 for successfull unregistration, 0 for unsuccessfull unregistration, -1 to fall through.</returns>
  5426. /// <param name="current__">The Current object for the invocation.</param>
  5427.  
  5428. int unregisterUser(int id, Ice.Current current__);
  5429.  
  5430. /// <summary>
  5431. /// Get a list of registered users matching filter.
  5432. /// </summary>
  5433. /// <param name="filter">Substring usernames must contain. If empty, return all registered users.
  5434. /// </param>
  5435. /// <returns>List of matching registered users.</returns>
  5436. /// <param name="current__">The Current object for the invocation.</param>
  5437.  
  5438. _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, Ice.Current current__);
  5439.  
  5440. /// <summary>
  5441. /// Set additional information for user registration.
  5442. /// </summary>
  5443. /// <param name="id">Userid of registered user.
  5444. /// </param>
  5445. /// <param name="info">Information to set about user. This should be merged with existing information.
  5446. /// </param>
  5447. /// <returns>1 for successfull update, 0 for unsuccessfull update, -1 to fall through.</returns>
  5448. /// <param name="current__">The Current object for the invocation.</param>
  5449.  
  5450. int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  5451.  
  5452. /// <summary>
  5453. /// Set texture (now called avatar) of user registration.
  5454. /// </summary>
  5455. /// <param name="id">registrationId of registered user.
  5456. /// </param>
  5457. /// <param name="tex">New texture.
  5458. /// </param>
  5459. /// <returns>1 for successfull update, 0 for unsuccessfull update, -1 to fall through.</returns>
  5460. /// <param name="current__">The Current object for the invocation.</param>
  5461.  
  5462. int setTexture(int id, byte[] tex, Ice.Current current__);
  5463. }
  5464.  
  5465. /// <summary>
  5466. /// Callback interface for server authentication and registration.
  5467. /// This allows you to support both authentication
  5468. /// and account updating.
  5469. /// You do not need to implement this if all you want is authentication, you only need this if other scripts
  5470. /// connected to the same server calls e.g. Server.setTexture.
  5471. /// Almost all of these methods support fall through, meaning murmur should continue the operation against its
  5472. /// own database.
  5473. /// </summary>
  5474.  
  5475. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  5476. public interface ServerUpdatingAuthenticatorOperationsNC_ : Murmur.ServerAuthenticatorOperationsNC_
  5477. {
  5478. /// <summary>
  5479. /// Register a new user.
  5480. /// </summary>
  5481. /// <param name="info">Information about user to register.
  5482. /// </param>
  5483. /// <returns>User id of new user, -1 for registration failure, or -2 to fall through.</returns>
  5484.  
  5485. int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  5486.  
  5487. /// <summary>
  5488. /// Unregister a user.
  5489. /// </summary>
  5490. /// <param name="id">Userid to unregister.
  5491. /// </param>
  5492. /// <returns>1 for successfull unregistration, 0 for unsuccessfull unregistration, -1 to fall through.</returns>
  5493.  
  5494. int unregisterUser(int id);
  5495.  
  5496. /// <summary>
  5497. /// Get a list of registered users matching filter.
  5498. /// </summary>
  5499. /// <param name="filter">Substring usernames must contain. If empty, return all registered users.
  5500. /// </param>
  5501. /// <returns>List of matching registered users.</returns>
  5502.  
  5503. _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter);
  5504.  
  5505. /// <summary>
  5506. /// Set additional information for user registration.
  5507. /// </summary>
  5508. /// <param name="id">Userid of registered user.
  5509. /// </param>
  5510. /// <param name="info">Information to set about user. This should be merged with existing information.
  5511. /// </param>
  5512. /// <returns>1 for successfull update, 0 for unsuccessfull update, -1 to fall through.</returns>
  5513.  
  5514. int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  5515.  
  5516. /// <summary>
  5517. /// Set texture (now called avatar) of user registration.
  5518. /// </summary>
  5519. /// <param name="id">registrationId of registered user.
  5520. /// </param>
  5521. /// <param name="tex">New texture.
  5522. /// </param>
  5523. /// <returns>1 for successfull update, 0 for unsuccessfull update, -1 to fall through.</returns>
  5524.  
  5525. int setTexture(int id, byte[] tex);
  5526. }
  5527.  
  5528. /// <summary>
  5529. /// Per-server interface.
  5530. /// This includes all methods for configuring and altering
  5531. /// the state of a single virtual server. You can retrieve a pointer to this interface
  5532. /// from one of the methods in Meta.
  5533. /// </summary>
  5534.  
  5535. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  5536. public interface ServerOperations_
  5537. {
  5538. /// <summary>
  5539. /// Shows if the server currently running (accepting users).
  5540. /// </summary>
  5541. /// <param name="cb__">The callback object for the operation.</param>
  5542. /// <param name="current__">The Current object for the invocation.</param>
  5543. void isRunning_async(Murmur.AMD_Server_isRunning cb__, Ice.Current current__);
  5544.  
  5545. /// <summary>
  5546. /// Start server.
  5547. /// </summary>
  5548. /// <param name="cb__">The callback object for the operation.</param>
  5549. /// <param name="current__">The Current object for the invocation.</param>
  5550. void start_async(Murmur.AMD_Server_start cb__, Ice.Current current__);
  5551.  
  5552. /// <summary>
  5553. /// Stop server.
  5554. /// Note: Server will be restarted on Murmur restart unless explicitly disabled
  5555. /// </summary>
  5556. /// <param name="cb__">The callback object for the operation.</param>
  5557. /// <param name="current__">The Current object for the invocation.</param>
  5558. void stop_async(Murmur.AMD_Server_stop cb__, Ice.Current current__);
  5559.  
  5560. /// <summary>
  5561. /// Delete server and all it's configuration.
  5562. /// </summary>
  5563. /// <param name="cb__">The callback object for the operation.</param>
  5564. /// <param name="current__">The Current object for the invocation.</param>
  5565. void delete_async(Murmur.AMD_Server_delete cb__, Ice.Current current__);
  5566.  
  5567. /// <summary>
  5568. /// Fetch the server id.
  5569. /// </summary>
  5570. /// <param name="cb__">The callback object for the operation.</param>
  5571. /// <param name="current__">The Current object for the invocation.</param>
  5572. void id_async(Murmur.AMD_Server_id cb__, Ice.Current current__);
  5573.  
  5574. /// <summary>
  5575. /// Add a callback.
  5576. /// The callback will receive notifications about changes to users and channels.
  5577. /// </summary>
  5578. /// <param name="cb__">The callback object for the operation.</param>
  5579. /// <param name="cb">Callback interface which will receive notifications.
  5580. /// </param>
  5581. /// <param name="current__">The Current object for the invocation.</param>
  5582. void addCallback_async(Murmur.AMD_Server_addCallback cb__, Murmur.ServerCallbackPrx cb, Ice.Current current__);
  5583.  
  5584. /// <summary>
  5585. /// Remove a callback.
  5586. /// </summary>
  5587. /// <param name="cb__">The callback object for the operation.</param>
  5588. /// <param name="cb">Callback interface to be removed.
  5589. /// </param>
  5590. /// <param name="current__">The Current object for the invocation.</param>
  5591. void removeCallback_async(Murmur.AMD_Server_removeCallback cb__, Murmur.ServerCallbackPrx cb, Ice.Current current__);
  5592.  
  5593. /// <summary>
  5594. /// Set external authenticator.
  5595. /// If set, all authentications from clients are forwarded to this
  5596. /// </summary>
  5597. /// <param name="cb__">The callback object for the operation.</param>
  5598. /// <param name="auth">Authenticator object to perform subsequent authentications.</param>
  5599. /// <param name="current__">The Current object for the invocation.</param>
  5600. void setAuthenticator_async(Murmur.AMD_Server_setAuthenticator cb__, Murmur.ServerAuthenticatorPrx auth, Ice.Current current__);
  5601.  
  5602. /// <summary>
  5603. /// Retrieve configuration item.
  5604. /// </summary>
  5605. /// <param name="cb__">The callback object for the operation.</param>
  5606. /// <param name="key">Configuration key.
  5607. /// </param>
  5608. /// <param name="current__">The Current object for the invocation.</param>
  5609. void getConf_async(Murmur.AMD_Server_getConf cb__, string key, Ice.Current current__);
  5610.  
  5611. /// <summary>
  5612. /// Retrieve all configuration items.
  5613. /// </summary>
  5614. /// <param name="cb__">The callback object for the operation.</param>
  5615. /// <param name="current__">The Current object for the invocation.</param>
  5616. void getAllConf_async(Murmur.AMD_Server_getAllConf cb__, Ice.Current current__);
  5617.  
  5618. /// <summary>
  5619. /// Set a configuration item.
  5620. /// </summary>
  5621. /// <param name="cb__">The callback object for the operation.</param>
  5622. /// <param name="key">Configuration key.
  5623. /// </param>
  5624. /// <param name="value">Configuration value.</param>
  5625. /// <param name="current__">The Current object for the invocation.</param>
  5626. void setConf_async(Murmur.AMD_Server_setConf cb__, string key, string value, Ice.Current current__);
  5627.  
  5628. /// <summary>
  5629. /// Set superuser password.
  5630. /// This is just a convenience for using updateRegistration on user id 0.
  5631. /// </summary>
  5632. /// <param name="cb__">The callback object for the operation.</param>
  5633. /// <param name="pw">Password.</param>
  5634. /// <param name="current__">The Current object for the invocation.</param>
  5635. void setSuperuserPassword_async(Murmur.AMD_Server_setSuperuserPassword cb__, string pw, Ice.Current current__);
  5636.  
  5637. /// <summary>
  5638. /// Fetch log entries.
  5639. /// </summary>
  5640. /// <param name="cb__">The callback object for the operation.</param>
  5641. /// <param name="first">Lowest numbered entry to fetch. 0 is the most recent item.
  5642. /// </param>
  5643. /// <param name="last">Last entry to fetch.
  5644. /// </param>
  5645. /// <param name="current__">The Current object for the invocation.</param>
  5646. void getLog_async(Murmur.AMD_Server_getLog cb__, int first, int last, Ice.Current current__);
  5647.  
  5648. /// <summary>
  5649. /// Fetch length of log
  5650. /// <returns>Number of entries in log
  5651. /// </returns>
  5652. /// </summary>
  5653. /// <param name="cb__">The callback object for the operation.</param>
  5654. /// <param name="current__">The Current object for the invocation.</param>
  5655. void getLogLen_async(Murmur.AMD_Server_getLogLen cb__, Ice.Current current__);
  5656.  
  5657. /// <summary>
  5658. /// Fetch all users.
  5659. /// This returns all currently connected users on the server.
  5660. /// </summary>
  5661. /// <param name="cb__">The callback object for the operation.</param>
  5662. /// <param name="current__">The Current object for the invocation.</param>
  5663. void getUsers_async(Murmur.AMD_Server_getUsers cb__, Ice.Current current__);
  5664.  
  5665. /// <summary>
  5666. /// Fetch all channels.
  5667. /// This returns all defined channels on the server. The root channel is always channel 0.
  5668. /// </summary>
  5669. /// <param name="cb__">The callback object for the operation.</param>
  5670. /// <param name="current__">The Current object for the invocation.</param>
  5671. void getChannels_async(Murmur.AMD_Server_getChannels cb__, Ice.Current current__);
  5672.  
  5673. /// <summary>
  5674. /// Fetch certificate of user.
  5675. /// This returns the complete certificate chain of a user.
  5676. /// </summary>
  5677. /// <param name="cb__">The callback object for the operation.</param>
  5678. /// <param name="session">Connection ID of user. See User.session.
  5679. /// </param>
  5680. /// <param name="current__">The Current object for the invocation.</param>
  5681. void getCertificateList_async(Murmur.AMD_Server_getCertificateList cb__, int session, Ice.Current current__);
  5682.  
  5683. /// <summary>
  5684. /// Fetch all channels and connected users as a tree.
  5685. /// This retrieves an easy-to-use representation of the server
  5686. /// </summary>
  5687. /// <param name="cb__">The callback object for the operation.</param>
  5688. /// <param name="current__">The Current object for the invocation.</param>
  5689. void getTree_async(Murmur.AMD_Server_getTree cb__, Ice.Current current__);
  5690.  
  5691. /// <summary>
  5692. /// Fetch all current IP bans on the server.
  5693. /// </summary>
  5694. /// <param name="cb__">The callback object for the operation.</param>
  5695. /// <param name="current__">The Current object for the invocation.</param>
  5696. void getBans_async(Murmur.AMD_Server_getBans cb__, Ice.Current current__);
  5697.  
  5698. /// <summary>
  5699. /// Set all current IP bans on the server.
  5700. /// This will replace any bans already present, so if you want to add a ban, be sure to call getBans and then
  5701. /// </summary>
  5702. /// <param name="cb__">The callback object for the operation.</param>
  5703. /// <param name="bans">List of bans.</param>
  5704. /// <param name="current__">The Current object for the invocation.</param>
  5705. void setBans_async(Murmur.AMD_Server_setBans cb__, Murmur.Ban[] bans, Ice.Current current__);
  5706.  
  5707. /// <summary>
  5708. /// Kick a user.
  5709. /// The user is not banned, and is free to rejoin the server.
  5710. /// </summary>
  5711. /// <param name="cb__">The callback object for the operation.</param>
  5712. /// <param name="session">Connection ID of user. See User.session.
  5713. /// </param>
  5714. /// <param name="reason">Text message to show when user is kicked.</param>
  5715. /// <param name="current__">The Current object for the invocation.</param>
  5716. void kickUser_async(Murmur.AMD_Server_kickUser cb__, int session, string reason, Ice.Current current__);
  5717.  
  5718. /// <summary>
  5719. /// Get state of a single connected user.
  5720. /// </summary>
  5721. /// <param name="cb__">The callback object for the operation.</param>
  5722. /// <param name="session">Connection ID of user. See User.session.
  5723. /// </param>
  5724. /// <param name="current__">The Current object for the invocation.</param>
  5725. void getState_async(Murmur.AMD_Server_getState cb__, int session, Ice.Current current__);
  5726.  
  5727. /// <summary>
  5728. /// Set user state.
  5729. /// You can use this to move, mute and deafen users.
  5730. /// </summary>
  5731. /// <param name="cb__">The callback object for the operation.</param>
  5732. /// <param name="state">User state to set.
  5733. /// </param>
  5734. /// <param name="current__">The Current object for the invocation.</param>
  5735. void setState_async(Murmur.AMD_Server_setState cb__, Murmur.User state, Ice.Current current__);
  5736.  
  5737. /// <summary>
  5738. /// Send text message to a single user.
  5739. /// </summary>
  5740. /// <param name="cb__">The callback object for the operation.</param>
  5741. /// <param name="session">Connection ID of user. See User.session.
  5742. /// </param>
  5743. /// <param name="text">Message to send.
  5744. /// </param>
  5745. /// <param name="current__">The Current object for the invocation.</param>
  5746. void sendMessage_async(Murmur.AMD_Server_sendMessage cb__, int session, string text, Ice.Current current__);
  5747.  
  5748. /// <summary>
  5749. /// Check if user is permitted to perform action.
  5750. /// </summary>
  5751. /// <param name="cb__">The callback object for the operation.</param>
  5752. /// <param name="session">Connection ID of user. See User.session.
  5753. /// </param>
  5754. /// <param name="channelid">ID of Channel. See Channel.id.
  5755. /// </param>
  5756. /// <param name="perm">Permission bits to check.
  5757. /// </param>
  5758. /// <param name="current__">The Current object for the invocation.</param>
  5759. void hasPermission_async(Murmur.AMD_Server_hasPermission cb__, int session, int channelid, int perm, Ice.Current current__);
  5760.  
  5761. /// <summary>
  5762. /// Return users effective permissions
  5763. /// <param name="session">Connection ID of user.</param>
  5764. /// See User.session.
  5765. /// </summary>
  5766. /// <param name="cb__">The callback object for the operation.</param>
  5767. /// <param name="channelid">ID of Channel. See Channel.id.
  5768. /// </param>
  5769. /// <param name="current__">The Current object for the invocation.</param>
  5770. void effectivePermissions_async(Murmur.AMD_Server_effectivePermissions cb__, int session, int channelid, Ice.Current current__);
  5771.  
  5772. /// <summary>
  5773. /// Add a context callback.
  5774. /// This is done per user, and will add a context menu action for the user.
  5775. /// </summary>
  5776. /// <param name="cb__">The callback object for the operation.</param>
  5777. /// <param name="session">Session of user which should receive context entry.
  5778. /// </param>
  5779. /// <param name="action">Action string, a unique name to associate with the action.
  5780. /// </param>
  5781. /// <param name="text">Name of action shown to user.
  5782. /// </param>
  5783. /// <param name="cb">Callback interface which will receive notifications.
  5784. /// </param>
  5785. /// <param name="ctx">Context this should be used in. Needs to be one or a combination of ContextServer, ContextChannel and ContextUser.
  5786. /// </param>
  5787. /// <param name="current__">The Current object for the invocation.</param>
  5788. void addContextCallback_async(Murmur.AMD_Server_addContextCallback cb__, int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, Ice.Current current__);
  5789.  
  5790. /// <summary>
  5791. /// Remove a callback.
  5792. /// </summary>
  5793. /// <param name="cb__">The callback object for the operation.</param>
  5794. /// <param name="cb">Callback interface to be removed. This callback will be removed from all from all users.
  5795. /// </param>
  5796. /// <param name="current__">The Current object for the invocation.</param>
  5797. void removeContextCallback_async(Murmur.AMD_Server_removeContextCallback cb__, Murmur.ServerContextCallbackPrx cb, Ice.Current current__);
  5798.  
  5799. /// <summary>
  5800. /// Get state of single channel.
  5801. /// </summary>
  5802. /// <param name="cb__">The callback object for the operation.</param>
  5803. /// <param name="channelid">ID of Channel. See Channel.id.
  5804. /// </param>
  5805. /// <param name="current__">The Current object for the invocation.</param>
  5806. void getChannelState_async(Murmur.AMD_Server_getChannelState cb__, int channelid, Ice.Current current__);
  5807.  
  5808. /// <summary>
  5809. /// Set state of a single channel.
  5810. /// You can use this to move or relink channels.
  5811. /// </summary>
  5812. /// <param name="cb__">The callback object for the operation.</param>
  5813. /// <param name="state">Channel state to set.
  5814. /// </param>
  5815. /// <param name="current__">The Current object for the invocation.</param>
  5816. void setChannelState_async(Murmur.AMD_Server_setChannelState cb__, Murmur.Channel state, Ice.Current current__);
  5817.  
  5818. /// <summary>
  5819. /// Remove a channel and all its subchannels.
  5820. /// </summary>
  5821. /// <param name="cb__">The callback object for the operation.</param>
  5822. /// <param name="channelid">ID of Channel. See Channel.id.</param>
  5823. /// <param name="current__">The Current object for the invocation.</param>
  5824. void removeChannel_async(Murmur.AMD_Server_removeChannel cb__, int channelid, Ice.Current current__);
  5825.  
  5826. /// <summary>
  5827. /// Add a new channel.
  5828. /// </summary>
  5829. /// <param name="cb__">The callback object for the operation.</param>
  5830. /// <param name="name">Name of new channel.
  5831. /// </param>
  5832. /// <param name="parent">Channel ID of parent channel. See Channel.id.
  5833. /// </param>
  5834. /// <param name="current__">The Current object for the invocation.</param>
  5835. void addChannel_async(Murmur.AMD_Server_addChannel cb__, string name, int parent, Ice.Current current__);
  5836.  
  5837. /// <summary>
  5838. /// Send text message to channel or a tree of channels.
  5839. /// </summary>
  5840. /// <param name="cb__">The callback object for the operation.</param>
  5841. /// <param name="channelid">Channel ID of channel to send to. See Channel.id.
  5842. /// </param>
  5843. /// <param name="tree">If true, the message will be sent to the channel and all its subchannels.
  5844. /// </param>
  5845. /// <param name="text">Message to send.
  5846. /// </param>
  5847. /// <param name="current__">The Current object for the invocation.</param>
  5848. void sendMessageChannel_async(Murmur.AMD_Server_sendMessageChannel cb__, int channelid, bool tree, string text, Ice.Current current__);
  5849.  
  5850. /// <summary>
  5851. /// Retrieve ACLs and Groups on a channel.
  5852. /// </summary>
  5853. /// <param name="cb__">The callback object for the operation.</param>
  5854. /// <param name="channelid">Channel ID of channel to fetch from. See Channel.id.
  5855. /// </param>
  5856. /// <param name="current__">The Current object for the invocation.</param>
  5857. void getACL_async(Murmur.AMD_Server_getACL cb__, int channelid, Ice.Current current__);
  5858.  
  5859. /// <summary>
  5860. /// Set ACLs and Groups on a channel.
  5861. /// Note that this will replace all existing ACLs and groups on the channel.
  5862. /// </summary>
  5863. /// <param name="cb__">The callback object for the operation.</param>
  5864. /// <param name="channelid">Channel ID of channel to fetch from. See Channel.id.
  5865. /// </param>
  5866. /// <param name="acls">List of ACLs on the channel.
  5867. /// </param>
  5868. /// <param name="groups">List of groups on the channel.
  5869. /// </param>
  5870. /// <param name="inherit">Should this channel inherit ACLs from the parent channel?</param>
  5871. /// <param name="current__">The Current object for the invocation.</param>
  5872. void setACL_async(Murmur.AMD_Server_setACL cb__, int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, Ice.Current current__);
  5873.  
  5874. /// <summary>
  5875. /// Temporarily add a user to a group on a channel.
  5876. /// This state is not saved, and is intended for temporary memberships.
  5877. /// </summary>
  5878. /// <param name="cb__">The callback object for the operation.</param>
  5879. /// <param name="channelid">Channel ID of channel to add to. See Channel.id.
  5880. /// </param>
  5881. /// <param name="session">Connection ID of user. See User.session.
  5882. /// </param>
  5883. /// <param name="group">Group name to add to.</param>
  5884. /// <param name="current__">The Current object for the invocation.</param>
  5885. void addUserToGroup_async(Murmur.AMD_Server_addUserToGroup cb__, int channelid, int session, string group, Ice.Current current__);
  5886.  
  5887. /// <summary>
  5888. /// Remove a user from a temporary group membership on a channel.
  5889. /// This state is not saved, and is intended for temporary memberships.
  5890. /// </summary>
  5891. /// <param name="cb__">The callback object for the operation.</param>
  5892. /// <param name="channelid">Channel ID of channel to add to. See Channel.id.
  5893. /// </param>
  5894. /// <param name="session">Connection ID of user. See User.session.
  5895. /// </param>
  5896. /// <param name="group">Group name to remove from.</param>
  5897. /// <param name="current__">The Current object for the invocation.</param>
  5898. void removeUserFromGroup_async(Murmur.AMD_Server_removeUserFromGroup cb__, int channelid, int session, string group, Ice.Current current__);
  5899.  
  5900. /// <summary>
  5901. /// Redirect whisper targets for user.
  5902. /// If set, whenever a user tries to whisper to group "source", the whisper will be redirected to group "target".
  5903. /// </summary>
  5904. /// <param name="cb__">The callback object for the operation.</param>
  5905. /// <param name="session">Connection ID of user. See User.session.
  5906. /// </param>
  5907. /// <param name="source">Group name to redirect from.
  5908. /// </param>
  5909. /// <param name="target">Group name to redirect to.</param>
  5910. /// <param name="current__">The Current object for the invocation.</param>
  5911. void redirectWhisperGroup_async(Murmur.AMD_Server_redirectWhisperGroup cb__, int session, string source, string target, Ice.Current current__);
  5912.  
  5913. /// <summary>
  5914. /// Map a list of User.userid to a matching name.
  5915. /// </summary>
  5916. /// <param name="cb__">The callback object for the operation.</param>
  5917. /// <param name="current__">The Current object for the invocation.</param>
  5918. void getUserNames_async(Murmur.AMD_Server_getUserNames cb__, int[] ids, Ice.Current current__);
  5919.  
  5920. /// <summary>
  5921. /// Map a list of user names to a matching id.
  5922. /// </summary>
  5923. /// <param name="cb__">The callback object for the operation.</param>
  5924. /// <param name="current__">The Current object for the invocation.</param>
  5925. void getUserIds_async(Murmur.AMD_Server_getUserIds cb__, string[] names, Ice.Current current__);
  5926.  
  5927. /// <summary>
  5928. /// Register a new user.
  5929. /// </summary>
  5930. /// <param name="cb__">The callback object for the operation.</param>
  5931. /// <param name="info">Information about new user. Must include at least "name".
  5932. /// </param>
  5933. /// <param name="current__">The Current object for the invocation.</param>
  5934. void registerUser_async(Murmur.AMD_Server_registerUser cb__, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  5935.  
  5936. /// <summary>
  5937. /// Remove a user registration.
  5938. /// </summary>
  5939. /// <param name="cb__">The callback object for the operation.</param>
  5940. /// <param name="userid">ID of registered user. See RegisteredUser.userid.</param>
  5941. /// <param name="current__">The Current object for the invocation.</param>
  5942. void unregisterUser_async(Murmur.AMD_Server_unregisterUser cb__, int userid, Ice.Current current__);
  5943.  
  5944. /// <summary>
  5945. /// Update the registration for a user.
  5946. /// You can use this to set the email or password of a user,
  5947. /// </summary>
  5948. /// <param name="cb__">The callback object for the operation.</param>
  5949. /// <param name="current__">The Current object for the invocation.</param>
  5950. void updateRegistration_async(Murmur.AMD_Server_updateRegistration cb__, int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  5951.  
  5952. /// <summary>
  5953. /// Fetch registration for a single user.
  5954. /// </summary>
  5955. /// <param name="cb__">The callback object for the operation.</param>
  5956. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  5957. /// </param>
  5958. /// <param name="current__">The Current object for the invocation.</param>
  5959. void getRegistration_async(Murmur.AMD_Server_getRegistration cb__, int userid, Ice.Current current__);
  5960.  
  5961. /// <summary>
  5962. /// Fetch a group of registered users.
  5963. /// </summary>
  5964. /// <param name="cb__">The callback object for the operation.</param>
  5965. /// <param name="filter">Substring of user name. If blank, will retrieve all registered users.
  5966. /// </param>
  5967. /// <param name="current__">The Current object for the invocation.</param>
  5968. void getRegisteredUsers_async(Murmur.AMD_Server_getRegisteredUsers cb__, string filter, Ice.Current current__);
  5969.  
  5970. /// <summary>
  5971. /// Verify the password of a user.
  5972. /// You can use this to verify a user's credentials.
  5973. /// </summary>
  5974. /// <param name="cb__">The callback object for the operation.</param>
  5975. /// <param name="name">User name. See RegisteredUser.name.
  5976. /// </param>
  5977. /// <param name="pw">User password.
  5978. /// </param>
  5979. /// <param name="current__">The Current object for the invocation.</param>
  5980. void verifyPassword_async(Murmur.AMD_Server_verifyPassword cb__, string name, string pw, Ice.Current current__);
  5981.  
  5982. /// <summary>
  5983. /// Fetch user texture.
  5984. /// Textures are stored as zlib compress()ed 600x60 32-bit BGRA data.
  5985. /// </summary>
  5986. /// <param name="cb__">The callback object for the operation.</param>
  5987. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  5988. /// </param>
  5989. /// <param name="current__">The Current object for the invocation.</param>
  5990. void getTexture_async(Murmur.AMD_Server_getTexture cb__, int userid, Ice.Current current__);
  5991.  
  5992. /// <summary>
  5993. /// Set a user texture (now called avatar).
  5994. /// </summary>
  5995. /// <param name="cb__">The callback object for the operation.</param>
  5996. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  5997. /// </param>
  5998. /// <param name="tex">Texture (as a Byte-Array) to set for the user, or an empty texture to remove the existing texture.</param>
  5999. /// <param name="current__">The Current object for the invocation.</param>
  6000. void setTexture_async(Murmur.AMD_Server_setTexture cb__, int userid, byte[] tex, Ice.Current current__);
  6001.  
  6002. /// <summary>
  6003. /// Get virtual server uptime.
  6004. /// </summary>
  6005. /// <param name="cb__">The callback object for the operation.</param>
  6006. /// <param name="current__">The Current object for the invocation.</param>
  6007. void getUptime_async(Murmur.AMD_Server_getUptime cb__, Ice.Current current__);
  6008.  
  6009. /// <summary>
  6010. /// Update the server's certificate information.
  6011. /// Reconfigure the running server's TLS socket with the given
  6012. /// </summary>
  6013. /// <param name="cb__">The callback object for the operation.</param>
  6014. /// <param name="current__">The Current object for the invocation.</param>
  6015. void updateCertificate_async(Murmur.AMD_Server_updateCertificate cb__, string certificate, string privateKey, string passphrase, Ice.Current current__);
  6016. }
  6017.  
  6018. /// <summary>
  6019. /// Per-server interface.
  6020. /// This includes all methods for configuring and altering
  6021. /// the state of a single virtual server. You can retrieve a pointer to this interface
  6022. /// from one of the methods in Meta.
  6023. /// </summary>
  6024.  
  6025. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6026. public interface ServerOperationsNC_
  6027. {
  6028. /// <summary>
  6029. /// Shows if the server currently running (accepting users).
  6030. /// </summary>
  6031. /// <param name="cb__">The callback object for the operation.</param>
  6032. void isRunning_async(Murmur.AMD_Server_isRunning cb__);
  6033.  
  6034. /// <summary>
  6035. /// Start server.
  6036. /// </summary>
  6037. /// <param name="cb__">The callback object for the operation.</param>
  6038. void start_async(Murmur.AMD_Server_start cb__);
  6039.  
  6040. /// <summary>
  6041. /// Stop server.
  6042. /// Note: Server will be restarted on Murmur restart unless explicitly disabled
  6043. /// </summary>
  6044. /// <param name="cb__">The callback object for the operation.</param>
  6045. void stop_async(Murmur.AMD_Server_stop cb__);
  6046.  
  6047. /// <summary>
  6048. /// Delete server and all it's configuration.
  6049. /// </summary>
  6050. /// <param name="cb__">The callback object for the operation.</param>
  6051. void delete_async(Murmur.AMD_Server_delete cb__);
  6052.  
  6053. /// <summary>
  6054. /// Fetch the server id.
  6055. /// </summary>
  6056. /// <param name="cb__">The callback object for the operation.</param>
  6057. void id_async(Murmur.AMD_Server_id cb__);
  6058.  
  6059. /// <summary>
  6060. /// Add a callback.
  6061. /// The callback will receive notifications about changes to users and channels.
  6062. /// </summary>
  6063. /// <param name="cb__">The callback object for the operation.</param>
  6064. /// <param name="cb">Callback interface which will receive notifications.
  6065. /// </param>
  6066. void addCallback_async(Murmur.AMD_Server_addCallback cb__, Murmur.ServerCallbackPrx cb);
  6067.  
  6068. /// <summary>
  6069. /// Remove a callback.
  6070. /// </summary>
  6071. /// <param name="cb__">The callback object for the operation.</param>
  6072. /// <param name="cb">Callback interface to be removed.
  6073. /// </param>
  6074. void removeCallback_async(Murmur.AMD_Server_removeCallback cb__, Murmur.ServerCallbackPrx cb);
  6075.  
  6076. /// <summary>
  6077. /// Set external authenticator.
  6078. /// If set, all authentications from clients are forwarded to this
  6079. /// </summary>
  6080. /// <param name="cb__">The callback object for the operation.</param>
  6081. /// <param name="auth">Authenticator object to perform subsequent authentications.</param>
  6082. void setAuthenticator_async(Murmur.AMD_Server_setAuthenticator cb__, Murmur.ServerAuthenticatorPrx auth);
  6083.  
  6084. /// <summary>
  6085. /// Retrieve configuration item.
  6086. /// </summary>
  6087. /// <param name="cb__">The callback object for the operation.</param>
  6088. /// <param name="key">Configuration key.
  6089. /// </param>
  6090. void getConf_async(Murmur.AMD_Server_getConf cb__, string key);
  6091.  
  6092. /// <summary>
  6093. /// Retrieve all configuration items.
  6094. /// </summary>
  6095. /// <param name="cb__">The callback object for the operation.</param>
  6096. void getAllConf_async(Murmur.AMD_Server_getAllConf cb__);
  6097.  
  6098. /// <summary>
  6099. /// Set a configuration item.
  6100. /// </summary>
  6101. /// <param name="cb__">The callback object for the operation.</param>
  6102. /// <param name="key">Configuration key.
  6103. /// </param>
  6104. /// <param name="value">Configuration value.</param>
  6105. void setConf_async(Murmur.AMD_Server_setConf cb__, string key, string value);
  6106.  
  6107. /// <summary>
  6108. /// Set superuser password.
  6109. /// This is just a convenience for using updateRegistration on user id 0.
  6110. /// </summary>
  6111. /// <param name="cb__">The callback object for the operation.</param>
  6112. /// <param name="pw">Password.</param>
  6113. void setSuperuserPassword_async(Murmur.AMD_Server_setSuperuserPassword cb__, string pw);
  6114.  
  6115. /// <summary>
  6116. /// Fetch log entries.
  6117. /// </summary>
  6118. /// <param name="cb__">The callback object for the operation.</param>
  6119. /// <param name="first">Lowest numbered entry to fetch. 0 is the most recent item.
  6120. /// </param>
  6121. /// <param name="last">Last entry to fetch.
  6122. /// </param>
  6123. void getLog_async(Murmur.AMD_Server_getLog cb__, int first, int last);
  6124.  
  6125. /// <summary>
  6126. /// Fetch length of log
  6127. /// <returns>Number of entries in log
  6128. /// </returns>
  6129. /// </summary>
  6130. /// <param name="cb__">The callback object for the operation.</param>
  6131. void getLogLen_async(Murmur.AMD_Server_getLogLen cb__);
  6132.  
  6133. /// <summary>
  6134. /// Fetch all users.
  6135. /// This returns all currently connected users on the server.
  6136. /// </summary>
  6137. /// <param name="cb__">The callback object for the operation.</param>
  6138. void getUsers_async(Murmur.AMD_Server_getUsers cb__);
  6139.  
  6140. /// <summary>
  6141. /// Fetch all channels.
  6142. /// This returns all defined channels on the server. The root channel is always channel 0.
  6143. /// </summary>
  6144. /// <param name="cb__">The callback object for the operation.</param>
  6145. void getChannels_async(Murmur.AMD_Server_getChannels cb__);
  6146.  
  6147. /// <summary>
  6148. /// Fetch certificate of user.
  6149. /// This returns the complete certificate chain of a user.
  6150. /// </summary>
  6151. /// <param name="cb__">The callback object for the operation.</param>
  6152. /// <param name="session">Connection ID of user. See User.session.
  6153. /// </param>
  6154. void getCertificateList_async(Murmur.AMD_Server_getCertificateList cb__, int session);
  6155.  
  6156. /// <summary>
  6157. /// Fetch all channels and connected users as a tree.
  6158. /// This retrieves an easy-to-use representation of the server
  6159. /// </summary>
  6160. /// <param name="cb__">The callback object for the operation.</param>
  6161. void getTree_async(Murmur.AMD_Server_getTree cb__);
  6162.  
  6163. /// <summary>
  6164. /// Fetch all current IP bans on the server.
  6165. /// </summary>
  6166. /// <param name="cb__">The callback object for the operation.</param>
  6167. void getBans_async(Murmur.AMD_Server_getBans cb__);
  6168.  
  6169. /// <summary>
  6170. /// Set all current IP bans on the server.
  6171. /// This will replace any bans already present, so if you want to add a ban, be sure to call getBans and then
  6172. /// </summary>
  6173. /// <param name="cb__">The callback object for the operation.</param>
  6174. /// <param name="bans">List of bans.</param>
  6175. void setBans_async(Murmur.AMD_Server_setBans cb__, Murmur.Ban[] bans);
  6176.  
  6177. /// <summary>
  6178. /// Kick a user.
  6179. /// The user is not banned, and is free to rejoin the server.
  6180. /// </summary>
  6181. /// <param name="cb__">The callback object for the operation.</param>
  6182. /// <param name="session">Connection ID of user. See User.session.
  6183. /// </param>
  6184. /// <param name="reason">Text message to show when user is kicked.</param>
  6185. void kickUser_async(Murmur.AMD_Server_kickUser cb__, int session, string reason);
  6186.  
  6187. /// <summary>
  6188. /// Get state of a single connected user.
  6189. /// </summary>
  6190. /// <param name="cb__">The callback object for the operation.</param>
  6191. /// <param name="session">Connection ID of user. See User.session.
  6192. /// </param>
  6193. void getState_async(Murmur.AMD_Server_getState cb__, int session);
  6194.  
  6195. /// <summary>
  6196. /// Set user state.
  6197. /// You can use this to move, mute and deafen users.
  6198. /// </summary>
  6199. /// <param name="cb__">The callback object for the operation.</param>
  6200. /// <param name="state">User state to set.
  6201. /// </param>
  6202. void setState_async(Murmur.AMD_Server_setState cb__, Murmur.User state);
  6203.  
  6204. /// <summary>
  6205. /// Send text message to a single user.
  6206. /// </summary>
  6207. /// <param name="cb__">The callback object for the operation.</param>
  6208. /// <param name="session">Connection ID of user. See User.session.
  6209. /// </param>
  6210. /// <param name="text">Message to send.
  6211. /// </param>
  6212. void sendMessage_async(Murmur.AMD_Server_sendMessage cb__, int session, string text);
  6213.  
  6214. /// <summary>
  6215. /// Check if user is permitted to perform action.
  6216. /// </summary>
  6217. /// <param name="cb__">The callback object for the operation.</param>
  6218. /// <param name="session">Connection ID of user. See User.session.
  6219. /// </param>
  6220. /// <param name="channelid">ID of Channel. See Channel.id.
  6221. /// </param>
  6222. /// <param name="perm">Permission bits to check.
  6223. /// </param>
  6224. void hasPermission_async(Murmur.AMD_Server_hasPermission cb__, int session, int channelid, int perm);
  6225.  
  6226. /// <summary>
  6227. /// Return users effective permissions
  6228. /// <param name="session">Connection ID of user.</param>
  6229. /// See User.session.
  6230. /// </summary>
  6231. /// <param name="cb__">The callback object for the operation.</param>
  6232. /// <param name="channelid">ID of Channel. See Channel.id.
  6233. /// </param>
  6234. void effectivePermissions_async(Murmur.AMD_Server_effectivePermissions cb__, int session, int channelid);
  6235.  
  6236. /// <summary>
  6237. /// Add a context callback.
  6238. /// This is done per user, and will add a context menu action for the user.
  6239. /// </summary>
  6240. /// <param name="cb__">The callback object for the operation.</param>
  6241. /// <param name="session">Session of user which should receive context entry.
  6242. /// </param>
  6243. /// <param name="action">Action string, a unique name to associate with the action.
  6244. /// </param>
  6245. /// <param name="text">Name of action shown to user.
  6246. /// </param>
  6247. /// <param name="cb">Callback interface which will receive notifications.
  6248. /// </param>
  6249. /// <param name="ctx">Context this should be used in. Needs to be one or a combination of ContextServer, ContextChannel and ContextUser.
  6250. /// </param>
  6251. void addContextCallback_async(Murmur.AMD_Server_addContextCallback cb__, int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx);
  6252.  
  6253. /// <summary>
  6254. /// Remove a callback.
  6255. /// </summary>
  6256. /// <param name="cb__">The callback object for the operation.</param>
  6257. /// <param name="cb">Callback interface to be removed. This callback will be removed from all from all users.
  6258. /// </param>
  6259. void removeContextCallback_async(Murmur.AMD_Server_removeContextCallback cb__, Murmur.ServerContextCallbackPrx cb);
  6260.  
  6261. /// <summary>
  6262. /// Get state of single channel.
  6263. /// </summary>
  6264. /// <param name="cb__">The callback object for the operation.</param>
  6265. /// <param name="channelid">ID of Channel. See Channel.id.
  6266. /// </param>
  6267. void getChannelState_async(Murmur.AMD_Server_getChannelState cb__, int channelid);
  6268.  
  6269. /// <summary>
  6270. /// Set state of a single channel.
  6271. /// You can use this to move or relink channels.
  6272. /// </summary>
  6273. /// <param name="cb__">The callback object for the operation.</param>
  6274. /// <param name="state">Channel state to set.
  6275. /// </param>
  6276. void setChannelState_async(Murmur.AMD_Server_setChannelState cb__, Murmur.Channel state);
  6277.  
  6278. /// <summary>
  6279. /// Remove a channel and all its subchannels.
  6280. /// </summary>
  6281. /// <param name="cb__">The callback object for the operation.</param>
  6282. /// <param name="channelid">ID of Channel. See Channel.id.</param>
  6283. void removeChannel_async(Murmur.AMD_Server_removeChannel cb__, int channelid);
  6284.  
  6285. /// <summary>
  6286. /// Add a new channel.
  6287. /// </summary>
  6288. /// <param name="cb__">The callback object for the operation.</param>
  6289. /// <param name="name">Name of new channel.
  6290. /// </param>
  6291. /// <param name="parent">Channel ID of parent channel. See Channel.id.
  6292. /// </param>
  6293. void addChannel_async(Murmur.AMD_Server_addChannel cb__, string name, int parent);
  6294.  
  6295. /// <summary>
  6296. /// Send text message to channel or a tree of channels.
  6297. /// </summary>
  6298. /// <param name="cb__">The callback object for the operation.</param>
  6299. /// <param name="channelid">Channel ID of channel to send to. See Channel.id.
  6300. /// </param>
  6301. /// <param name="tree">If true, the message will be sent to the channel and all its subchannels.
  6302. /// </param>
  6303. /// <param name="text">Message to send.
  6304. /// </param>
  6305. void sendMessageChannel_async(Murmur.AMD_Server_sendMessageChannel cb__, int channelid, bool tree, string text);
  6306.  
  6307. /// <summary>
  6308. /// Retrieve ACLs and Groups on a channel.
  6309. /// </summary>
  6310. /// <param name="cb__">The callback object for the operation.</param>
  6311. /// <param name="channelid">Channel ID of channel to fetch from. See Channel.id.
  6312. /// </param>
  6313. void getACL_async(Murmur.AMD_Server_getACL cb__, int channelid);
  6314.  
  6315. /// <summary>
  6316. /// Set ACLs and Groups on a channel.
  6317. /// Note that this will replace all existing ACLs and groups on the channel.
  6318. /// </summary>
  6319. /// <param name="cb__">The callback object for the operation.</param>
  6320. /// <param name="channelid">Channel ID of channel to fetch from. See Channel.id.
  6321. /// </param>
  6322. /// <param name="acls">List of ACLs on the channel.
  6323. /// </param>
  6324. /// <param name="groups">List of groups on the channel.
  6325. /// </param>
  6326. /// <param name="inherit">Should this channel inherit ACLs from the parent channel?</param>
  6327. void setACL_async(Murmur.AMD_Server_setACL cb__, int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit);
  6328.  
  6329. /// <summary>
  6330. /// Temporarily add a user to a group on a channel.
  6331. /// This state is not saved, and is intended for temporary memberships.
  6332. /// </summary>
  6333. /// <param name="cb__">The callback object for the operation.</param>
  6334. /// <param name="channelid">Channel ID of channel to add to. See Channel.id.
  6335. /// </param>
  6336. /// <param name="session">Connection ID of user. See User.session.
  6337. /// </param>
  6338. /// <param name="group">Group name to add to.</param>
  6339. void addUserToGroup_async(Murmur.AMD_Server_addUserToGroup cb__, int channelid, int session, string group);
  6340.  
  6341. /// <summary>
  6342. /// Remove a user from a temporary group membership on a channel.
  6343. /// This state is not saved, and is intended for temporary memberships.
  6344. /// </summary>
  6345. /// <param name="cb__">The callback object for the operation.</param>
  6346. /// <param name="channelid">Channel ID of channel to add to. See Channel.id.
  6347. /// </param>
  6348. /// <param name="session">Connection ID of user. See User.session.
  6349. /// </param>
  6350. /// <param name="group">Group name to remove from.</param>
  6351. void removeUserFromGroup_async(Murmur.AMD_Server_removeUserFromGroup cb__, int channelid, int session, string group);
  6352.  
  6353. /// <summary>
  6354. /// Redirect whisper targets for user.
  6355. /// If set, whenever a user tries to whisper to group "source", the whisper will be redirected to group "target".
  6356. /// </summary>
  6357. /// <param name="cb__">The callback object for the operation.</param>
  6358. /// <param name="session">Connection ID of user. See User.session.
  6359. /// </param>
  6360. /// <param name="source">Group name to redirect from.
  6361. /// </param>
  6362. /// <param name="target">Group name to redirect to.</param>
  6363. void redirectWhisperGroup_async(Murmur.AMD_Server_redirectWhisperGroup cb__, int session, string source, string target);
  6364.  
  6365. /// <summary>
  6366. /// Map a list of User.userid to a matching name.
  6367. /// </summary>
  6368. /// <param name="cb__">The callback object for the operation.</param>
  6369. void getUserNames_async(Murmur.AMD_Server_getUserNames cb__, int[] ids);
  6370.  
  6371. /// <summary>
  6372. /// Map a list of user names to a matching id.
  6373. /// </summary>
  6374. /// <param name="cb__">The callback object for the operation.</param>
  6375. void getUserIds_async(Murmur.AMD_Server_getUserIds cb__, string[] names);
  6376.  
  6377. /// <summary>
  6378. /// Register a new user.
  6379. /// </summary>
  6380. /// <param name="cb__">The callback object for the operation.</param>
  6381. /// <param name="info">Information about new user. Must include at least "name".
  6382. /// </param>
  6383. void registerUser_async(Murmur.AMD_Server_registerUser cb__, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  6384.  
  6385. /// <summary>
  6386. /// Remove a user registration.
  6387. /// </summary>
  6388. /// <param name="cb__">The callback object for the operation.</param>
  6389. /// <param name="userid">ID of registered user. See RegisteredUser.userid.</param>
  6390. void unregisterUser_async(Murmur.AMD_Server_unregisterUser cb__, int userid);
  6391.  
  6392. /// <summary>
  6393. /// Update the registration for a user.
  6394. /// You can use this to set the email or password of a user,
  6395. /// </summary>
  6396. /// <param name="cb__">The callback object for the operation.</param>
  6397. void updateRegistration_async(Murmur.AMD_Server_updateRegistration cb__, int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info);
  6398.  
  6399. /// <summary>
  6400. /// Fetch registration for a single user.
  6401. /// </summary>
  6402. /// <param name="cb__">The callback object for the operation.</param>
  6403. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  6404. /// </param>
  6405. void getRegistration_async(Murmur.AMD_Server_getRegistration cb__, int userid);
  6406.  
  6407. /// <summary>
  6408. /// Fetch a group of registered users.
  6409. /// </summary>
  6410. /// <param name="cb__">The callback object for the operation.</param>
  6411. /// <param name="filter">Substring of user name. If blank, will retrieve all registered users.
  6412. /// </param>
  6413. void getRegisteredUsers_async(Murmur.AMD_Server_getRegisteredUsers cb__, string filter);
  6414.  
  6415. /// <summary>
  6416. /// Verify the password of a user.
  6417. /// You can use this to verify a user's credentials.
  6418. /// </summary>
  6419. /// <param name="cb__">The callback object for the operation.</param>
  6420. /// <param name="name">User name. See RegisteredUser.name.
  6421. /// </param>
  6422. /// <param name="pw">User password.
  6423. /// </param>
  6424. void verifyPassword_async(Murmur.AMD_Server_verifyPassword cb__, string name, string pw);
  6425.  
  6426. /// <summary>
  6427. /// Fetch user texture.
  6428. /// Textures are stored as zlib compress()ed 600x60 32-bit BGRA data.
  6429. /// </summary>
  6430. /// <param name="cb__">The callback object for the operation.</param>
  6431. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  6432. /// </param>
  6433. void getTexture_async(Murmur.AMD_Server_getTexture cb__, int userid);
  6434.  
  6435. /// <summary>
  6436. /// Set a user texture (now called avatar).
  6437. /// </summary>
  6438. /// <param name="cb__">The callback object for the operation.</param>
  6439. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  6440. /// </param>
  6441. /// <param name="tex">Texture (as a Byte-Array) to set for the user, or an empty texture to remove the existing texture.</param>
  6442. void setTexture_async(Murmur.AMD_Server_setTexture cb__, int userid, byte[] tex);
  6443.  
  6444. /// <summary>
  6445. /// Get virtual server uptime.
  6446. /// </summary>
  6447. /// <param name="cb__">The callback object for the operation.</param>
  6448. void getUptime_async(Murmur.AMD_Server_getUptime cb__);
  6449.  
  6450. /// <summary>
  6451. /// Update the server's certificate information.
  6452. /// Reconfigure the running server's TLS socket with the given
  6453. /// </summary>
  6454. /// <param name="cb__">The callback object for the operation.</param>
  6455. void updateCertificate_async(Murmur.AMD_Server_updateCertificate cb__, string certificate, string privateKey, string passphrase);
  6456. }
  6457.  
  6458. /// <summary>
  6459. /// Callback interface for Meta.
  6460. /// You can supply an implementation of this to receive notifications
  6461. /// when servers are stopped or started.
  6462. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  6463. /// Please note that all callbacks are done asynchronously; murmur does not wait for the callback to
  6464. /// complete before continuing processing.
  6465. /// </summary>
  6466.  
  6467. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6468. public interface MetaCallbackOperations_
  6469. {
  6470. /// <summary>
  6471. /// Called when a server is started.
  6472. /// The server is up and running when this event is sent, so all methods that
  6473. /// need a running server will work.
  6474. /// </summary>
  6475. /// <param name="srv">Interface for started server.</param>
  6476. /// <param name="current__">The Current object for the invocation.</param>
  6477.  
  6478. void started(Murmur.ServerPrx srv, Ice.Current current__);
  6479.  
  6480. /// <summary>
  6481. /// Called when a server is stopped.
  6482. /// The server is already stopped when this event is sent, so no methods that
  6483. /// need a running server will work.
  6484. /// </summary>
  6485. /// <param name="srv">Interface for started server.</param>
  6486. /// <param name="current__">The Current object for the invocation.</param>
  6487.  
  6488. void stopped(Murmur.ServerPrx srv, Ice.Current current__);
  6489. }
  6490.  
  6491. /// <summary>
  6492. /// Callback interface for Meta.
  6493. /// You can supply an implementation of this to receive notifications
  6494. /// when servers are stopped or started.
  6495. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  6496. /// Please note that all callbacks are done asynchronously; murmur does not wait for the callback to
  6497. /// complete before continuing processing.
  6498. /// </summary>
  6499.  
  6500. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6501. public interface MetaCallbackOperationsNC_
  6502. {
  6503. /// <summary>
  6504. /// Called when a server is started.
  6505. /// The server is up and running when this event is sent, so all methods that
  6506. /// need a running server will work.
  6507. /// </summary>
  6508. /// <param name="srv">Interface for started server.</param>
  6509.  
  6510. void started(Murmur.ServerPrx srv);
  6511.  
  6512. /// <summary>
  6513. /// Called when a server is stopped.
  6514. /// The server is already stopped when this event is sent, so no methods that
  6515. /// need a running server will work.
  6516. /// </summary>
  6517. /// <param name="srv">Interface for started server.</param>
  6518.  
  6519. void stopped(Murmur.ServerPrx srv);
  6520. }
  6521.  
  6522. /// <summary>
  6523. /// This is the meta interface.
  6524. /// It is primarily used for retrieving the Server interfaces for each individual server.
  6525. /// </summary>
  6526.  
  6527. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6528. public interface MetaOperations_
  6529. {
  6530. /// <summary>
  6531. /// Fetch interface to specific server.
  6532. /// </summary>
  6533. /// <param name="cb__">The callback object for the operation.</param>
  6534. /// <param name="id">Server ID. See Server.getId.
  6535. /// </param>
  6536. /// <param name="current__">The Current object for the invocation.</param>
  6537. void getServer_async(Murmur.AMD_Meta_getServer cb__, int id, Ice.Current current__);
  6538.  
  6539. /// <summary>
  6540. /// Create a new server.
  6541. /// Call Server.getId on the returned interface to find it's ID.
  6542. /// </summary>
  6543. /// <param name="cb__">The callback object for the operation.</param>
  6544. /// <param name="current__">The Current object for the invocation.</param>
  6545. void newServer_async(Murmur.AMD_Meta_newServer cb__, Ice.Current current__);
  6546.  
  6547. /// <summary>
  6548. /// Fetch list of all currently running servers.
  6549. /// </summary>
  6550. /// <param name="cb__">The callback object for the operation.</param>
  6551. /// <param name="current__">The Current object for the invocation.</param>
  6552. void getBootedServers_async(Murmur.AMD_Meta_getBootedServers cb__, Ice.Current current__);
  6553.  
  6554. /// <summary>
  6555. /// Fetch list of all defined servers.
  6556. /// </summary>
  6557. /// <param name="cb__">The callback object for the operation.</param>
  6558. /// <param name="current__">The Current object for the invocation.</param>
  6559. void getAllServers_async(Murmur.AMD_Meta_getAllServers cb__, Ice.Current current__);
  6560.  
  6561. /// <summary>
  6562. /// Fetch default configuraion.
  6563. /// This returns the configuration items that were set in the configuration file, or
  6564. /// </summary>
  6565. /// <param name="cb__">The callback object for the operation.</param>
  6566. /// <param name="current__">The Current object for the invocation.</param>
  6567. void getDefaultConf_async(Murmur.AMD_Meta_getDefaultConf cb__, Ice.Current current__);
  6568.  
  6569. /// <summary>
  6570. /// Fetch version of Murmur.
  6571. /// </summary>
  6572. /// <param name="cb__">The callback object for the operation.</param>
  6573. /// <param name="current__">The Current object for the invocation.</param>
  6574. void getVersion_async(Murmur.AMD_Meta_getVersion cb__, Ice.Current current__);
  6575.  
  6576. /// <summary>
  6577. /// Add a callback.
  6578. /// The callback will receive notifications when servers are started or stopped.
  6579. /// </summary>
  6580. /// <param name="cb__">The callback object for the operation.</param>
  6581. /// <param name="cb">Callback interface which will receive notifications.</param>
  6582. /// <param name="current__">The Current object for the invocation.</param>
  6583. void addCallback_async(Murmur.AMD_Meta_addCallback cb__, Murmur.MetaCallbackPrx cb, Ice.Current current__);
  6584.  
  6585. /// <summary>
  6586. /// Remove a callback.
  6587. /// </summary>
  6588. /// <param name="cb__">The callback object for the operation.</param>
  6589. /// <param name="cb">Callback interface to be removed.</param>
  6590. /// <param name="current__">The Current object for the invocation.</param>
  6591. void removeCallback_async(Murmur.AMD_Meta_removeCallback cb__, Murmur.MetaCallbackPrx cb, Ice.Current current__);
  6592.  
  6593. /// <summary>
  6594. /// Get murmur uptime.
  6595. /// </summary>
  6596. /// <param name="cb__">The callback object for the operation.</param>
  6597. /// <param name="current__">The Current object for the invocation.</param>
  6598. void getUptime_async(Murmur.AMD_Meta_getUptime cb__, Ice.Current current__);
  6599.  
  6600. /// <summary>
  6601. /// Get slice file.
  6602. /// </summary>
  6603. /// <param name="cb__">The callback object for the operation.</param>
  6604. /// <param name="current__">The Current object for the invocation.</param>
  6605. void getSlice_async(Murmur.AMD_Meta_getSlice cb__, Ice.Current current__);
  6606.  
  6607. /// <summary>
  6608. /// Returns a checksum dict for the slice file.
  6609. /// </summary>
  6610. /// <param name="cb__">The callback object for the operation.</param>
  6611. /// <param name="current__">The Current object for the invocation.</param>
  6612. void getSliceChecksums_async(Murmur.AMD_Meta_getSliceChecksums cb__, Ice.Current current__);
  6613. }
  6614.  
  6615. /// <summary>
  6616. /// This is the meta interface.
  6617. /// It is primarily used for retrieving the Server interfaces for each individual server.
  6618. /// </summary>
  6619.  
  6620. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6621. public interface MetaOperationsNC_
  6622. {
  6623. /// <summary>
  6624. /// Fetch interface to specific server.
  6625. /// </summary>
  6626. /// <param name="cb__">The callback object for the operation.</param>
  6627. /// <param name="id">Server ID. See Server.getId.
  6628. /// </param>
  6629. void getServer_async(Murmur.AMD_Meta_getServer cb__, int id);
  6630.  
  6631. /// <summary>
  6632. /// Create a new server.
  6633. /// Call Server.getId on the returned interface to find it's ID.
  6634. /// </summary>
  6635. /// <param name="cb__">The callback object for the operation.</param>
  6636. void newServer_async(Murmur.AMD_Meta_newServer cb__);
  6637.  
  6638. /// <summary>
  6639. /// Fetch list of all currently running servers.
  6640. /// </summary>
  6641. /// <param name="cb__">The callback object for the operation.</param>
  6642. void getBootedServers_async(Murmur.AMD_Meta_getBootedServers cb__);
  6643.  
  6644. /// <summary>
  6645. /// Fetch list of all defined servers.
  6646. /// </summary>
  6647. /// <param name="cb__">The callback object for the operation.</param>
  6648. void getAllServers_async(Murmur.AMD_Meta_getAllServers cb__);
  6649.  
  6650. /// <summary>
  6651. /// Fetch default configuraion.
  6652. /// This returns the configuration items that were set in the configuration file, or
  6653. /// </summary>
  6654. /// <param name="cb__">The callback object for the operation.</param>
  6655. void getDefaultConf_async(Murmur.AMD_Meta_getDefaultConf cb__);
  6656.  
  6657. /// <summary>
  6658. /// Fetch version of Murmur.
  6659. /// </summary>
  6660. /// <param name="cb__">The callback object for the operation.</param>
  6661. void getVersion_async(Murmur.AMD_Meta_getVersion cb__);
  6662.  
  6663. /// <summary>
  6664. /// Add a callback.
  6665. /// The callback will receive notifications when servers are started or stopped.
  6666. /// </summary>
  6667. /// <param name="cb__">The callback object for the operation.</param>
  6668. /// <param name="cb">Callback interface which will receive notifications.</param>
  6669. void addCallback_async(Murmur.AMD_Meta_addCallback cb__, Murmur.MetaCallbackPrx cb);
  6670.  
  6671. /// <summary>
  6672. /// Remove a callback.
  6673. /// </summary>
  6674. /// <param name="cb__">The callback object for the operation.</param>
  6675. /// <param name="cb">Callback interface to be removed.</param>
  6676. void removeCallback_async(Murmur.AMD_Meta_removeCallback cb__, Murmur.MetaCallbackPrx cb);
  6677.  
  6678. /// <summary>
  6679. /// Get murmur uptime.
  6680. /// </summary>
  6681. /// <param name="cb__">The callback object for the operation.</param>
  6682. void getUptime_async(Murmur.AMD_Meta_getUptime cb__);
  6683.  
  6684. /// <summary>
  6685. /// Get slice file.
  6686. /// </summary>
  6687. /// <param name="cb__">The callback object for the operation.</param>
  6688. void getSlice_async(Murmur.AMD_Meta_getSlice cb__);
  6689.  
  6690. /// <summary>
  6691. /// Returns a checksum dict for the slice file.
  6692. /// </summary>
  6693. /// <param name="cb__">The callback object for the operation.</param>
  6694. void getSliceChecksums_async(Murmur.AMD_Meta_getSliceChecksums cb__);
  6695. }
  6696. }
  6697.  
  6698. namespace Murmur
  6699. {
  6700. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6701. public sealed class NetAddressHelper
  6702. {
  6703. public static void write(IceInternal.BasicStream os__, byte[] v__)
  6704. {
  6705. os__.writeByteSeq(v__);
  6706. }
  6707.  
  6708. public static byte[] read(IceInternal.BasicStream is__)
  6709. {
  6710. byte[] v__;
  6711. v__ = is__.readByteSeq();
  6712. return v__;
  6713. }
  6714. }
  6715.  
  6716. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6717. public sealed class IntListHelper
  6718. {
  6719. public static void write(IceInternal.BasicStream os__, int[] v__)
  6720. {
  6721. os__.writeIntSeq(v__);
  6722. }
  6723.  
  6724. public static int[] read(IceInternal.BasicStream is__)
  6725. {
  6726. int[] v__;
  6727. v__ = is__.readIntSeq();
  6728. return v__;
  6729. }
  6730. }
  6731.  
  6732. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6733. public sealed class TreeListHelper
  6734. {
  6735. public static void write(IceInternal.BasicStream os__, Murmur.Tree[] v__)
  6736. {
  6737. if (v__ == null)
  6738. {
  6739. os__.writeSize(0);
  6740. }
  6741. else
  6742. {
  6743. os__.writeSize(v__.Length);
  6744. for (int ix__ = 0; ix__ < v__.Length; ++ix__)
  6745. {
  6746. os__.writeObject(v__[ix__]);
  6747. }
  6748. }
  6749. }
  6750.  
  6751. public static Murmur.Tree[] read(IceInternal.BasicStream is__)
  6752. {
  6753. Murmur.Tree[] v__;
  6754. {
  6755. int szx__ = is__.readAndCheckSeqSize(4);
  6756. v__ = new Murmur.Tree[szx__];
  6757. for (int ix__ = 0; ix__ < szx__; ++ix__)
  6758. {
  6759. IceInternal.ArrayPatcher<Murmur.Tree> spx = new IceInternal.ArrayPatcher<Murmur.Tree>("::Murmur::Tree", v__, ix__);
  6760. is__.readObject(spx);
  6761. }
  6762. }
  6763. return v__;
  6764. }
  6765. }
  6766.  
  6767. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6768. public sealed class UserMapHelper
  6769. {
  6770. public static void write(IceInternal.BasicStream os__,
  6771. _System.Collections.Generic.Dictionary<int, Murmur.User> v__)
  6772. {
  6773. if (v__ == null)
  6774. {
  6775. os__.writeSize(0);
  6776. }
  6777. else
  6778. {
  6779. os__.writeSize(v__.Count);
  6780. foreach (_System.Collections.Generic.KeyValuePair<int, Murmur.User> e__ in v__)
  6781. {
  6782. os__.writeInt(e__.Key);
  6783. if (e__.Value == null)
  6784. {
  6785. Murmur.User tmp__ = new Murmur.User();
  6786. tmp__.write__(os__);
  6787. }
  6788. else
  6789. {
  6790. e__.Value.write__(os__);
  6791. }
  6792. }
  6793. }
  6794. }
  6795.  
  6796. public static _System.Collections.Generic.Dictionary<int, Murmur.User> read(IceInternal.BasicStream is__)
  6797. {
  6798. int sz__ = is__.readSize();
  6799. _System.Collections.Generic.Dictionary<int, Murmur.User> r__ = new _System.Collections.Generic.Dictionary<int, Murmur.User>();
  6800. for (int i__ = 0; i__ < sz__; ++i__)
  6801. {
  6802. int k__;
  6803. k__ = is__.readInt();
  6804. Murmur.User v__;
  6805. v__ = null;
  6806. if (v__ == null)
  6807. {
  6808. v__ = new Murmur.User();
  6809. }
  6810. v__.read__(is__);
  6811. r__[k__] = v__;
  6812. }
  6813. return r__;
  6814. }
  6815. }
  6816.  
  6817. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6818. public sealed class ChannelMapHelper
  6819. {
  6820. public static void write(IceInternal.BasicStream os__,
  6821. _System.Collections.Generic.Dictionary<int, Murmur.Channel> v__)
  6822. {
  6823. if (v__ == null)
  6824. {
  6825. os__.writeSize(0);
  6826. }
  6827. else
  6828. {
  6829. os__.writeSize(v__.Count);
  6830. foreach (_System.Collections.Generic.KeyValuePair<int, Murmur.Channel> e__ in v__)
  6831. {
  6832. os__.writeInt(e__.Key);
  6833. if (e__.Value == null)
  6834. {
  6835. Murmur.Channel tmp__ = new Murmur.Channel();
  6836. tmp__.write__(os__);
  6837. }
  6838. else
  6839. {
  6840. e__.Value.write__(os__);
  6841. }
  6842. }
  6843. }
  6844. }
  6845.  
  6846. public static _System.Collections.Generic.Dictionary<int, Murmur.Channel> read(IceInternal.BasicStream is__)
  6847. {
  6848. int sz__ = is__.readSize();
  6849. _System.Collections.Generic.Dictionary<int, Murmur.Channel> r__ = new _System.Collections.Generic.Dictionary<int, Murmur.Channel>();
  6850. for (int i__ = 0; i__ < sz__; ++i__)
  6851. {
  6852. int k__;
  6853. k__ = is__.readInt();
  6854. Murmur.Channel v__;
  6855. v__ = null;
  6856. if (v__ == null)
  6857. {
  6858. v__ = new Murmur.Channel();
  6859. }
  6860. v__.read__(is__);
  6861. r__[k__] = v__;
  6862. }
  6863. return r__;
  6864. }
  6865. }
  6866.  
  6867. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6868. public sealed class ChannelListHelper
  6869. {
  6870. public static void write(IceInternal.BasicStream os__, Murmur.Channel[] v__)
  6871. {
  6872. if (v__ == null)
  6873. {
  6874. os__.writeSize(0);
  6875. }
  6876. else
  6877. {
  6878. os__.writeSize(v__.Length);
  6879. for (int ix__ = 0; ix__ < v__.Length; ++ix__)
  6880. {
  6881. (v__[ix__] == null ? new Murmur.Channel() : v__[ix__]).write__(os__);
  6882. }
  6883. }
  6884. }
  6885.  
  6886. public static Murmur.Channel[] read(IceInternal.BasicStream is__)
  6887. {
  6888. Murmur.Channel[] v__;
  6889. {
  6890. int szx__ = is__.readAndCheckSeqSize(16);
  6891. v__ = new Murmur.Channel[szx__];
  6892. for (int ix__ = 0; ix__ < szx__; ++ix__)
  6893. {
  6894. v__[ix__] = new Murmur.Channel();
  6895. v__[ix__].read__(is__);
  6896. }
  6897. }
  6898. return v__;
  6899. }
  6900. }
  6901.  
  6902. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6903. public sealed class UserListHelper
  6904. {
  6905. public static void write(IceInternal.BasicStream os__, Murmur.User[] v__)
  6906. {
  6907. if (v__ == null)
  6908. {
  6909. os__.writeSize(0);
  6910. }
  6911. else
  6912. {
  6913. os__.writeSize(v__.Length);
  6914. for (int ix__ = 0; ix__ < v__.Length; ++ix__)
  6915. {
  6916. (v__[ix__] == null ? new Murmur.User() : v__[ix__]).write__(os__);
  6917. }
  6918. }
  6919. }
  6920.  
  6921. public static Murmur.User[] read(IceInternal.BasicStream is__)
  6922. {
  6923. Murmur.User[] v__;
  6924. {
  6925. int szx__ = is__.readAndCheckSeqSize(52);
  6926. v__ = new Murmur.User[szx__];
  6927. for (int ix__ = 0; ix__ < szx__; ++ix__)
  6928. {
  6929. v__[ix__] = new Murmur.User();
  6930. v__[ix__].read__(is__);
  6931. }
  6932. }
  6933. return v__;
  6934. }
  6935. }
  6936.  
  6937. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6938. public sealed class GroupListHelper
  6939. {
  6940. public static void write(IceInternal.BasicStream os__, Murmur.Group[] v__)
  6941. {
  6942. if (v__ == null)
  6943. {
  6944. os__.writeSize(0);
  6945. }
  6946. else
  6947. {
  6948. os__.writeSize(v__.Length);
  6949. for (int ix__ = 0; ix__ < v__.Length; ++ix__)
  6950. {
  6951. (v__[ix__] == null ? new Murmur.Group() : v__[ix__]).write__(os__);
  6952. }
  6953. }
  6954. }
  6955.  
  6956. public static Murmur.Group[] read(IceInternal.BasicStream is__)
  6957. {
  6958. Murmur.Group[] v__;
  6959. {
  6960. int szx__ = is__.readAndCheckSeqSize(7);
  6961. v__ = new Murmur.Group[szx__];
  6962. for (int ix__ = 0; ix__ < szx__; ++ix__)
  6963. {
  6964. v__[ix__] = new Murmur.Group();
  6965. v__[ix__].read__(is__);
  6966. }
  6967. }
  6968. return v__;
  6969. }
  6970. }
  6971.  
  6972. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  6973. public sealed class ACLListHelper
  6974. {
  6975. public static void write(IceInternal.BasicStream os__, Murmur.ACL[] v__)
  6976. {
  6977. if (v__ == null)
  6978. {
  6979. os__.writeSize(0);
  6980. }
  6981. else
  6982. {
  6983. os__.writeSize(v__.Length);
  6984. for (int ix__ = 0; ix__ < v__.Length; ++ix__)
  6985. {
  6986. (v__[ix__] == null ? new Murmur.ACL() : v__[ix__]).write__(os__);
  6987. }
  6988. }
  6989. }
  6990.  
  6991. public static Murmur.ACL[] read(IceInternal.BasicStream is__)
  6992. {
  6993. Murmur.ACL[] v__;
  6994. {
  6995. int szx__ = is__.readAndCheckSeqSize(16);
  6996. v__ = new Murmur.ACL[szx__];
  6997. for (int ix__ = 0; ix__ < szx__; ++ix__)
  6998. {
  6999. v__[ix__] = new Murmur.ACL();
  7000. v__[ix__].read__(is__);
  7001. }
  7002. }
  7003. return v__;
  7004. }
  7005. }
  7006.  
  7007. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7008. public sealed class LogListHelper
  7009. {
  7010. public static void write(IceInternal.BasicStream os__, Murmur.LogEntry[] v__)
  7011. {
  7012. if (v__ == null)
  7013. {
  7014. os__.writeSize(0);
  7015. }
  7016. else
  7017. {
  7018. os__.writeSize(v__.Length);
  7019. for (int ix__ = 0; ix__ < v__.Length; ++ix__)
  7020. {
  7021. (v__[ix__] == null ? new Murmur.LogEntry() : v__[ix__]).write__(os__);
  7022. }
  7023. }
  7024. }
  7025.  
  7026. public static Murmur.LogEntry[] read(IceInternal.BasicStream is__)
  7027. {
  7028. Murmur.LogEntry[] v__;
  7029. {
  7030. int szx__ = is__.readAndCheckSeqSize(5);
  7031. v__ = new Murmur.LogEntry[szx__];
  7032. for (int ix__ = 0; ix__ < szx__; ++ix__)
  7033. {
  7034. v__[ix__] = new Murmur.LogEntry();
  7035. v__[ix__].read__(is__);
  7036. }
  7037. }
  7038. return v__;
  7039. }
  7040. }
  7041.  
  7042. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7043. public sealed class BanListHelper
  7044. {
  7045. public static void write(IceInternal.BasicStream os__, Murmur.Ban[] v__)
  7046. {
  7047. if (v__ == null)
  7048. {
  7049. os__.writeSize(0);
  7050. }
  7051. else
  7052. {
  7053. os__.writeSize(v__.Length);
  7054. for (int ix__ = 0; ix__ < v__.Length; ++ix__)
  7055. {
  7056. (v__[ix__] == null ? new Murmur.Ban() : v__[ix__]).write__(os__);
  7057. }
  7058. }
  7059. }
  7060.  
  7061. public static Murmur.Ban[] read(IceInternal.BasicStream is__)
  7062. {
  7063. Murmur.Ban[] v__;
  7064. {
  7065. int szx__ = is__.readAndCheckSeqSize(16);
  7066. v__ = new Murmur.Ban[szx__];
  7067. for (int ix__ = 0; ix__ < szx__; ++ix__)
  7068. {
  7069. v__[ix__] = new Murmur.Ban();
  7070. v__[ix__].read__(is__);
  7071. }
  7072. }
  7073. return v__;
  7074. }
  7075. }
  7076.  
  7077. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7078. public sealed class IdListHelper
  7079. {
  7080. public static void write(IceInternal.BasicStream os__, int[] v__)
  7081. {
  7082. os__.writeIntSeq(v__);
  7083. }
  7084.  
  7085. public static int[] read(IceInternal.BasicStream is__)
  7086. {
  7087. int[] v__;
  7088. v__ = is__.readIntSeq();
  7089. return v__;
  7090. }
  7091. }
  7092.  
  7093. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7094. public sealed class NameListHelper
  7095. {
  7096. public static void write(IceInternal.BasicStream os__, string[] v__)
  7097. {
  7098. os__.writeStringSeq(v__);
  7099. }
  7100.  
  7101. public static string[] read(IceInternal.BasicStream is__)
  7102. {
  7103. string[] v__;
  7104. v__ = is__.readStringSeq();
  7105. return v__;
  7106. }
  7107. }
  7108.  
  7109. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7110. public sealed class NameMapHelper
  7111. {
  7112. public static void write(IceInternal.BasicStream os__,
  7113. _System.Collections.Generic.Dictionary<int, string> v__)
  7114. {
  7115. if (v__ == null)
  7116. {
  7117. os__.writeSize(0);
  7118. }
  7119. else
  7120. {
  7121. os__.writeSize(v__.Count);
  7122. foreach (_System.Collections.Generic.KeyValuePair<int, string> e__ in v__)
  7123. {
  7124. os__.writeInt(e__.Key);
  7125. os__.writeString(e__.Value);
  7126. }
  7127. }
  7128. }
  7129.  
  7130. public static _System.Collections.Generic.Dictionary<int, string> read(IceInternal.BasicStream is__)
  7131. {
  7132. int sz__ = is__.readSize();
  7133. _System.Collections.Generic.Dictionary<int, string> r__ = new _System.Collections.Generic.Dictionary<int, string>();
  7134. for (int i__ = 0; i__ < sz__; ++i__)
  7135. {
  7136. int k__;
  7137. k__ = is__.readInt();
  7138. string v__;
  7139. v__ = is__.readString();
  7140. r__[k__] = v__;
  7141. }
  7142. return r__;
  7143. }
  7144. }
  7145.  
  7146. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7147. public sealed class IdMapHelper
  7148. {
  7149. public static void write(IceInternal.BasicStream os__,
  7150. _System.Collections.Generic.Dictionary<string, int> v__)
  7151. {
  7152. if (v__ == null)
  7153. {
  7154. os__.writeSize(0);
  7155. }
  7156. else
  7157. {
  7158. os__.writeSize(v__.Count);
  7159. foreach (_System.Collections.Generic.KeyValuePair<string, int> e__ in v__)
  7160. {
  7161. os__.writeString(e__.Key);
  7162. os__.writeInt(e__.Value);
  7163. }
  7164. }
  7165. }
  7166.  
  7167. public static _System.Collections.Generic.Dictionary<string, int> read(IceInternal.BasicStream is__)
  7168. {
  7169. int sz__ = is__.readSize();
  7170. _System.Collections.Generic.Dictionary<string, int> r__ = new _System.Collections.Generic.Dictionary<string, int>();
  7171. for (int i__ = 0; i__ < sz__; ++i__)
  7172. {
  7173. string k__;
  7174. k__ = is__.readString();
  7175. int v__;
  7176. v__ = is__.readInt();
  7177. r__[k__] = v__;
  7178. }
  7179. return r__;
  7180. }
  7181. }
  7182.  
  7183. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7184. public sealed class TextureHelper
  7185. {
  7186. public static void write(IceInternal.BasicStream os__, byte[] v__)
  7187. {
  7188. os__.writeByteSeq(v__);
  7189. }
  7190.  
  7191. public static byte[] read(IceInternal.BasicStream is__)
  7192. {
  7193. byte[] v__;
  7194. v__ = is__.readByteSeq();
  7195. return v__;
  7196. }
  7197. }
  7198.  
  7199. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7200. public sealed class ConfigMapHelper
  7201. {
  7202. public static void write(IceInternal.BasicStream os__,
  7203. _System.Collections.Generic.Dictionary<string, string> v__)
  7204. {
  7205. if (v__ == null)
  7206. {
  7207. os__.writeSize(0);
  7208. }
  7209. else
  7210. {
  7211. os__.writeSize(v__.Count);
  7212. foreach (_System.Collections.Generic.KeyValuePair<string, string> e__ in v__)
  7213. {
  7214. os__.writeString(e__.Key);
  7215. os__.writeString(e__.Value);
  7216. }
  7217. }
  7218. }
  7219.  
  7220. public static _System.Collections.Generic.Dictionary<string, string> read(IceInternal.BasicStream is__)
  7221. {
  7222. int sz__ = is__.readSize();
  7223. _System.Collections.Generic.Dictionary<string, string> r__ = new _System.Collections.Generic.Dictionary<string, string>();
  7224. for (int i__ = 0; i__ < sz__; ++i__)
  7225. {
  7226. string k__;
  7227. k__ = is__.readString();
  7228. string v__;
  7229. v__ = is__.readString();
  7230. r__[k__] = v__;
  7231. }
  7232. return r__;
  7233. }
  7234. }
  7235.  
  7236. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7237. public sealed class GroupNameListHelper
  7238. {
  7239. public static void write(IceInternal.BasicStream os__, string[] v__)
  7240. {
  7241. os__.writeStringSeq(v__);
  7242. }
  7243.  
  7244. public static string[] read(IceInternal.BasicStream is__)
  7245. {
  7246. string[] v__;
  7247. v__ = is__.readStringSeq();
  7248. return v__;
  7249. }
  7250. }
  7251.  
  7252. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7253. public sealed class CertificateDerHelper
  7254. {
  7255. public static void write(IceInternal.BasicStream os__, byte[] v__)
  7256. {
  7257. os__.writeByteSeq(v__);
  7258. }
  7259.  
  7260. public static byte[] read(IceInternal.BasicStream is__)
  7261. {
  7262. byte[] v__;
  7263. v__ = is__.readByteSeq();
  7264. return v__;
  7265. }
  7266. }
  7267.  
  7268. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7269. public sealed class CertificateListHelper
  7270. {
  7271. public static void write(IceInternal.BasicStream os__, byte[][] v__)
  7272. {
  7273. if (v__ == null)
  7274. {
  7275. os__.writeSize(0);
  7276. }
  7277. else
  7278. {
  7279. os__.writeSize(v__.Length);
  7280. for (int ix__ = 0; ix__ < v__.Length; ++ix__)
  7281. {
  7282. Murmur.CertificateDerHelper.write(os__, v__[ix__]);
  7283. }
  7284. }
  7285. }
  7286.  
  7287. public static byte[][] read(IceInternal.BasicStream is__)
  7288. {
  7289. byte[][] v__;
  7290. {
  7291. int szx__ = is__.readAndCheckSeqSize(1);
  7292. v__ = new byte[szx__][];
  7293. for (int ix__ = 0; ix__ < szx__; ++ix__)
  7294. {
  7295. v__[ix__] = Murmur.CertificateDerHelper.read(is__);
  7296. }
  7297. }
  7298. return v__;
  7299. }
  7300. }
  7301.  
  7302. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7303. public sealed class UserInfoMapHelper
  7304. {
  7305. public static void write(IceInternal.BasicStream os__,
  7306. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> v__)
  7307. {
  7308. if (v__ == null)
  7309. {
  7310. os__.writeSize(0);
  7311. }
  7312. else
  7313. {
  7314. os__.writeSize(v__.Count);
  7315. foreach (_System.Collections.Generic.KeyValuePair<Murmur.UserInfo, string> e__ in v__)
  7316. {
  7317. os__.writeByte((byte)e__.Key, 6);
  7318. os__.writeString(e__.Value);
  7319. }
  7320. }
  7321. }
  7322.  
  7323. public static _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> read(IceInternal.BasicStream is__)
  7324. {
  7325. int sz__ = is__.readSize();
  7326. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> r__ = new _System.Collections.Generic.Dictionary<Murmur.UserInfo, string>();
  7327. for (int i__ = 0; i__ < sz__; ++i__)
  7328. {
  7329. Murmur.UserInfo k__;
  7330. k__ = (Murmur.UserInfo)is__.readByte(6);
  7331. string v__;
  7332. v__ = is__.readString();
  7333. r__[k__] = v__;
  7334. }
  7335. return r__;
  7336. }
  7337. }
  7338.  
  7339. /// <summary>
  7340. /// User and subchannel state.
  7341. /// Read-only.
  7342. /// </summary>
  7343.  
  7344. [_System.Runtime.InteropServices.ComVisible(false)]
  7345. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7346. public sealed class TreePrxHelper : Ice.ObjectPrxHelperBase, TreePrx
  7347. {
  7348. #region Asynchronous operations
  7349.  
  7350. #endregion
  7351.  
  7352. #region Checked and unchecked cast operations
  7353.  
  7354. public static TreePrx checkedCast(Ice.ObjectPrx b)
  7355. {
  7356. if (b == null)
  7357. {
  7358. return null;
  7359. }
  7360. TreePrx r = b as TreePrx;
  7361. if ((r == null) && b.ice_isA(ice_staticId()))
  7362. {
  7363. TreePrxHelper h = new TreePrxHelper();
  7364. h.copyFrom__(b);
  7365. r = h;
  7366. }
  7367. return r;
  7368. }
  7369.  
  7370. public static TreePrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
  7371. {
  7372. if (b == null)
  7373. {
  7374. return null;
  7375. }
  7376. TreePrx r = b as TreePrx;
  7377. if ((r == null) && b.ice_isA(ice_staticId(), ctx))
  7378. {
  7379. TreePrxHelper h = new TreePrxHelper();
  7380. h.copyFrom__(b);
  7381. r = h;
  7382. }
  7383. return r;
  7384. }
  7385.  
  7386. public static TreePrx checkedCast(Ice.ObjectPrx b, string f)
  7387. {
  7388. if (b == null)
  7389. {
  7390. return null;
  7391. }
  7392. Ice.ObjectPrx bb = b.ice_facet(f);
  7393. try
  7394. {
  7395. if (bb.ice_isA(ice_staticId()))
  7396. {
  7397. TreePrxHelper h = new TreePrxHelper();
  7398. h.copyFrom__(bb);
  7399. return h;
  7400. }
  7401. }
  7402. catch (Ice.FacetNotExistException)
  7403. {
  7404. }
  7405. return null;
  7406. }
  7407.  
  7408. public static TreePrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
  7409. {
  7410. if (b == null)
  7411. {
  7412. return null;
  7413. }
  7414. Ice.ObjectPrx bb = b.ice_facet(f);
  7415. try
  7416. {
  7417. if (bb.ice_isA(ice_staticId(), ctx))
  7418. {
  7419. TreePrxHelper h = new TreePrxHelper();
  7420. h.copyFrom__(bb);
  7421. return h;
  7422. }
  7423. }
  7424. catch (Ice.FacetNotExistException)
  7425. {
  7426. }
  7427. return null;
  7428. }
  7429.  
  7430. public static TreePrx uncheckedCast(Ice.ObjectPrx b)
  7431. {
  7432. if (b == null)
  7433. {
  7434. return null;
  7435. }
  7436. TreePrx r = b as TreePrx;
  7437. if (r == null)
  7438. {
  7439. TreePrxHelper h = new TreePrxHelper();
  7440. h.copyFrom__(b);
  7441. r = h;
  7442. }
  7443. return r;
  7444. }
  7445.  
  7446. public static TreePrx uncheckedCast(Ice.ObjectPrx b, string f)
  7447. {
  7448. if (b == null)
  7449. {
  7450. return null;
  7451. }
  7452. Ice.ObjectPrx bb = b.ice_facet(f);
  7453. TreePrxHelper h = new TreePrxHelper();
  7454. h.copyFrom__(bb);
  7455. return h;
  7456. }
  7457.  
  7458. public static readonly string[] ids__ =
  7459. {
  7460. "::Ice::Object",
  7461. "::Murmur::Tree"
  7462. };
  7463.  
  7464. public static string ice_staticId()
  7465. {
  7466. return ids__[1];
  7467. }
  7468.  
  7469. #endregion
  7470.  
  7471. #region Marshaling support
  7472.  
  7473. protected override Ice.ObjectDelM_ createDelegateM__()
  7474. {
  7475. return new TreeDelM_();
  7476. }
  7477.  
  7478. protected override Ice.ObjectDelD_ createDelegateD__()
  7479. {
  7480. return new TreeDelD_();
  7481. }
  7482.  
  7483. public static void write__(IceInternal.BasicStream os__, TreePrx v__)
  7484. {
  7485. os__.writeProxy(v__);
  7486. }
  7487.  
  7488. public static TreePrx read__(IceInternal.BasicStream is__)
  7489. {
  7490. Ice.ObjectPrx proxy = is__.readProxy();
  7491. if (proxy != null)
  7492. {
  7493. TreePrxHelper result = new TreePrxHelper();
  7494. result.copyFrom__(proxy);
  7495. return result;
  7496. }
  7497. return null;
  7498. }
  7499.  
  7500. #endregion
  7501. }
  7502.  
  7503. /// <summary>
  7504. /// Callback interface for servers.
  7505. /// You can supply an implementation of this to receive notification
  7506. /// messages from the server.
  7507. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  7508. /// Please note that all callbacks are done asynchronously; murmur does not wait for the callback to
  7509. /// complete before continuing processing.
  7510. /// Note that callbacks are removed when a server is stopped, so you should have a callback for
  7511. /// MetaCallback.started which calls Server.addCallback.
  7512. /// </summary>
  7513.  
  7514. [_System.Runtime.InteropServices.ComVisible(false)]
  7515. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  7516. public sealed class ServerCallbackPrxHelper : Ice.ObjectPrxHelperBase, ServerCallbackPrx
  7517. {
  7518. #region Synchronous operations
  7519.  
  7520. /// <summary>
  7521. /// Called when a new channel is created.
  7522. /// </summary>
  7523. /// <param name="state">State of new channel.</param>
  7524.  
  7525. public void channelCreated(Murmur.Channel state)
  7526. {
  7527. channelCreated(state, null, false);
  7528. }
  7529.  
  7530. /// <summary>
  7531. /// Called when a new channel is created.
  7532. /// </summary>
  7533. /// <param name="state">State of new channel.</param>
  7534. /// <param name="context__">The Context map to send with the invocation.</param>
  7535.  
  7536. public void channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  7537. {
  7538. channelCreated(state, context__, true);
  7539. }
  7540.  
  7541. private void channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  7542. {
  7543. if (explicitContext__ && context__ == null)
  7544. {
  7545. context__ = emptyContext_;
  7546. }
  7547. int cnt__ = 0;
  7548. while (true)
  7549. {
  7550. Ice.ObjectDel_ delBase__ = null;
  7551. try
  7552. {
  7553. delBase__ = getDelegate__(false);
  7554. ServerCallbackDel_ del__ = (ServerCallbackDel_)delBase__;
  7555. del__.channelCreated(state, context__);
  7556. return;
  7557. }
  7558. catch (IceInternal.LocalExceptionWrapper ex__)
  7559. {
  7560. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  7561. }
  7562. catch (Ice.LocalException ex__)
  7563. {
  7564. handleException__(delBase__, ex__, true, ref cnt__);
  7565. }
  7566. }
  7567. }
  7568.  
  7569. /// <summary>
  7570. /// Called when a channel is removed.
  7571. /// The channel has already been removed, you can no longer use methods like Server.getChannelState
  7572. /// </summary>
  7573. /// <param name="state">State of removed channel.</param>
  7574.  
  7575. public void channelRemoved(Murmur.Channel state)
  7576. {
  7577. channelRemoved(state, null, false);
  7578. }
  7579.  
  7580. /// <summary>
  7581. /// Called when a channel is removed.
  7582. /// The channel has already been removed, you can no longer use methods like Server.getChannelState
  7583. /// </summary>
  7584. /// <param name="state">State of removed channel.</param>
  7585. /// <param name="context__">The Context map to send with the invocation.</param>
  7586.  
  7587. public void channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  7588. {
  7589. channelRemoved(state, context__, true);
  7590. }
  7591.  
  7592. private void channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  7593. {
  7594. if (explicitContext__ && context__ == null)
  7595. {
  7596. context__ = emptyContext_;
  7597. }
  7598. int cnt__ = 0;
  7599. while (true)
  7600. {
  7601. Ice.ObjectDel_ delBase__ = null;
  7602. try
  7603. {
  7604. delBase__ = getDelegate__(false);
  7605. ServerCallbackDel_ del__ = (ServerCallbackDel_)delBase__;
  7606. del__.channelRemoved(state, context__);
  7607. return;
  7608. }
  7609. catch (IceInternal.LocalExceptionWrapper ex__)
  7610. {
  7611. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  7612. }
  7613. catch (Ice.LocalException ex__)
  7614. {
  7615. handleException__(delBase__, ex__, true, ref cnt__);
  7616. }
  7617. }
  7618. }
  7619.  
  7620. /// <summary>
  7621. /// Called when a new channel state changes.
  7622. /// This is called if the channel is moved, renamed or if new links are added.
  7623. /// </summary>
  7624. /// <param name="state">New state of channel.</param>
  7625.  
  7626. public void channelStateChanged(Murmur.Channel state)
  7627. {
  7628. channelStateChanged(state, null, false);
  7629. }
  7630.  
  7631. /// <summary>
  7632. /// Called when a new channel state changes.
  7633. /// This is called if the channel is moved, renamed or if new links are added.
  7634. /// </summary>
  7635. /// <param name="state">New state of channel.</param>
  7636. /// <param name="context__">The Context map to send with the invocation.</param>
  7637.  
  7638. public void channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  7639. {
  7640. channelStateChanged(state, context__, true);
  7641. }
  7642.  
  7643. private void channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  7644. {
  7645. if (explicitContext__ && context__ == null)
  7646. {
  7647. context__ = emptyContext_;
  7648. }
  7649. int cnt__ = 0;
  7650. while (true)
  7651. {
  7652. Ice.ObjectDel_ delBase__ = null;
  7653. try
  7654. {
  7655. delBase__ = getDelegate__(false);
  7656. ServerCallbackDel_ del__ = (ServerCallbackDel_)delBase__;
  7657. del__.channelStateChanged(state, context__);
  7658. return;
  7659. }
  7660. catch (IceInternal.LocalExceptionWrapper ex__)
  7661. {
  7662. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  7663. }
  7664. catch (Ice.LocalException ex__)
  7665. {
  7666. handleException__(delBase__, ex__, true, ref cnt__);
  7667. }
  7668. }
  7669. }
  7670.  
  7671. /// <summary>
  7672. /// Called when a user connects to the server.
  7673. /// </summary>
  7674. /// <param name="state">State of connected user.</param>
  7675.  
  7676. public void userConnected(Murmur.User state)
  7677. {
  7678. userConnected(state, null, false);
  7679. }
  7680.  
  7681. /// <summary>
  7682. /// Called when a user connects to the server.
  7683. /// </summary>
  7684. /// <param name="state">State of connected user.</param>
  7685. /// <param name="context__">The Context map to send with the invocation.</param>
  7686.  
  7687. public void userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  7688. {
  7689. userConnected(state, context__, true);
  7690. }
  7691.  
  7692. private void userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  7693. {
  7694. if (explicitContext__ && context__ == null)
  7695. {
  7696. context__ = emptyContext_;
  7697. }
  7698. int cnt__ = 0;
  7699. while (true)
  7700. {
  7701. Ice.ObjectDel_ delBase__ = null;
  7702. try
  7703. {
  7704. delBase__ = getDelegate__(false);
  7705. ServerCallbackDel_ del__ = (ServerCallbackDel_)delBase__;
  7706. del__.userConnected(state, context__);
  7707. return;
  7708. }
  7709. catch (IceInternal.LocalExceptionWrapper ex__)
  7710. {
  7711. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  7712. }
  7713. catch (Ice.LocalException ex__)
  7714. {
  7715. handleException__(delBase__, ex__, true, ref cnt__);
  7716. }
  7717. }
  7718. }
  7719.  
  7720. /// <summary>
  7721. /// Called when a user disconnects from the server.
  7722. /// The user has already been removed, so you can no longer use methods like Server.getState
  7723. /// to retrieve the user's state.
  7724. /// </summary>
  7725. /// <param name="state">State of disconnected user.</param>
  7726.  
  7727. public void userDisconnected(Murmur.User state)
  7728. {
  7729. userDisconnected(state, null, false);
  7730. }
  7731.  
  7732. /// <summary>
  7733. /// Called when a user disconnects from the server.
  7734. /// The user has already been removed, so you can no longer use methods like Server.getState
  7735. /// to retrieve the user's state.
  7736. /// </summary>
  7737. /// <param name="state">State of disconnected user.</param>
  7738. /// <param name="context__">The Context map to send with the invocation.</param>
  7739.  
  7740. public void userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  7741. {
  7742. userDisconnected(state, context__, true);
  7743. }
  7744.  
  7745. private void userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  7746. {
  7747. if (explicitContext__ && context__ == null)
  7748. {
  7749. context__ = emptyContext_;
  7750. }
  7751. int cnt__ = 0;
  7752. while (true)
  7753. {
  7754. Ice.ObjectDel_ delBase__ = null;
  7755. try
  7756. {
  7757. delBase__ = getDelegate__(false);
  7758. ServerCallbackDel_ del__ = (ServerCallbackDel_)delBase__;
  7759. del__.userDisconnected(state, context__);
  7760. return;
  7761. }
  7762. catch (IceInternal.LocalExceptionWrapper ex__)
  7763. {
  7764. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  7765. }
  7766. catch (Ice.LocalException ex__)
  7767. {
  7768. handleException__(delBase__, ex__, true, ref cnt__);
  7769. }
  7770. }
  7771. }
  7772.  
  7773. /// <summary>
  7774. /// Called when a user state changes.
  7775. /// This is called if the user moves, is renamed, is muted, deafened etc.
  7776. /// </summary>
  7777. /// <param name="state">New state of user.</param>
  7778.  
  7779. public void userStateChanged(Murmur.User state)
  7780. {
  7781. userStateChanged(state, null, false);
  7782. }
  7783.  
  7784. /// <summary>
  7785. /// Called when a user state changes.
  7786. /// This is called if the user moves, is renamed, is muted, deafened etc.
  7787. /// </summary>
  7788. /// <param name="state">New state of user.</param>
  7789. /// <param name="context__">The Context map to send with the invocation.</param>
  7790.  
  7791. public void userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  7792. {
  7793. userStateChanged(state, context__, true);
  7794. }
  7795.  
  7796. private void userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  7797. {
  7798. if (explicitContext__ && context__ == null)
  7799. {
  7800. context__ = emptyContext_;
  7801. }
  7802. int cnt__ = 0;
  7803. while (true)
  7804. {
  7805. Ice.ObjectDel_ delBase__ = null;
  7806. try
  7807. {
  7808. delBase__ = getDelegate__(false);
  7809. ServerCallbackDel_ del__ = (ServerCallbackDel_)delBase__;
  7810. del__.userStateChanged(state, context__);
  7811. return;
  7812. }
  7813. catch (IceInternal.LocalExceptionWrapper ex__)
  7814. {
  7815. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  7816. }
  7817. catch (Ice.LocalException ex__)
  7818. {
  7819. handleException__(delBase__, ex__, true, ref cnt__);
  7820. }
  7821. }
  7822. }
  7823.  
  7824. /// <summary>
  7825. /// Called when user writes a text message
  7826. /// <param name="state">the User sending the message
  7827. /// </param>
  7828. /// <param name="message">the TextMessage the user has sent
  7829. /// </param>
  7830. /// </summary>
  7831.  
  7832. public void userTextMessage(Murmur.User state, Murmur.TextMessage message)
  7833. {
  7834. userTextMessage(state, message, null, false);
  7835. }
  7836.  
  7837. /// <summary>
  7838. /// Called when user writes a text message
  7839. /// <param name="state">the User sending the message
  7840. /// </param>
  7841. /// <param name="message">the TextMessage the user has sent
  7842. /// </param>
  7843. /// </summary>
  7844. /// <param name="context__">The Context map to send with the invocation.</param>
  7845.  
  7846. public void userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> context__)
  7847. {
  7848. userTextMessage(state, message, context__, true);
  7849. }
  7850.  
  7851. private void userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  7852. {
  7853. if (explicitContext__ && context__ == null)
  7854. {
  7855. context__ = emptyContext_;
  7856. }
  7857. int cnt__ = 0;
  7858. while (true)
  7859. {
  7860. Ice.ObjectDel_ delBase__ = null;
  7861. try
  7862. {
  7863. delBase__ = getDelegate__(false);
  7864. ServerCallbackDel_ del__ = (ServerCallbackDel_)delBase__;
  7865. del__.userTextMessage(state, message, context__);
  7866. return;
  7867. }
  7868. catch (IceInternal.LocalExceptionWrapper ex__)
  7869. {
  7870. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  7871. }
  7872. catch (Ice.LocalException ex__)
  7873. {
  7874. handleException__(delBase__, ex__, true, ref cnt__);
  7875. }
  7876. }
  7877. }
  7878.  
  7879. #endregion
  7880.  
  7881. #region Asynchronous operations
  7882.  
  7883. public Ice.AsyncResult<Murmur.Callback_ServerCallback_channelCreated> begin_channelCreated(Murmur.Channel state)
  7884. {
  7885. return begin_channelCreated(state, null, false, null, null);
  7886. }
  7887.  
  7888. /// <summary>
  7889. /// Called when a new channel is created.
  7890. /// </summary>
  7891. /// <param name="state">State of new channel.</param>
  7892. /// <param name="ctx__">The Context map to send with the invocation.</param>
  7893. public Ice.AsyncResult<Murmur.Callback_ServerCallback_channelCreated> begin_channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__)
  7894. {
  7895. return begin_channelCreated(state, ctx__, true, null, null);
  7896. }
  7897.  
  7898. public Ice.AsyncResult begin_channelCreated(Murmur.Channel state, Ice.AsyncCallback cb__, object cookie__)
  7899. {
  7900. return begin_channelCreated(state, null, false, cb__, cookie__);
  7901. }
  7902.  
  7903. public Ice.AsyncResult begin_channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  7904. {
  7905. return begin_channelCreated(state, ctx__, true, cb__, cookie__);
  7906. }
  7907.  
  7908. private const string __channelCreated_name = "channelCreated";
  7909.  
  7910. public void end_channelCreated(Ice.AsyncResult r__)
  7911. {
  7912. end__(r__, __channelCreated_name);
  7913. }
  7914.  
  7915. private Ice.AsyncResult<Murmur.Callback_ServerCallback_channelCreated> begin_channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  7916. {
  7917. IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_channelCreated> result__ = new IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_channelCreated>(this, __channelCreated_name, channelCreated_completed__, cookie__);
  7918. if (cb__ != null)
  7919. {
  7920. result__.whenCompletedWithAsyncCallback(cb__);
  7921. }
  7922. try
  7923. {
  7924. result__.prepare__(__channelCreated_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  7925. IceInternal.BasicStream os__ = result__.ostr__;
  7926. if (state == null)
  7927. {
  7928. Murmur.Channel tmp__ = new Murmur.Channel();
  7929. tmp__.write__(os__);
  7930. }
  7931. else
  7932. {
  7933. state.write__(os__);
  7934. }
  7935. os__.endWriteEncaps();
  7936. result__.send__(true);
  7937. }
  7938. catch (Ice.LocalException ex__)
  7939. {
  7940. result__.exceptionAsync__(ex__);
  7941. }
  7942. return result__;
  7943. }
  7944.  
  7945. private void channelCreated_completed__(Murmur.Callback_ServerCallback_channelCreated cb__)
  7946. {
  7947. if (cb__ != null)
  7948. {
  7949. cb__();
  7950. }
  7951. }
  7952.  
  7953. public Ice.AsyncResult<Murmur.Callback_ServerCallback_channelRemoved> begin_channelRemoved(Murmur.Channel state)
  7954. {
  7955. return begin_channelRemoved(state, null, false, null, null);
  7956. }
  7957.  
  7958. /// <summary>
  7959. /// Called when a channel is removed.
  7960. /// The channel has already been removed, you can no longer use methods like Server.getChannelState
  7961. /// </summary>
  7962. /// <param name="state">State of removed channel.</param>
  7963. /// <param name="ctx__">The Context map to send with the invocation.</param>
  7964. public Ice.AsyncResult<Murmur.Callback_ServerCallback_channelRemoved> begin_channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__)
  7965. {
  7966. return begin_channelRemoved(state, ctx__, true, null, null);
  7967. }
  7968.  
  7969. public Ice.AsyncResult begin_channelRemoved(Murmur.Channel state, Ice.AsyncCallback cb__, object cookie__)
  7970. {
  7971. return begin_channelRemoved(state, null, false, cb__, cookie__);
  7972. }
  7973.  
  7974. public Ice.AsyncResult begin_channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  7975. {
  7976. return begin_channelRemoved(state, ctx__, true, cb__, cookie__);
  7977. }
  7978.  
  7979. private const string __channelRemoved_name = "channelRemoved";
  7980.  
  7981. public void end_channelRemoved(Ice.AsyncResult r__)
  7982. {
  7983. end__(r__, __channelRemoved_name);
  7984. }
  7985.  
  7986. private Ice.AsyncResult<Murmur.Callback_ServerCallback_channelRemoved> begin_channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  7987. {
  7988. IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_channelRemoved> result__ = new IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_channelRemoved>(this, __channelRemoved_name, channelRemoved_completed__, cookie__);
  7989. if (cb__ != null)
  7990. {
  7991. result__.whenCompletedWithAsyncCallback(cb__);
  7992. }
  7993. try
  7994. {
  7995. result__.prepare__(__channelRemoved_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  7996. IceInternal.BasicStream os__ = result__.ostr__;
  7997. if (state == null)
  7998. {
  7999. Murmur.Channel tmp__ = new Murmur.Channel();
  8000. tmp__.write__(os__);
  8001. }
  8002. else
  8003. {
  8004. state.write__(os__);
  8005. }
  8006. os__.endWriteEncaps();
  8007. result__.send__(true);
  8008. }
  8009. catch (Ice.LocalException ex__)
  8010. {
  8011. result__.exceptionAsync__(ex__);
  8012. }
  8013. return result__;
  8014. }
  8015.  
  8016. private void channelRemoved_completed__(Murmur.Callback_ServerCallback_channelRemoved cb__)
  8017. {
  8018. if (cb__ != null)
  8019. {
  8020. cb__();
  8021. }
  8022. }
  8023.  
  8024. public Ice.AsyncResult<Murmur.Callback_ServerCallback_channelStateChanged> begin_channelStateChanged(Murmur.Channel state)
  8025. {
  8026. return begin_channelStateChanged(state, null, false, null, null);
  8027. }
  8028.  
  8029. /// <summary>
  8030. /// Called when a new channel state changes.
  8031. /// This is called if the channel is moved, renamed or if new links are added.
  8032. /// </summary>
  8033. /// <param name="state">New state of channel.</param>
  8034. /// <param name="ctx__">The Context map to send with the invocation.</param>
  8035. public Ice.AsyncResult<Murmur.Callback_ServerCallback_channelStateChanged> begin_channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__)
  8036. {
  8037. return begin_channelStateChanged(state, ctx__, true, null, null);
  8038. }
  8039.  
  8040. public Ice.AsyncResult begin_channelStateChanged(Murmur.Channel state, Ice.AsyncCallback cb__, object cookie__)
  8041. {
  8042. return begin_channelStateChanged(state, null, false, cb__, cookie__);
  8043. }
  8044.  
  8045. public Ice.AsyncResult begin_channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  8046. {
  8047. return begin_channelStateChanged(state, ctx__, true, cb__, cookie__);
  8048. }
  8049.  
  8050. private const string __channelStateChanged_name = "channelStateChanged";
  8051.  
  8052. public void end_channelStateChanged(Ice.AsyncResult r__)
  8053. {
  8054. end__(r__, __channelStateChanged_name);
  8055. }
  8056.  
  8057. private Ice.AsyncResult<Murmur.Callback_ServerCallback_channelStateChanged> begin_channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  8058. {
  8059. IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_channelStateChanged> result__ = new IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_channelStateChanged>(this, __channelStateChanged_name, channelStateChanged_completed__, cookie__);
  8060. if (cb__ != null)
  8061. {
  8062. result__.whenCompletedWithAsyncCallback(cb__);
  8063. }
  8064. try
  8065. {
  8066. result__.prepare__(__channelStateChanged_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  8067. IceInternal.BasicStream os__ = result__.ostr__;
  8068. if (state == null)
  8069. {
  8070. Murmur.Channel tmp__ = new Murmur.Channel();
  8071. tmp__.write__(os__);
  8072. }
  8073. else
  8074. {
  8075. state.write__(os__);
  8076. }
  8077. os__.endWriteEncaps();
  8078. result__.send__(true);
  8079. }
  8080. catch (Ice.LocalException ex__)
  8081. {
  8082. result__.exceptionAsync__(ex__);
  8083. }
  8084. return result__;
  8085. }
  8086.  
  8087. private void channelStateChanged_completed__(Murmur.Callback_ServerCallback_channelStateChanged cb__)
  8088. {
  8089. if (cb__ != null)
  8090. {
  8091. cb__();
  8092. }
  8093. }
  8094.  
  8095. public Ice.AsyncResult<Murmur.Callback_ServerCallback_userConnected> begin_userConnected(Murmur.User state)
  8096. {
  8097. return begin_userConnected(state, null, false, null, null);
  8098. }
  8099.  
  8100. /// <summary>
  8101. /// Called when a user connects to the server.
  8102. /// </summary>
  8103. /// <param name="state">State of connected user.</param>
  8104. /// <param name="ctx__">The Context map to send with the invocation.</param>
  8105. public Ice.AsyncResult<Murmur.Callback_ServerCallback_userConnected> begin_userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__)
  8106. {
  8107. return begin_userConnected(state, ctx__, true, null, null);
  8108. }
  8109.  
  8110. public Ice.AsyncResult begin_userConnected(Murmur.User state, Ice.AsyncCallback cb__, object cookie__)
  8111. {
  8112. return begin_userConnected(state, null, false, cb__, cookie__);
  8113. }
  8114.  
  8115. public Ice.AsyncResult begin_userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  8116. {
  8117. return begin_userConnected(state, ctx__, true, cb__, cookie__);
  8118. }
  8119.  
  8120. private const string __userConnected_name = "userConnected";
  8121.  
  8122. public void end_userConnected(Ice.AsyncResult r__)
  8123. {
  8124. end__(r__, __userConnected_name);
  8125. }
  8126.  
  8127. private Ice.AsyncResult<Murmur.Callback_ServerCallback_userConnected> begin_userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  8128. {
  8129. IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_userConnected> result__ = new IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_userConnected>(this, __userConnected_name, userConnected_completed__, cookie__);
  8130. if (cb__ != null)
  8131. {
  8132. result__.whenCompletedWithAsyncCallback(cb__);
  8133. }
  8134. try
  8135. {
  8136. result__.prepare__(__userConnected_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  8137. IceInternal.BasicStream os__ = result__.ostr__;
  8138. if (state == null)
  8139. {
  8140. Murmur.User tmp__ = new Murmur.User();
  8141. tmp__.write__(os__);
  8142. }
  8143. else
  8144. {
  8145. state.write__(os__);
  8146. }
  8147. os__.endWriteEncaps();
  8148. result__.send__(true);
  8149. }
  8150. catch (Ice.LocalException ex__)
  8151. {
  8152. result__.exceptionAsync__(ex__);
  8153. }
  8154. return result__;
  8155. }
  8156.  
  8157. private void userConnected_completed__(Murmur.Callback_ServerCallback_userConnected cb__)
  8158. {
  8159. if (cb__ != null)
  8160. {
  8161. cb__();
  8162. }
  8163. }
  8164.  
  8165. public Ice.AsyncResult<Murmur.Callback_ServerCallback_userDisconnected> begin_userDisconnected(Murmur.User state)
  8166. {
  8167. return begin_userDisconnected(state, null, false, null, null);
  8168. }
  8169.  
  8170. /// <summary>
  8171. /// Called when a user disconnects from the server.
  8172. /// The user has already been removed, so you can no longer use methods like Server.getState
  8173. /// </summary>
  8174. /// <param name="state">State of disconnected user.</param>
  8175. /// <param name="ctx__">The Context map to send with the invocation.</param>
  8176. public Ice.AsyncResult<Murmur.Callback_ServerCallback_userDisconnected> begin_userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__)
  8177. {
  8178. return begin_userDisconnected(state, ctx__, true, null, null);
  8179. }
  8180.  
  8181. public Ice.AsyncResult begin_userDisconnected(Murmur.User state, Ice.AsyncCallback cb__, object cookie__)
  8182. {
  8183. return begin_userDisconnected(state, null, false, cb__, cookie__);
  8184. }
  8185.  
  8186. public Ice.AsyncResult begin_userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  8187. {
  8188. return begin_userDisconnected(state, ctx__, true, cb__, cookie__);
  8189. }
  8190.  
  8191. private const string __userDisconnected_name = "userDisconnected";
  8192.  
  8193. public void end_userDisconnected(Ice.AsyncResult r__)
  8194. {
  8195. end__(r__, __userDisconnected_name);
  8196. }
  8197.  
  8198. private Ice.AsyncResult<Murmur.Callback_ServerCallback_userDisconnected> begin_userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  8199. {
  8200. IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_userDisconnected> result__ = new IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_userDisconnected>(this, __userDisconnected_name, userDisconnected_completed__, cookie__);
  8201. if (cb__ != null)
  8202. {
  8203. result__.whenCompletedWithAsyncCallback(cb__);
  8204. }
  8205. try
  8206. {
  8207. result__.prepare__(__userDisconnected_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  8208. IceInternal.BasicStream os__ = result__.ostr__;
  8209. if (state == null)
  8210. {
  8211. Murmur.User tmp__ = new Murmur.User();
  8212. tmp__.write__(os__);
  8213. }
  8214. else
  8215. {
  8216. state.write__(os__);
  8217. }
  8218. os__.endWriteEncaps();
  8219. result__.send__(true);
  8220. }
  8221. catch (Ice.LocalException ex__)
  8222. {
  8223. result__.exceptionAsync__(ex__);
  8224. }
  8225. return result__;
  8226. }
  8227.  
  8228. private void userDisconnected_completed__(Murmur.Callback_ServerCallback_userDisconnected cb__)
  8229. {
  8230. if (cb__ != null)
  8231. {
  8232. cb__();
  8233. }
  8234. }
  8235.  
  8236. public Ice.AsyncResult<Murmur.Callback_ServerCallback_userStateChanged> begin_userStateChanged(Murmur.User state)
  8237. {
  8238. return begin_userStateChanged(state, null, false, null, null);
  8239. }
  8240.  
  8241. /// <summary>
  8242. /// Called when a user state changes.
  8243. /// This is called if the user moves, is renamed, is muted, deafened etc.
  8244. /// </summary>
  8245. /// <param name="state">New state of user.</param>
  8246. /// <param name="ctx__">The Context map to send with the invocation.</param>
  8247. public Ice.AsyncResult<Murmur.Callback_ServerCallback_userStateChanged> begin_userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__)
  8248. {
  8249. return begin_userStateChanged(state, ctx__, true, null, null);
  8250. }
  8251.  
  8252. public Ice.AsyncResult begin_userStateChanged(Murmur.User state, Ice.AsyncCallback cb__, object cookie__)
  8253. {
  8254. return begin_userStateChanged(state, null, false, cb__, cookie__);
  8255. }
  8256.  
  8257. public Ice.AsyncResult begin_userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  8258. {
  8259. return begin_userStateChanged(state, ctx__, true, cb__, cookie__);
  8260. }
  8261.  
  8262. private const string __userStateChanged_name = "userStateChanged";
  8263.  
  8264. public void end_userStateChanged(Ice.AsyncResult r__)
  8265. {
  8266. end__(r__, __userStateChanged_name);
  8267. }
  8268.  
  8269. private Ice.AsyncResult<Murmur.Callback_ServerCallback_userStateChanged> begin_userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  8270. {
  8271. IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_userStateChanged> result__ = new IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_userStateChanged>(this, __userStateChanged_name, userStateChanged_completed__, cookie__);
  8272. if (cb__ != null)
  8273. {
  8274. result__.whenCompletedWithAsyncCallback(cb__);
  8275. }
  8276. try
  8277. {
  8278. result__.prepare__(__userStateChanged_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  8279. IceInternal.BasicStream os__ = result__.ostr__;
  8280. if (state == null)
  8281. {
  8282. Murmur.User tmp__ = new Murmur.User();
  8283. tmp__.write__(os__);
  8284. }
  8285. else
  8286. {
  8287. state.write__(os__);
  8288. }
  8289. os__.endWriteEncaps();
  8290. result__.send__(true);
  8291. }
  8292. catch (Ice.LocalException ex__)
  8293. {
  8294. result__.exceptionAsync__(ex__);
  8295. }
  8296. return result__;
  8297. }
  8298.  
  8299. private void userStateChanged_completed__(Murmur.Callback_ServerCallback_userStateChanged cb__)
  8300. {
  8301. if (cb__ != null)
  8302. {
  8303. cb__();
  8304. }
  8305. }
  8306.  
  8307. public Ice.AsyncResult<Murmur.Callback_ServerCallback_userTextMessage> begin_userTextMessage(Murmur.User state, Murmur.TextMessage message)
  8308. {
  8309. return begin_userTextMessage(state, message, null, false, null, null);
  8310. }
  8311.  
  8312. /// <summary>
  8313. /// Called when user writes a text message
  8314. /// <param name="state">the User sending the message
  8315. /// </param>
  8316. /// <param name="message">the TextMessage the user has sent
  8317. /// </param>
  8318. /// </summary>
  8319. /// <param name="ctx__">The Context map to send with the invocation.</param>
  8320. public Ice.AsyncResult<Murmur.Callback_ServerCallback_userTextMessage> begin_userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> ctx__)
  8321. {
  8322. return begin_userTextMessage(state, message, ctx__, true, null, null);
  8323. }
  8324.  
  8325. public Ice.AsyncResult begin_userTextMessage(Murmur.User state, Murmur.TextMessage message, Ice.AsyncCallback cb__, object cookie__)
  8326. {
  8327. return begin_userTextMessage(state, message, null, false, cb__, cookie__);
  8328. }
  8329.  
  8330. public Ice.AsyncResult begin_userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  8331. {
  8332. return begin_userTextMessage(state, message, ctx__, true, cb__, cookie__);
  8333. }
  8334.  
  8335. private const string __userTextMessage_name = "userTextMessage";
  8336.  
  8337. public void end_userTextMessage(Ice.AsyncResult r__)
  8338. {
  8339. end__(r__, __userTextMessage_name);
  8340. }
  8341.  
  8342. private Ice.AsyncResult<Murmur.Callback_ServerCallback_userTextMessage> begin_userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  8343. {
  8344. IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_userTextMessage> result__ = new IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerCallback_userTextMessage>(this, __userTextMessage_name, userTextMessage_completed__, cookie__);
  8345. if (cb__ != null)
  8346. {
  8347. result__.whenCompletedWithAsyncCallback(cb__);
  8348. }
  8349. try
  8350. {
  8351. result__.prepare__(__userTextMessage_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  8352. IceInternal.BasicStream os__ = result__.ostr__;
  8353. if (state == null)
  8354. {
  8355. Murmur.User tmp__ = new Murmur.User();
  8356. tmp__.write__(os__);
  8357. }
  8358. else
  8359. {
  8360. state.write__(os__);
  8361. }
  8362. if (message == null)
  8363. {
  8364. Murmur.TextMessage tmp__ = new Murmur.TextMessage();
  8365. tmp__.write__(os__);
  8366. }
  8367. else
  8368. {
  8369. message.write__(os__);
  8370. }
  8371. os__.endWriteEncaps();
  8372. result__.send__(true);
  8373. }
  8374. catch (Ice.LocalException ex__)
  8375. {
  8376. result__.exceptionAsync__(ex__);
  8377. }
  8378. return result__;
  8379. }
  8380.  
  8381. private void userTextMessage_completed__(Murmur.Callback_ServerCallback_userTextMessage cb__)
  8382. {
  8383. if (cb__ != null)
  8384. {
  8385. cb__();
  8386. }
  8387. }
  8388.  
  8389. #endregion
  8390.  
  8391. #region Checked and unchecked cast operations
  8392.  
  8393. public static ServerCallbackPrx checkedCast(Ice.ObjectPrx b)
  8394. {
  8395. if (b == null)
  8396. {
  8397. return null;
  8398. }
  8399. ServerCallbackPrx r = b as ServerCallbackPrx;
  8400. if ((r == null) && b.ice_isA(ice_staticId()))
  8401. {
  8402. ServerCallbackPrxHelper h = new ServerCallbackPrxHelper();
  8403. h.copyFrom__(b);
  8404. r = h;
  8405. }
  8406. return r;
  8407. }
  8408.  
  8409. public static ServerCallbackPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
  8410. {
  8411. if (b == null)
  8412. {
  8413. return null;
  8414. }
  8415. ServerCallbackPrx r = b as ServerCallbackPrx;
  8416. if ((r == null) && b.ice_isA(ice_staticId(), ctx))
  8417. {
  8418. ServerCallbackPrxHelper h = new ServerCallbackPrxHelper();
  8419. h.copyFrom__(b);
  8420. r = h;
  8421. }
  8422. return r;
  8423. }
  8424.  
  8425. public static ServerCallbackPrx checkedCast(Ice.ObjectPrx b, string f)
  8426. {
  8427. if (b == null)
  8428. {
  8429. return null;
  8430. }
  8431. Ice.ObjectPrx bb = b.ice_facet(f);
  8432. try
  8433. {
  8434. if (bb.ice_isA(ice_staticId()))
  8435. {
  8436. ServerCallbackPrxHelper h = new ServerCallbackPrxHelper();
  8437. h.copyFrom__(bb);
  8438. return h;
  8439. }
  8440. }
  8441. catch (Ice.FacetNotExistException)
  8442. {
  8443. }
  8444. return null;
  8445. }
  8446.  
  8447. public static ServerCallbackPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
  8448. {
  8449. if (b == null)
  8450. {
  8451. return null;
  8452. }
  8453. Ice.ObjectPrx bb = b.ice_facet(f);
  8454. try
  8455. {
  8456. if (bb.ice_isA(ice_staticId(), ctx))
  8457. {
  8458. ServerCallbackPrxHelper h = new ServerCallbackPrxHelper();
  8459. h.copyFrom__(bb);
  8460. return h;
  8461. }
  8462. }
  8463. catch (Ice.FacetNotExistException)
  8464. {
  8465. }
  8466. return null;
  8467. }
  8468.  
  8469. public static ServerCallbackPrx uncheckedCast(Ice.ObjectPrx b)
  8470. {
  8471. if (b == null)
  8472. {
  8473. return null;
  8474. }
  8475. ServerCallbackPrx r = b as ServerCallbackPrx;
  8476. if (r == null)
  8477. {
  8478. ServerCallbackPrxHelper h = new ServerCallbackPrxHelper();
  8479. h.copyFrom__(b);
  8480. r = h;
  8481. }
  8482. return r;
  8483. }
  8484.  
  8485. public static ServerCallbackPrx uncheckedCast(Ice.ObjectPrx b, string f)
  8486. {
  8487. if (b == null)
  8488. {
  8489. return null;
  8490. }
  8491. Ice.ObjectPrx bb = b.ice_facet(f);
  8492. ServerCallbackPrxHelper h = new ServerCallbackPrxHelper();
  8493. h.copyFrom__(bb);
  8494. return h;
  8495. }
  8496.  
  8497. public static readonly string[] ids__ =
  8498. {
  8499. "::Ice::Object",
  8500. "::Murmur::ServerCallback"
  8501. };
  8502.  
  8503. public static string ice_staticId()
  8504. {
  8505. return ids__[1];
  8506. }
  8507.  
  8508. #endregion
  8509.  
  8510. #region Marshaling support
  8511.  
  8512. protected override Ice.ObjectDelM_ createDelegateM__()
  8513. {
  8514. return new ServerCallbackDelM_();
  8515. }
  8516.  
  8517. protected override Ice.ObjectDelD_ createDelegateD__()
  8518. {
  8519. return new ServerCallbackDelD_();
  8520. }
  8521.  
  8522. public static void write__(IceInternal.BasicStream os__, ServerCallbackPrx v__)
  8523. {
  8524. os__.writeProxy(v__);
  8525. }
  8526.  
  8527. public static ServerCallbackPrx read__(IceInternal.BasicStream is__)
  8528. {
  8529. Ice.ObjectPrx proxy = is__.readProxy();
  8530. if (proxy != null)
  8531. {
  8532. ServerCallbackPrxHelper result = new ServerCallbackPrxHelper();
  8533. result.copyFrom__(proxy);
  8534. return result;
  8535. }
  8536. return null;
  8537. }
  8538.  
  8539. #endregion
  8540. }
  8541.  
  8542. /// <summary>
  8543. /// Callback interface for context actions.
  8544. /// You need to supply one of these for Server.addContext.
  8545. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  8546. /// Please note that all callbacks are done asynchronously; murmur does not wait for the callback to
  8547. /// complete before continuing processing.
  8548. /// </summary>
  8549.  
  8550. [_System.Runtime.InteropServices.ComVisible(false)]
  8551. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  8552. public sealed class ServerContextCallbackPrxHelper : Ice.ObjectPrxHelperBase, ServerContextCallbackPrx
  8553. {
  8554. #region Synchronous operations
  8555.  
  8556. /// <summary>
  8557. /// Called when a context action is performed.
  8558. /// </summary>
  8559. /// <param name="action">Action to be performed.
  8560. /// </param>
  8561. /// <param name="usr">User which initiated the action.
  8562. /// </param>
  8563. /// <param name="session">If nonzero, session of target user.
  8564. /// </param>
  8565. /// <param name="channelid">If not -1, id of target channel.</param>
  8566.  
  8567. public void contextAction(string action, Murmur.User usr, int session, int channelid)
  8568. {
  8569. contextAction(action, usr, session, channelid, null, false);
  8570. }
  8571.  
  8572. /// <summary>
  8573. /// Called when a context action is performed.
  8574. /// </summary>
  8575. /// <param name="action">Action to be performed.
  8576. /// </param>
  8577. /// <param name="usr">User which initiated the action.
  8578. /// </param>
  8579. /// <param name="session">If nonzero, session of target user.
  8580. /// </param>
  8581. /// <param name="channelid">If not -1, id of target channel.</param>
  8582. /// <param name="context__">The Context map to send with the invocation.</param>
  8583.  
  8584. public void contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  8585. {
  8586. contextAction(action, usr, session, channelid, context__, true);
  8587. }
  8588.  
  8589. private void contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  8590. {
  8591. if (explicitContext__ && context__ == null)
  8592. {
  8593. context__ = emptyContext_;
  8594. }
  8595. int cnt__ = 0;
  8596. while (true)
  8597. {
  8598. Ice.ObjectDel_ delBase__ = null;
  8599. try
  8600. {
  8601. delBase__ = getDelegate__(false);
  8602. ServerContextCallbackDel_ del__ = (ServerContextCallbackDel_)delBase__;
  8603. del__.contextAction(action, usr, session, channelid, context__);
  8604. return;
  8605. }
  8606. catch (IceInternal.LocalExceptionWrapper ex__)
  8607. {
  8608. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  8609. }
  8610. catch (Ice.LocalException ex__)
  8611. {
  8612. handleException__(delBase__, ex__, true, ref cnt__);
  8613. }
  8614. }
  8615. }
  8616.  
  8617. #endregion
  8618.  
  8619. #region Asynchronous operations
  8620.  
  8621. public Ice.AsyncResult<Murmur.Callback_ServerContextCallback_contextAction> begin_contextAction(string action, Murmur.User usr, int session, int channelid)
  8622. {
  8623. return begin_contextAction(action, usr, session, channelid, null, false, null, null);
  8624. }
  8625.  
  8626. /// <summary>
  8627. /// Called when a context action is performed.
  8628. /// </summary>
  8629. /// <param name="action">Action to be performed.
  8630. /// </param>
  8631. /// <param name="usr">User which initiated the action.
  8632. /// </param>
  8633. /// <param name="session">If nonzero, session of target user.
  8634. /// </param>
  8635. /// <param name="channelid">If not -1, id of target channel.</param>
  8636. /// <param name="ctx__">The Context map to send with the invocation.</param>
  8637. public Ice.AsyncResult<Murmur.Callback_ServerContextCallback_contextAction> begin_contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__)
  8638. {
  8639. return begin_contextAction(action, usr, session, channelid, ctx__, true, null, null);
  8640. }
  8641.  
  8642. public Ice.AsyncResult begin_contextAction(string action, Murmur.User usr, int session, int channelid, Ice.AsyncCallback cb__, object cookie__)
  8643. {
  8644. return begin_contextAction(action, usr, session, channelid, null, false, cb__, cookie__);
  8645. }
  8646.  
  8647. public Ice.AsyncResult begin_contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  8648. {
  8649. return begin_contextAction(action, usr, session, channelid, ctx__, true, cb__, cookie__);
  8650. }
  8651.  
  8652. private const string __contextAction_name = "contextAction";
  8653.  
  8654. public void end_contextAction(Ice.AsyncResult r__)
  8655. {
  8656. end__(r__, __contextAction_name);
  8657. }
  8658.  
  8659. private Ice.AsyncResult<Murmur.Callback_ServerContextCallback_contextAction> begin_contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  8660. {
  8661. IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerContextCallback_contextAction> result__ = new IceInternal.OnewayOutgoingAsync<Murmur.Callback_ServerContextCallback_contextAction>(this, __contextAction_name, contextAction_completed__, cookie__);
  8662. if (cb__ != null)
  8663. {
  8664. result__.whenCompletedWithAsyncCallback(cb__);
  8665. }
  8666. try
  8667. {
  8668. result__.prepare__(__contextAction_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  8669. IceInternal.BasicStream os__ = result__.ostr__;
  8670. os__.writeString(action);
  8671. if (usr == null)
  8672. {
  8673. Murmur.User tmp__ = new Murmur.User();
  8674. tmp__.write__(os__);
  8675. }
  8676. else
  8677. {
  8678. usr.write__(os__);
  8679. }
  8680. os__.writeInt(session);
  8681. os__.writeInt(channelid);
  8682. os__.endWriteEncaps();
  8683. result__.send__(true);
  8684. }
  8685. catch (Ice.LocalException ex__)
  8686. {
  8687. result__.exceptionAsync__(ex__);
  8688. }
  8689. return result__;
  8690. }
  8691.  
  8692. private void contextAction_completed__(Murmur.Callback_ServerContextCallback_contextAction cb__)
  8693. {
  8694. if (cb__ != null)
  8695. {
  8696. cb__();
  8697. }
  8698. }
  8699.  
  8700. #endregion
  8701.  
  8702. #region Checked and unchecked cast operations
  8703.  
  8704. public static ServerContextCallbackPrx checkedCast(Ice.ObjectPrx b)
  8705. {
  8706. if (b == null)
  8707. {
  8708. return null;
  8709. }
  8710. ServerContextCallbackPrx r = b as ServerContextCallbackPrx;
  8711. if ((r == null) && b.ice_isA(ice_staticId()))
  8712. {
  8713. ServerContextCallbackPrxHelper h = new ServerContextCallbackPrxHelper();
  8714. h.copyFrom__(b);
  8715. r = h;
  8716. }
  8717. return r;
  8718. }
  8719.  
  8720. public static ServerContextCallbackPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
  8721. {
  8722. if (b == null)
  8723. {
  8724. return null;
  8725. }
  8726. ServerContextCallbackPrx r = b as ServerContextCallbackPrx;
  8727. if ((r == null) && b.ice_isA(ice_staticId(), ctx))
  8728. {
  8729. ServerContextCallbackPrxHelper h = new ServerContextCallbackPrxHelper();
  8730. h.copyFrom__(b);
  8731. r = h;
  8732. }
  8733. return r;
  8734. }
  8735.  
  8736. public static ServerContextCallbackPrx checkedCast(Ice.ObjectPrx b, string f)
  8737. {
  8738. if (b == null)
  8739. {
  8740. return null;
  8741. }
  8742. Ice.ObjectPrx bb = b.ice_facet(f);
  8743. try
  8744. {
  8745. if (bb.ice_isA(ice_staticId()))
  8746. {
  8747. ServerContextCallbackPrxHelper h = new ServerContextCallbackPrxHelper();
  8748. h.copyFrom__(bb);
  8749. return h;
  8750. }
  8751. }
  8752. catch (Ice.FacetNotExistException)
  8753. {
  8754. }
  8755. return null;
  8756. }
  8757.  
  8758. public static ServerContextCallbackPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
  8759. {
  8760. if (b == null)
  8761. {
  8762. return null;
  8763. }
  8764. Ice.ObjectPrx bb = b.ice_facet(f);
  8765. try
  8766. {
  8767. if (bb.ice_isA(ice_staticId(), ctx))
  8768. {
  8769. ServerContextCallbackPrxHelper h = new ServerContextCallbackPrxHelper();
  8770. h.copyFrom__(bb);
  8771. return h;
  8772. }
  8773. }
  8774. catch (Ice.FacetNotExistException)
  8775. {
  8776. }
  8777. return null;
  8778. }
  8779.  
  8780. public static ServerContextCallbackPrx uncheckedCast(Ice.ObjectPrx b)
  8781. {
  8782. if (b == null)
  8783. {
  8784. return null;
  8785. }
  8786. ServerContextCallbackPrx r = b as ServerContextCallbackPrx;
  8787. if (r == null)
  8788. {
  8789. ServerContextCallbackPrxHelper h = new ServerContextCallbackPrxHelper();
  8790. h.copyFrom__(b);
  8791. r = h;
  8792. }
  8793. return r;
  8794. }
  8795.  
  8796. public static ServerContextCallbackPrx uncheckedCast(Ice.ObjectPrx b, string f)
  8797. {
  8798. if (b == null)
  8799. {
  8800. return null;
  8801. }
  8802. Ice.ObjectPrx bb = b.ice_facet(f);
  8803. ServerContextCallbackPrxHelper h = new ServerContextCallbackPrxHelper();
  8804. h.copyFrom__(bb);
  8805. return h;
  8806. }
  8807.  
  8808. public static readonly string[] ids__ =
  8809. {
  8810. "::Ice::Object",
  8811. "::Murmur::ServerContextCallback"
  8812. };
  8813.  
  8814. public static string ice_staticId()
  8815. {
  8816. return ids__[1];
  8817. }
  8818.  
  8819. #endregion
  8820.  
  8821. #region Marshaling support
  8822.  
  8823. protected override Ice.ObjectDelM_ createDelegateM__()
  8824. {
  8825. return new ServerContextCallbackDelM_();
  8826. }
  8827.  
  8828. protected override Ice.ObjectDelD_ createDelegateD__()
  8829. {
  8830. return new ServerContextCallbackDelD_();
  8831. }
  8832.  
  8833. public static void write__(IceInternal.BasicStream os__, ServerContextCallbackPrx v__)
  8834. {
  8835. os__.writeProxy(v__);
  8836. }
  8837.  
  8838. public static ServerContextCallbackPrx read__(IceInternal.BasicStream is__)
  8839. {
  8840. Ice.ObjectPrx proxy = is__.readProxy();
  8841. if (proxy != null)
  8842. {
  8843. ServerContextCallbackPrxHelper result = new ServerContextCallbackPrxHelper();
  8844. result.copyFrom__(proxy);
  8845. return result;
  8846. }
  8847. return null;
  8848. }
  8849.  
  8850. #endregion
  8851. }
  8852.  
  8853. /// <summary>
  8854. /// Callback interface for server authentication.
  8855. /// You need to supply one of these for Server.setAuthenticator.
  8856. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  8857. /// Please note that unlike ServerCallback and ServerContextCallback, these methods are called
  8858. /// synchronously. If the response lags, the entire murmur server will lag.
  8859. /// Also note that, as the method calls are synchronous, making a call to Server or Meta will
  8860. /// deadlock the server.
  8861. /// </summary>
  8862.  
  8863. [_System.Runtime.InteropServices.ComVisible(false)]
  8864. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  8865. public sealed class ServerAuthenticatorPrxHelper : Ice.ObjectPrxHelperBase, ServerAuthenticatorPrx
  8866. {
  8867. #region Synchronous operations
  8868.  
  8869. /// <summary>
  8870. /// Called to authenticate a user.
  8871. /// If you do not know the username in question, always return -2 from this
  8872. /// method to fall through to normal database authentication.
  8873. /// Note that if authentication succeeds, murmur will create a record of the user in it's database, reserving
  8874. /// the username and id so it cannot be used for normal database authentication.
  8875. /// The data in the certificate (name, email addresses etc), as well as the list of signing certificates,
  8876. /// should only be trusted if certstrong is true.
  8877. ///
  8878. /// Internally, Murmur treats usernames as case-insensitive. It is recommended
  8879. /// that authenticators do the same. Murmur checks if a username is in use when
  8880. /// a user connects. If the connecting user is registered, the other username is
  8881. /// kicked. If the connecting user is not registered, the connecting user is not
  8882. /// allowed to join the server.
  8883. ///
  8884. /// </summary>
  8885. /// <param name="name">Username to authenticate.
  8886. /// </param>
  8887. /// <param name="pw">Password to authenticate with.
  8888. /// </param>
  8889. /// <param name="certificates">List of der encoded certificates the user connected with.
  8890. /// </param>
  8891. /// <param name="certhash">Hash of user certificate, as used by murmur internally when matching.
  8892. /// </param>
  8893. /// <param name="certstrong">True if certificate was valid and signed by a trusted CA.
  8894. /// </param>
  8895. /// <param name="newname">Set this to change the username from the supplied one.
  8896. /// </param>
  8897. /// <param name="groups">List of groups on the root channel that the user will be added to for the duration of the connection.
  8898. /// </param>
  8899. /// <returns>UserID of authenticated user, -1 for authentication failures, -2 for unknown user (fallthrough),
  8900. /// -3 for authentication failures where the data could (temporarily) not be verified.</returns>
  8901.  
  8902. public int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups)
  8903. {
  8904. return authenticate(name, pw, certificates, certhash, certstrong, out newname, out groups, null, false);
  8905. }
  8906.  
  8907. /// <summary>
  8908. /// Called to authenticate a user.
  8909. /// If you do not know the username in question, always return -2 from this
  8910. /// method to fall through to normal database authentication.
  8911. /// Note that if authentication succeeds, murmur will create a record of the user in it's database, reserving
  8912. /// the username and id so it cannot be used for normal database authentication.
  8913. /// The data in the certificate (name, email addresses etc), as well as the list of signing certificates,
  8914. /// should only be trusted if certstrong is true.
  8915. ///
  8916. /// Internally, Murmur treats usernames as case-insensitive. It is recommended
  8917. /// that authenticators do the same. Murmur checks if a username is in use when
  8918. /// a user connects. If the connecting user is registered, the other username is
  8919. /// kicked. If the connecting user is not registered, the connecting user is not
  8920. /// allowed to join the server.
  8921. ///
  8922. /// </summary>
  8923. /// <param name="name">Username to authenticate.
  8924. /// </param>
  8925. /// <param name="pw">Password to authenticate with.
  8926. /// </param>
  8927. /// <param name="certificates">List of der encoded certificates the user connected with.
  8928. /// </param>
  8929. /// <param name="certhash">Hash of user certificate, as used by murmur internally when matching.
  8930. /// </param>
  8931. /// <param name="certstrong">True if certificate was valid and signed by a trusted CA.
  8932. /// </param>
  8933. /// <param name="newname">Set this to change the username from the supplied one.
  8934. /// </param>
  8935. /// <param name="groups">List of groups on the root channel that the user will be added to for the duration of the connection.
  8936. /// </param>
  8937. /// <returns>UserID of authenticated user, -1 for authentication failures, -2 for unknown user (fallthrough),
  8938. /// -3 for authentication failures where the data could (temporarily) not be verified.</returns>
  8939. /// <param name="context__">The Context map to send with the invocation.</param>
  8940.  
  8941. public int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, _System.Collections.Generic.Dictionary<string, string> context__)
  8942. {
  8943. return authenticate(name, pw, certificates, certhash, certstrong, out newname, out groups, context__, true);
  8944. }
  8945.  
  8946. private int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  8947. {
  8948. if (explicitContext__ && context__ == null)
  8949. {
  8950. context__ = emptyContext_;
  8951. }
  8952. int cnt__ = 0;
  8953. while (true)
  8954. {
  8955. Ice.ObjectDel_ delBase__ = null;
  8956. try
  8957. {
  8958. checkTwowayOnly__("authenticate");
  8959. delBase__ = getDelegate__(false);
  8960. ServerAuthenticatorDel_ del__ = (ServerAuthenticatorDel_)delBase__;
  8961. return del__.authenticate(name, pw, certificates, certhash, certstrong, out newname, out groups, context__);
  8962. }
  8963. catch (IceInternal.LocalExceptionWrapper ex__)
  8964. {
  8965. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  8966. }
  8967. catch (Ice.LocalException ex__)
  8968. {
  8969. handleException__(delBase__, ex__, true, ref cnt__);
  8970. }
  8971. }
  8972. }
  8973.  
  8974. /// <summary>
  8975. /// Fetch information about a user.
  8976. /// This is used to retrieve information like email address, keyhash etc. If you
  8977. /// want murmur to take care of this information itself, simply return false to fall through.
  8978. /// </summary>
  8979. /// <param name="id">User id.
  8980. /// </param>
  8981. /// <param name="info">Information about user. This needs to include at least "name".
  8982. /// </param>
  8983. /// <returns>true if information is present, false to fall through.</returns>
  8984.  
  8985. public bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  8986. {
  8987. return getInfo(id, out info, null, false);
  8988. }
  8989.  
  8990. /// <summary>
  8991. /// Fetch information about a user.
  8992. /// This is used to retrieve information like email address, keyhash etc. If you
  8993. /// want murmur to take care of this information itself, simply return false to fall through.
  8994. /// </summary>
  8995. /// <param name="id">User id.
  8996. /// </param>
  8997. /// <param name="info">Information about user. This needs to include at least "name".
  8998. /// </param>
  8999. /// <returns>true if information is present, false to fall through.</returns>
  9000. /// <param name="context__">The Context map to send with the invocation.</param>
  9001.  
  9002. public bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  9003. {
  9004. return getInfo(id, out info, context__, true);
  9005. }
  9006.  
  9007. private bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  9008. {
  9009. if (explicitContext__ && context__ == null)
  9010. {
  9011. context__ = emptyContext_;
  9012. }
  9013. int cnt__ = 0;
  9014. while (true)
  9015. {
  9016. Ice.ObjectDel_ delBase__ = null;
  9017. try
  9018. {
  9019. checkTwowayOnly__("getInfo");
  9020. delBase__ = getDelegate__(false);
  9021. ServerAuthenticatorDel_ del__ = (ServerAuthenticatorDel_)delBase__;
  9022. return del__.getInfo(id, out info, context__);
  9023. }
  9024. catch (IceInternal.LocalExceptionWrapper ex__)
  9025. {
  9026. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  9027. }
  9028. catch (Ice.LocalException ex__)
  9029. {
  9030. handleException__(delBase__, ex__, true, ref cnt__);
  9031. }
  9032. }
  9033. }
  9034.  
  9035. /// <summary>
  9036. /// Map a user id to a username.
  9037. /// </summary>
  9038. /// <param name="id">User id to map.
  9039. /// </param>
  9040. /// <returns>Name of user or empty string for unknown id.</returns>
  9041.  
  9042. public string idToName(int id)
  9043. {
  9044. return idToName(id, null, false);
  9045. }
  9046.  
  9047. /// <summary>
  9048. /// Map a user id to a username.
  9049. /// </summary>
  9050. /// <param name="id">User id to map.
  9051. /// </param>
  9052. /// <returns>Name of user or empty string for unknown id.</returns>
  9053. /// <param name="context__">The Context map to send with the invocation.</param>
  9054.  
  9055. public string idToName(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  9056. {
  9057. return idToName(id, context__, true);
  9058. }
  9059.  
  9060. private string idToName(int id, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  9061. {
  9062. if (explicitContext__ && context__ == null)
  9063. {
  9064. context__ = emptyContext_;
  9065. }
  9066. int cnt__ = 0;
  9067. while (true)
  9068. {
  9069. Ice.ObjectDel_ delBase__ = null;
  9070. try
  9071. {
  9072. checkTwowayOnly__("idToName");
  9073. delBase__ = getDelegate__(false);
  9074. ServerAuthenticatorDel_ del__ = (ServerAuthenticatorDel_)delBase__;
  9075. return del__.idToName(id, context__);
  9076. }
  9077. catch (IceInternal.LocalExceptionWrapper ex__)
  9078. {
  9079. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  9080. }
  9081. catch (Ice.LocalException ex__)
  9082. {
  9083. handleException__(delBase__, ex__, true, ref cnt__);
  9084. }
  9085. }
  9086. }
  9087.  
  9088. /// <summary>
  9089. /// Map a user to a custom Texture.
  9090. /// </summary>
  9091. /// <param name="id">User id to map.
  9092. /// </param>
  9093. /// <returns>User texture or an empty texture for unknwon users or users without textures.</returns>
  9094.  
  9095. public byte[] idToTexture(int id)
  9096. {
  9097. return idToTexture(id, null, false);
  9098. }
  9099.  
  9100. /// <summary>
  9101. /// Map a user to a custom Texture.
  9102. /// </summary>
  9103. /// <param name="id">User id to map.
  9104. /// </param>
  9105. /// <returns>User texture or an empty texture for unknwon users or users without textures.</returns>
  9106. /// <param name="context__">The Context map to send with the invocation.</param>
  9107.  
  9108. public byte[] idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  9109. {
  9110. return idToTexture(id, context__, true);
  9111. }
  9112.  
  9113. private byte[] idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  9114. {
  9115. if (explicitContext__ && context__ == null)
  9116. {
  9117. context__ = emptyContext_;
  9118. }
  9119. int cnt__ = 0;
  9120. while (true)
  9121. {
  9122. Ice.ObjectDel_ delBase__ = null;
  9123. try
  9124. {
  9125. checkTwowayOnly__("idToTexture");
  9126. delBase__ = getDelegate__(false);
  9127. ServerAuthenticatorDel_ del__ = (ServerAuthenticatorDel_)delBase__;
  9128. return del__.idToTexture(id, context__);
  9129. }
  9130. catch (IceInternal.LocalExceptionWrapper ex__)
  9131. {
  9132. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  9133. }
  9134. catch (Ice.LocalException ex__)
  9135. {
  9136. handleException__(delBase__, ex__, true, ref cnt__);
  9137. }
  9138. }
  9139. }
  9140.  
  9141. /// <summary>
  9142. /// Map a name to a user id.
  9143. /// </summary>
  9144. /// <param name="name">Username to map.
  9145. /// </param>
  9146. /// <returns>User id or -2 for unknown name.</returns>
  9147.  
  9148. public int nameToId(string name)
  9149. {
  9150. return nameToId(name, null, false);
  9151. }
  9152.  
  9153. /// <summary>
  9154. /// Map a name to a user id.
  9155. /// </summary>
  9156. /// <param name="name">Username to map.
  9157. /// </param>
  9158. /// <returns>User id or -2 for unknown name.</returns>
  9159. /// <param name="context__">The Context map to send with the invocation.</param>
  9160.  
  9161. public int nameToId(string name, _System.Collections.Generic.Dictionary<string, string> context__)
  9162. {
  9163. return nameToId(name, context__, true);
  9164. }
  9165.  
  9166. private int nameToId(string name, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  9167. {
  9168. if (explicitContext__ && context__ == null)
  9169. {
  9170. context__ = emptyContext_;
  9171. }
  9172. int cnt__ = 0;
  9173. while (true)
  9174. {
  9175. Ice.ObjectDel_ delBase__ = null;
  9176. try
  9177. {
  9178. checkTwowayOnly__("nameToId");
  9179. delBase__ = getDelegate__(false);
  9180. ServerAuthenticatorDel_ del__ = (ServerAuthenticatorDel_)delBase__;
  9181. return del__.nameToId(name, context__);
  9182. }
  9183. catch (IceInternal.LocalExceptionWrapper ex__)
  9184. {
  9185. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  9186. }
  9187. catch (Ice.LocalException ex__)
  9188. {
  9189. handleException__(delBase__, ex__, true, ref cnt__);
  9190. }
  9191. }
  9192. }
  9193.  
  9194. #endregion
  9195.  
  9196. #region Asynchronous operations
  9197.  
  9198. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_authenticate> begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong)
  9199. {
  9200. return begin_authenticate(name, pw, certificates, certhash, certstrong, null, false, null, null);
  9201. }
  9202.  
  9203. /// <summary>
  9204. /// Called to authenticate a user.
  9205. /// If you do not know the username in question, always return -2 from this
  9206. /// </summary>
  9207. /// <param name="name">Username to authenticate.
  9208. /// </param>
  9209. /// <param name="pw">Password to authenticate with.
  9210. /// </param>
  9211. /// <param name="certificates">List of der encoded certificates the user connected with.
  9212. /// </param>
  9213. /// <param name="certhash">Hash of user certificate, as used by murmur internally when matching.
  9214. /// </param>
  9215. /// <param name="certstrong">True if certificate was valid and signed by a trusted CA.
  9216. /// </param>
  9217. /// <param name="ctx__">The Context map to send with the invocation.</param>
  9218. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_authenticate> begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, _System.Collections.Generic.Dictionary<string, string> ctx__)
  9219. {
  9220. return begin_authenticate(name, pw, certificates, certhash, certstrong, ctx__, true, null, null);
  9221. }
  9222.  
  9223. public Ice.AsyncResult begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, Ice.AsyncCallback cb__, object cookie__)
  9224. {
  9225. return begin_authenticate(name, pw, certificates, certhash, certstrong, null, false, cb__, cookie__);
  9226. }
  9227.  
  9228. public Ice.AsyncResult begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  9229. {
  9230. return begin_authenticate(name, pw, certificates, certhash, certstrong, ctx__, true, cb__, cookie__);
  9231. }
  9232.  
  9233. private const string __authenticate_name = "authenticate";
  9234.  
  9235. public int end_authenticate(out string newname, out string[] groups, Ice.AsyncResult r__)
  9236. {
  9237. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  9238. IceInternal.OutgoingAsync.check__(outAsync__, this, __authenticate_name);
  9239. if (!outAsync__.wait__())
  9240. {
  9241. try
  9242. {
  9243. outAsync__.throwUserException__();
  9244. }
  9245. catch (Ice.UserException ex__)
  9246. {
  9247. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  9248. }
  9249. }
  9250. int ret__;
  9251. IceInternal.BasicStream is__ = outAsync__.istr__;
  9252. is__.startReadEncaps();
  9253. newname = is__.readString();
  9254. groups = is__.readStringSeq();
  9255. ret__ = is__.readInt();
  9256. is__.endReadEncaps();
  9257. return ret__;
  9258. }
  9259.  
  9260. private Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_authenticate> begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  9261. {
  9262. checkAsyncTwowayOnly__(__authenticate_name);
  9263. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_authenticate> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_authenticate>(this, __authenticate_name, authenticate_completed__, cookie__);
  9264. if (cb__ != null)
  9265. {
  9266. result__.whenCompletedWithAsyncCallback(cb__);
  9267. }
  9268. try
  9269. {
  9270. result__.prepare__(__authenticate_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  9271. IceInternal.BasicStream os__ = result__.ostr__;
  9272. os__.writeString(name);
  9273. os__.writeString(pw);
  9274. if (certificates == null)
  9275. {
  9276. os__.writeSize(0);
  9277. }
  9278. else
  9279. {
  9280. os__.writeSize(certificates.Length);
  9281. for (int ix__ = 0; ix__ < certificates.Length; ++ix__)
  9282. {
  9283. Murmur.CertificateDerHelper.write(os__, certificates[ix__]);
  9284. }
  9285. }
  9286. os__.writeString(certhash);
  9287. os__.writeBool(certstrong);
  9288. os__.endWriteEncaps();
  9289. result__.send__(true);
  9290. }
  9291. catch (Ice.LocalException ex__)
  9292. {
  9293. result__.exceptionAsync__(ex__);
  9294. }
  9295. return result__;
  9296. }
  9297.  
  9298. private void authenticate_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerAuthenticator_authenticate cb__, Ice.ExceptionCallback excb__)
  9299. {
  9300. string newname;
  9301. string[] groups;
  9302. int ret__;
  9303. try
  9304. {
  9305. ret__ = end_authenticate(out newname, out groups, r__);
  9306. }
  9307. catch (Ice.Exception ex__)
  9308. {
  9309. if (excb__ != null)
  9310. {
  9311. excb__(ex__);
  9312. }
  9313. return;
  9314. }
  9315. if (cb__ != null)
  9316. {
  9317. cb__(ret__, newname, groups);
  9318. }
  9319. }
  9320.  
  9321. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_getInfo> begin_getInfo(int id)
  9322. {
  9323. return begin_getInfo(id, null, false, null, null);
  9324. }
  9325.  
  9326. /// <summary>
  9327. /// Fetch information about a user.
  9328. /// This is used to retrieve information like email address, keyhash etc. If you
  9329. /// </summary>
  9330. /// <param name="id">User id.
  9331. /// </param>
  9332. /// <param name="ctx__">The Context map to send with the invocation.</param>
  9333. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_getInfo> begin_getInfo(int id, _System.Collections.Generic.Dictionary<string, string> ctx__)
  9334. {
  9335. return begin_getInfo(id, ctx__, true, null, null);
  9336. }
  9337.  
  9338. public Ice.AsyncResult begin_getInfo(int id, Ice.AsyncCallback cb__, object cookie__)
  9339. {
  9340. return begin_getInfo(id, null, false, cb__, cookie__);
  9341. }
  9342.  
  9343. public Ice.AsyncResult begin_getInfo(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  9344. {
  9345. return begin_getInfo(id, ctx__, true, cb__, cookie__);
  9346. }
  9347.  
  9348. private const string __getInfo_name = "getInfo";
  9349.  
  9350. public bool end_getInfo(out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncResult r__)
  9351. {
  9352. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  9353. IceInternal.OutgoingAsync.check__(outAsync__, this, __getInfo_name);
  9354. if (!outAsync__.wait__())
  9355. {
  9356. try
  9357. {
  9358. outAsync__.throwUserException__();
  9359. }
  9360. catch (Ice.UserException ex__)
  9361. {
  9362. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  9363. }
  9364. }
  9365. bool ret__;
  9366. IceInternal.BasicStream is__ = outAsync__.istr__;
  9367. is__.startReadEncaps();
  9368. info = Murmur.UserInfoMapHelper.read(is__);
  9369. ret__ = is__.readBool();
  9370. is__.endReadEncaps();
  9371. return ret__;
  9372. }
  9373.  
  9374. private Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_getInfo> begin_getInfo(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  9375. {
  9376. checkAsyncTwowayOnly__(__getInfo_name);
  9377. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_getInfo> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_getInfo>(this, __getInfo_name, getInfo_completed__, cookie__);
  9378. if (cb__ != null)
  9379. {
  9380. result__.whenCompletedWithAsyncCallback(cb__);
  9381. }
  9382. try
  9383. {
  9384. result__.prepare__(__getInfo_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  9385. IceInternal.BasicStream os__ = result__.ostr__;
  9386. os__.writeInt(id);
  9387. os__.endWriteEncaps();
  9388. result__.send__(true);
  9389. }
  9390. catch (Ice.LocalException ex__)
  9391. {
  9392. result__.exceptionAsync__(ex__);
  9393. }
  9394. return result__;
  9395. }
  9396.  
  9397. private void getInfo_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerAuthenticator_getInfo cb__, Ice.ExceptionCallback excb__)
  9398. {
  9399. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info;
  9400. bool ret__;
  9401. try
  9402. {
  9403. ret__ = end_getInfo(out info, r__);
  9404. }
  9405. catch (Ice.Exception ex__)
  9406. {
  9407. if (excb__ != null)
  9408. {
  9409. excb__(ex__);
  9410. }
  9411. return;
  9412. }
  9413. if (cb__ != null)
  9414. {
  9415. cb__(ret__, info);
  9416. }
  9417. }
  9418.  
  9419. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToName> begin_idToName(int id)
  9420. {
  9421. return begin_idToName(id, null, false, null, null);
  9422. }
  9423.  
  9424. /// <summary>
  9425. /// Map a user id to a username.
  9426. /// </summary>
  9427. /// <param name="id">User id to map.
  9428. /// </param>
  9429. /// <param name="ctx__">The Context map to send with the invocation.</param>
  9430. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToName> begin_idToName(int id, _System.Collections.Generic.Dictionary<string, string> ctx__)
  9431. {
  9432. return begin_idToName(id, ctx__, true, null, null);
  9433. }
  9434.  
  9435. public Ice.AsyncResult begin_idToName(int id, Ice.AsyncCallback cb__, object cookie__)
  9436. {
  9437. return begin_idToName(id, null, false, cb__, cookie__);
  9438. }
  9439.  
  9440. public Ice.AsyncResult begin_idToName(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  9441. {
  9442. return begin_idToName(id, ctx__, true, cb__, cookie__);
  9443. }
  9444.  
  9445. private const string __idToName_name = "idToName";
  9446.  
  9447. public string end_idToName(Ice.AsyncResult r__)
  9448. {
  9449. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  9450. IceInternal.OutgoingAsync.check__(outAsync__, this, __idToName_name);
  9451. if (!outAsync__.wait__())
  9452. {
  9453. try
  9454. {
  9455. outAsync__.throwUserException__();
  9456. }
  9457. catch (Ice.UserException ex__)
  9458. {
  9459. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  9460. }
  9461. }
  9462. string ret__;
  9463. IceInternal.BasicStream is__ = outAsync__.istr__;
  9464. is__.startReadEncaps();
  9465. ret__ = is__.readString();
  9466. is__.endReadEncaps();
  9467. return ret__;
  9468. }
  9469.  
  9470. private Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToName> begin_idToName(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  9471. {
  9472. checkAsyncTwowayOnly__(__idToName_name);
  9473. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_idToName> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_idToName>(this, __idToName_name, idToName_completed__, cookie__);
  9474. if (cb__ != null)
  9475. {
  9476. result__.whenCompletedWithAsyncCallback(cb__);
  9477. }
  9478. try
  9479. {
  9480. result__.prepare__(__idToName_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  9481. IceInternal.BasicStream os__ = result__.ostr__;
  9482. os__.writeInt(id);
  9483. os__.endWriteEncaps();
  9484. result__.send__(true);
  9485. }
  9486. catch (Ice.LocalException ex__)
  9487. {
  9488. result__.exceptionAsync__(ex__);
  9489. }
  9490. return result__;
  9491. }
  9492.  
  9493. private void idToName_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerAuthenticator_idToName cb__, Ice.ExceptionCallback excb__)
  9494. {
  9495. string ret__;
  9496. try
  9497. {
  9498. ret__ = end_idToName(r__);
  9499. }
  9500. catch (Ice.Exception ex__)
  9501. {
  9502. if (excb__ != null)
  9503. {
  9504. excb__(ex__);
  9505. }
  9506. return;
  9507. }
  9508. if (cb__ != null)
  9509. {
  9510. cb__(ret__);
  9511. }
  9512. }
  9513.  
  9514. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToTexture> begin_idToTexture(int id)
  9515. {
  9516. return begin_idToTexture(id, null, false, null, null);
  9517. }
  9518.  
  9519. /// <summary>
  9520. /// Map a user to a custom Texture.
  9521. /// </summary>
  9522. /// <param name="id">User id to map.
  9523. /// </param>
  9524. /// <param name="ctx__">The Context map to send with the invocation.</param>
  9525. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToTexture> begin_idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> ctx__)
  9526. {
  9527. return begin_idToTexture(id, ctx__, true, null, null);
  9528. }
  9529.  
  9530. public Ice.AsyncResult begin_idToTexture(int id, Ice.AsyncCallback cb__, object cookie__)
  9531. {
  9532. return begin_idToTexture(id, null, false, cb__, cookie__);
  9533. }
  9534.  
  9535. public Ice.AsyncResult begin_idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  9536. {
  9537. return begin_idToTexture(id, ctx__, true, cb__, cookie__);
  9538. }
  9539.  
  9540. private const string __idToTexture_name = "idToTexture";
  9541.  
  9542. public byte[] end_idToTexture(Ice.AsyncResult r__)
  9543. {
  9544. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  9545. IceInternal.OutgoingAsync.check__(outAsync__, this, __idToTexture_name);
  9546. if (!outAsync__.wait__())
  9547. {
  9548. try
  9549. {
  9550. outAsync__.throwUserException__();
  9551. }
  9552. catch (Ice.UserException ex__)
  9553. {
  9554. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  9555. }
  9556. }
  9557. byte[] ret__;
  9558. IceInternal.BasicStream is__ = outAsync__.istr__;
  9559. is__.startReadEncaps();
  9560. ret__ = is__.readByteSeq();
  9561. is__.endReadEncaps();
  9562. return ret__;
  9563. }
  9564.  
  9565. private Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToTexture> begin_idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  9566. {
  9567. checkAsyncTwowayOnly__(__idToTexture_name);
  9568. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_idToTexture> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_idToTexture>(this, __idToTexture_name, idToTexture_completed__, cookie__);
  9569. if (cb__ != null)
  9570. {
  9571. result__.whenCompletedWithAsyncCallback(cb__);
  9572. }
  9573. try
  9574. {
  9575. result__.prepare__(__idToTexture_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  9576. IceInternal.BasicStream os__ = result__.ostr__;
  9577. os__.writeInt(id);
  9578. os__.endWriteEncaps();
  9579. result__.send__(true);
  9580. }
  9581. catch (Ice.LocalException ex__)
  9582. {
  9583. result__.exceptionAsync__(ex__);
  9584. }
  9585. return result__;
  9586. }
  9587.  
  9588. private void idToTexture_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerAuthenticator_idToTexture cb__, Ice.ExceptionCallback excb__)
  9589. {
  9590. byte[] ret__;
  9591. try
  9592. {
  9593. ret__ = end_idToTexture(r__);
  9594. }
  9595. catch (Ice.Exception ex__)
  9596. {
  9597. if (excb__ != null)
  9598. {
  9599. excb__(ex__);
  9600. }
  9601. return;
  9602. }
  9603. if (cb__ != null)
  9604. {
  9605. cb__(ret__);
  9606. }
  9607. }
  9608.  
  9609. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_nameToId> begin_nameToId(string name)
  9610. {
  9611. return begin_nameToId(name, null, false, null, null);
  9612. }
  9613.  
  9614. /// <summary>
  9615. /// Map a name to a user id.
  9616. /// </summary>
  9617. /// <param name="name">Username to map.
  9618. /// </param>
  9619. /// <param name="ctx__">The Context map to send with the invocation.</param>
  9620. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_nameToId> begin_nameToId(string name, _System.Collections.Generic.Dictionary<string, string> ctx__)
  9621. {
  9622. return begin_nameToId(name, ctx__, true, null, null);
  9623. }
  9624.  
  9625. public Ice.AsyncResult begin_nameToId(string name, Ice.AsyncCallback cb__, object cookie__)
  9626. {
  9627. return begin_nameToId(name, null, false, cb__, cookie__);
  9628. }
  9629.  
  9630. public Ice.AsyncResult begin_nameToId(string name, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  9631. {
  9632. return begin_nameToId(name, ctx__, true, cb__, cookie__);
  9633. }
  9634.  
  9635. private const string __nameToId_name = "nameToId";
  9636.  
  9637. public int end_nameToId(Ice.AsyncResult r__)
  9638. {
  9639. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  9640. IceInternal.OutgoingAsync.check__(outAsync__, this, __nameToId_name);
  9641. if (!outAsync__.wait__())
  9642. {
  9643. try
  9644. {
  9645. outAsync__.throwUserException__();
  9646. }
  9647. catch (Ice.UserException ex__)
  9648. {
  9649. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  9650. }
  9651. }
  9652. int ret__;
  9653. IceInternal.BasicStream is__ = outAsync__.istr__;
  9654. is__.startReadEncaps();
  9655. ret__ = is__.readInt();
  9656. is__.endReadEncaps();
  9657. return ret__;
  9658. }
  9659.  
  9660. private Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_nameToId> begin_nameToId(string name, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  9661. {
  9662. checkAsyncTwowayOnly__(__nameToId_name);
  9663. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_nameToId> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_nameToId>(this, __nameToId_name, nameToId_completed__, cookie__);
  9664. if (cb__ != null)
  9665. {
  9666. result__.whenCompletedWithAsyncCallback(cb__);
  9667. }
  9668. try
  9669. {
  9670. result__.prepare__(__nameToId_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  9671. IceInternal.BasicStream os__ = result__.ostr__;
  9672. os__.writeString(name);
  9673. os__.endWriteEncaps();
  9674. result__.send__(true);
  9675. }
  9676. catch (Ice.LocalException ex__)
  9677. {
  9678. result__.exceptionAsync__(ex__);
  9679. }
  9680. return result__;
  9681. }
  9682.  
  9683. private void nameToId_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerAuthenticator_nameToId cb__, Ice.ExceptionCallback excb__)
  9684. {
  9685. int ret__;
  9686. try
  9687. {
  9688. ret__ = end_nameToId(r__);
  9689. }
  9690. catch (Ice.Exception ex__)
  9691. {
  9692. if (excb__ != null)
  9693. {
  9694. excb__(ex__);
  9695. }
  9696. return;
  9697. }
  9698. if (cb__ != null)
  9699. {
  9700. cb__(ret__);
  9701. }
  9702. }
  9703.  
  9704. #endregion
  9705.  
  9706. #region Checked and unchecked cast operations
  9707.  
  9708. public static ServerAuthenticatorPrx checkedCast(Ice.ObjectPrx b)
  9709. {
  9710. if (b == null)
  9711. {
  9712. return null;
  9713. }
  9714. ServerAuthenticatorPrx r = b as ServerAuthenticatorPrx;
  9715. if ((r == null) && b.ice_isA(ice_staticId()))
  9716. {
  9717. ServerAuthenticatorPrxHelper h = new ServerAuthenticatorPrxHelper();
  9718. h.copyFrom__(b);
  9719. r = h;
  9720. }
  9721. return r;
  9722. }
  9723.  
  9724. public static ServerAuthenticatorPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
  9725. {
  9726. if (b == null)
  9727. {
  9728. return null;
  9729. }
  9730. ServerAuthenticatorPrx r = b as ServerAuthenticatorPrx;
  9731. if ((r == null) && b.ice_isA(ice_staticId(), ctx))
  9732. {
  9733. ServerAuthenticatorPrxHelper h = new ServerAuthenticatorPrxHelper();
  9734. h.copyFrom__(b);
  9735. r = h;
  9736. }
  9737. return r;
  9738. }
  9739.  
  9740. public static ServerAuthenticatorPrx checkedCast(Ice.ObjectPrx b, string f)
  9741. {
  9742. if (b == null)
  9743. {
  9744. return null;
  9745. }
  9746. Ice.ObjectPrx bb = b.ice_facet(f);
  9747. try
  9748. {
  9749. if (bb.ice_isA(ice_staticId()))
  9750. {
  9751. ServerAuthenticatorPrxHelper h = new ServerAuthenticatorPrxHelper();
  9752. h.copyFrom__(bb);
  9753. return h;
  9754. }
  9755. }
  9756. catch (Ice.FacetNotExistException)
  9757. {
  9758. }
  9759. return null;
  9760. }
  9761.  
  9762. public static ServerAuthenticatorPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
  9763. {
  9764. if (b == null)
  9765. {
  9766. return null;
  9767. }
  9768. Ice.ObjectPrx bb = b.ice_facet(f);
  9769. try
  9770. {
  9771. if (bb.ice_isA(ice_staticId(), ctx))
  9772. {
  9773. ServerAuthenticatorPrxHelper h = new ServerAuthenticatorPrxHelper();
  9774. h.copyFrom__(bb);
  9775. return h;
  9776. }
  9777. }
  9778. catch (Ice.FacetNotExistException)
  9779. {
  9780. }
  9781. return null;
  9782. }
  9783.  
  9784. public static ServerAuthenticatorPrx uncheckedCast(Ice.ObjectPrx b)
  9785. {
  9786. if (b == null)
  9787. {
  9788. return null;
  9789. }
  9790. ServerAuthenticatorPrx r = b as ServerAuthenticatorPrx;
  9791. if (r == null)
  9792. {
  9793. ServerAuthenticatorPrxHelper h = new ServerAuthenticatorPrxHelper();
  9794. h.copyFrom__(b);
  9795. r = h;
  9796. }
  9797. return r;
  9798. }
  9799.  
  9800. public static ServerAuthenticatorPrx uncheckedCast(Ice.ObjectPrx b, string f)
  9801. {
  9802. if (b == null)
  9803. {
  9804. return null;
  9805. }
  9806. Ice.ObjectPrx bb = b.ice_facet(f);
  9807. ServerAuthenticatorPrxHelper h = new ServerAuthenticatorPrxHelper();
  9808. h.copyFrom__(bb);
  9809. return h;
  9810. }
  9811.  
  9812. public static readonly string[] ids__ =
  9813. {
  9814. "::Ice::Object",
  9815. "::Murmur::ServerAuthenticator"
  9816. };
  9817.  
  9818. public static string ice_staticId()
  9819. {
  9820. return ids__[1];
  9821. }
  9822.  
  9823. #endregion
  9824.  
  9825. #region Marshaling support
  9826.  
  9827. protected override Ice.ObjectDelM_ createDelegateM__()
  9828. {
  9829. return new ServerAuthenticatorDelM_();
  9830. }
  9831.  
  9832. protected override Ice.ObjectDelD_ createDelegateD__()
  9833. {
  9834. return new ServerAuthenticatorDelD_();
  9835. }
  9836.  
  9837. public static void write__(IceInternal.BasicStream os__, ServerAuthenticatorPrx v__)
  9838. {
  9839. os__.writeProxy(v__);
  9840. }
  9841.  
  9842. public static ServerAuthenticatorPrx read__(IceInternal.BasicStream is__)
  9843. {
  9844. Ice.ObjectPrx proxy = is__.readProxy();
  9845. if (proxy != null)
  9846. {
  9847. ServerAuthenticatorPrxHelper result = new ServerAuthenticatorPrxHelper();
  9848. result.copyFrom__(proxy);
  9849. return result;
  9850. }
  9851. return null;
  9852. }
  9853.  
  9854. #endregion
  9855. }
  9856.  
  9857. /// <summary>
  9858. /// Callback interface for server authentication and registration.
  9859. /// This allows you to support both authentication
  9860. /// and account updating.
  9861. /// You do not need to implement this if all you want is authentication, you only need this if other scripts
  9862. /// connected to the same server calls e.g. Server.setTexture.
  9863. /// Almost all of these methods support fall through, meaning murmur should continue the operation against its
  9864. /// own database.
  9865. /// </summary>
  9866.  
  9867. [_System.Runtime.InteropServices.ComVisible(false)]
  9868. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  9869. public sealed class ServerUpdatingAuthenticatorPrxHelper : Ice.ObjectPrxHelperBase, ServerUpdatingAuthenticatorPrx
  9870. {
  9871. #region Synchronous operations
  9872.  
  9873. /// <summary>
  9874. /// Called to authenticate a user.
  9875. /// If you do not know the username in question, always return -2 from this
  9876. /// method to fall through to normal database authentication.
  9877. /// Note that if authentication succeeds, murmur will create a record of the user in it's database, reserving
  9878. /// the username and id so it cannot be used for normal database authentication.
  9879. /// The data in the certificate (name, email addresses etc), as well as the list of signing certificates,
  9880. /// should only be trusted if certstrong is true.
  9881. ///
  9882. /// Internally, Murmur treats usernames as case-insensitive. It is recommended
  9883. /// that authenticators do the same. Murmur checks if a username is in use when
  9884. /// a user connects. If the connecting user is registered, the other username is
  9885. /// kicked. If the connecting user is not registered, the connecting user is not
  9886. /// allowed to join the server.
  9887. ///
  9888. /// </summary>
  9889. /// <param name="name">Username to authenticate.
  9890. /// </param>
  9891. /// <param name="pw">Password to authenticate with.
  9892. /// </param>
  9893. /// <param name="certificates">List of der encoded certificates the user connected with.
  9894. /// </param>
  9895. /// <param name="certhash">Hash of user certificate, as used by murmur internally when matching.
  9896. /// </param>
  9897. /// <param name="certstrong">True if certificate was valid and signed by a trusted CA.
  9898. /// </param>
  9899. /// <param name="newname">Set this to change the username from the supplied one.
  9900. /// </param>
  9901. /// <param name="groups">List of groups on the root channel that the user will be added to for the duration of the connection.
  9902. /// </param>
  9903. /// <returns>UserID of authenticated user, -1 for authentication failures, -2 for unknown user (fallthrough),
  9904. /// -3 for authentication failures where the data could (temporarily) not be verified.</returns>
  9905.  
  9906. public int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups)
  9907. {
  9908. return authenticate(name, pw, certificates, certhash, certstrong, out newname, out groups, null, false);
  9909. }
  9910.  
  9911. /// <summary>
  9912. /// Called to authenticate a user.
  9913. /// If you do not know the username in question, always return -2 from this
  9914. /// method to fall through to normal database authentication.
  9915. /// Note that if authentication succeeds, murmur will create a record of the user in it's database, reserving
  9916. /// the username and id so it cannot be used for normal database authentication.
  9917. /// The data in the certificate (name, email addresses etc), as well as the list of signing certificates,
  9918. /// should only be trusted if certstrong is true.
  9919. ///
  9920. /// Internally, Murmur treats usernames as case-insensitive. It is recommended
  9921. /// that authenticators do the same. Murmur checks if a username is in use when
  9922. /// a user connects. If the connecting user is registered, the other username is
  9923. /// kicked. If the connecting user is not registered, the connecting user is not
  9924. /// allowed to join the server.
  9925. ///
  9926. /// </summary>
  9927. /// <param name="name">Username to authenticate.
  9928. /// </param>
  9929. /// <param name="pw">Password to authenticate with.
  9930. /// </param>
  9931. /// <param name="certificates">List of der encoded certificates the user connected with.
  9932. /// </param>
  9933. /// <param name="certhash">Hash of user certificate, as used by murmur internally when matching.
  9934. /// </param>
  9935. /// <param name="certstrong">True if certificate was valid and signed by a trusted CA.
  9936. /// </param>
  9937. /// <param name="newname">Set this to change the username from the supplied one.
  9938. /// </param>
  9939. /// <param name="groups">List of groups on the root channel that the user will be added to for the duration of the connection.
  9940. /// </param>
  9941. /// <returns>UserID of authenticated user, -1 for authentication failures, -2 for unknown user (fallthrough),
  9942. /// -3 for authentication failures where the data could (temporarily) not be verified.</returns>
  9943. /// <param name="context__">The Context map to send with the invocation.</param>
  9944.  
  9945. public int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, _System.Collections.Generic.Dictionary<string, string> context__)
  9946. {
  9947. return authenticate(name, pw, certificates, certhash, certstrong, out newname, out groups, context__, true);
  9948. }
  9949.  
  9950. private int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  9951. {
  9952. if (explicitContext__ && context__ == null)
  9953. {
  9954. context__ = emptyContext_;
  9955. }
  9956. int cnt__ = 0;
  9957. while (true)
  9958. {
  9959. Ice.ObjectDel_ delBase__ = null;
  9960. try
  9961. {
  9962. checkTwowayOnly__("authenticate");
  9963. delBase__ = getDelegate__(false);
  9964. ServerUpdatingAuthenticatorDel_ del__ = (ServerUpdatingAuthenticatorDel_)delBase__;
  9965. return del__.authenticate(name, pw, certificates, certhash, certstrong, out newname, out groups, context__);
  9966. }
  9967. catch (IceInternal.LocalExceptionWrapper ex__)
  9968. {
  9969. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  9970. }
  9971. catch (Ice.LocalException ex__)
  9972. {
  9973. handleException__(delBase__, ex__, true, ref cnt__);
  9974. }
  9975. }
  9976. }
  9977.  
  9978. /// <summary>
  9979. /// Fetch information about a user.
  9980. /// This is used to retrieve information like email address, keyhash etc. If you
  9981. /// want murmur to take care of this information itself, simply return false to fall through.
  9982. /// </summary>
  9983. /// <param name="id">User id.
  9984. /// </param>
  9985. /// <param name="info">Information about user. This needs to include at least "name".
  9986. /// </param>
  9987. /// <returns>true if information is present, false to fall through.</returns>
  9988.  
  9989. public bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  9990. {
  9991. return getInfo(id, out info, null, false);
  9992. }
  9993.  
  9994. /// <summary>
  9995. /// Fetch information about a user.
  9996. /// This is used to retrieve information like email address, keyhash etc. If you
  9997. /// want murmur to take care of this information itself, simply return false to fall through.
  9998. /// </summary>
  9999. /// <param name="id">User id.
  10000. /// </param>
  10001. /// <param name="info">Information about user. This needs to include at least "name".
  10002. /// </param>
  10003. /// <returns>true if information is present, false to fall through.</returns>
  10004. /// <param name="context__">The Context map to send with the invocation.</param>
  10005.  
  10006. public bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  10007. {
  10008. return getInfo(id, out info, context__, true);
  10009. }
  10010.  
  10011. private bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  10012. {
  10013. if (explicitContext__ && context__ == null)
  10014. {
  10015. context__ = emptyContext_;
  10016. }
  10017. int cnt__ = 0;
  10018. while (true)
  10019. {
  10020. Ice.ObjectDel_ delBase__ = null;
  10021. try
  10022. {
  10023. checkTwowayOnly__("getInfo");
  10024. delBase__ = getDelegate__(false);
  10025. ServerUpdatingAuthenticatorDel_ del__ = (ServerUpdatingAuthenticatorDel_)delBase__;
  10026. return del__.getInfo(id, out info, context__);
  10027. }
  10028. catch (IceInternal.LocalExceptionWrapper ex__)
  10029. {
  10030. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  10031. }
  10032. catch (Ice.LocalException ex__)
  10033. {
  10034. handleException__(delBase__, ex__, true, ref cnt__);
  10035. }
  10036. }
  10037. }
  10038.  
  10039. /// <summary>
  10040. /// Map a user id to a username.
  10041. /// </summary>
  10042. /// <param name="id">User id to map.
  10043. /// </param>
  10044. /// <returns>Name of user or empty string for unknown id.</returns>
  10045.  
  10046. public string idToName(int id)
  10047. {
  10048. return idToName(id, null, false);
  10049. }
  10050.  
  10051. /// <summary>
  10052. /// Map a user id to a username.
  10053. /// </summary>
  10054. /// <param name="id">User id to map.
  10055. /// </param>
  10056. /// <returns>Name of user or empty string for unknown id.</returns>
  10057. /// <param name="context__">The Context map to send with the invocation.</param>
  10058.  
  10059. public string idToName(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  10060. {
  10061. return idToName(id, context__, true);
  10062. }
  10063.  
  10064. private string idToName(int id, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  10065. {
  10066. if (explicitContext__ && context__ == null)
  10067. {
  10068. context__ = emptyContext_;
  10069. }
  10070. int cnt__ = 0;
  10071. while (true)
  10072. {
  10073. Ice.ObjectDel_ delBase__ = null;
  10074. try
  10075. {
  10076. checkTwowayOnly__("idToName");
  10077. delBase__ = getDelegate__(false);
  10078. ServerUpdatingAuthenticatorDel_ del__ = (ServerUpdatingAuthenticatorDel_)delBase__;
  10079. return del__.idToName(id, context__);
  10080. }
  10081. catch (IceInternal.LocalExceptionWrapper ex__)
  10082. {
  10083. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  10084. }
  10085. catch (Ice.LocalException ex__)
  10086. {
  10087. handleException__(delBase__, ex__, true, ref cnt__);
  10088. }
  10089. }
  10090. }
  10091.  
  10092. /// <summary>
  10093. /// Map a user to a custom Texture.
  10094. /// </summary>
  10095. /// <param name="id">User id to map.
  10096. /// </param>
  10097. /// <returns>User texture or an empty texture for unknwon users or users without textures.</returns>
  10098.  
  10099. public byte[] idToTexture(int id)
  10100. {
  10101. return idToTexture(id, null, false);
  10102. }
  10103.  
  10104. /// <summary>
  10105. /// Map a user to a custom Texture.
  10106. /// </summary>
  10107. /// <param name="id">User id to map.
  10108. /// </param>
  10109. /// <returns>User texture or an empty texture for unknwon users or users without textures.</returns>
  10110. /// <param name="context__">The Context map to send with the invocation.</param>
  10111.  
  10112. public byte[] idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  10113. {
  10114. return idToTexture(id, context__, true);
  10115. }
  10116.  
  10117. private byte[] idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  10118. {
  10119. if (explicitContext__ && context__ == null)
  10120. {
  10121. context__ = emptyContext_;
  10122. }
  10123. int cnt__ = 0;
  10124. while (true)
  10125. {
  10126. Ice.ObjectDel_ delBase__ = null;
  10127. try
  10128. {
  10129. checkTwowayOnly__("idToTexture");
  10130. delBase__ = getDelegate__(false);
  10131. ServerUpdatingAuthenticatorDel_ del__ = (ServerUpdatingAuthenticatorDel_)delBase__;
  10132. return del__.idToTexture(id, context__);
  10133. }
  10134. catch (IceInternal.LocalExceptionWrapper ex__)
  10135. {
  10136. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  10137. }
  10138. catch (Ice.LocalException ex__)
  10139. {
  10140. handleException__(delBase__, ex__, true, ref cnt__);
  10141. }
  10142. }
  10143. }
  10144.  
  10145. /// <summary>
  10146. /// Map a name to a user id.
  10147. /// </summary>
  10148. /// <param name="name">Username to map.
  10149. /// </param>
  10150. /// <returns>User id or -2 for unknown name.</returns>
  10151.  
  10152. public int nameToId(string name)
  10153. {
  10154. return nameToId(name, null, false);
  10155. }
  10156.  
  10157. /// <summary>
  10158. /// Map a name to a user id.
  10159. /// </summary>
  10160. /// <param name="name">Username to map.
  10161. /// </param>
  10162. /// <returns>User id or -2 for unknown name.</returns>
  10163. /// <param name="context__">The Context map to send with the invocation.</param>
  10164.  
  10165. public int nameToId(string name, _System.Collections.Generic.Dictionary<string, string> context__)
  10166. {
  10167. return nameToId(name, context__, true);
  10168. }
  10169.  
  10170. private int nameToId(string name, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  10171. {
  10172. if (explicitContext__ && context__ == null)
  10173. {
  10174. context__ = emptyContext_;
  10175. }
  10176. int cnt__ = 0;
  10177. while (true)
  10178. {
  10179. Ice.ObjectDel_ delBase__ = null;
  10180. try
  10181. {
  10182. checkTwowayOnly__("nameToId");
  10183. delBase__ = getDelegate__(false);
  10184. ServerUpdatingAuthenticatorDel_ del__ = (ServerUpdatingAuthenticatorDel_)delBase__;
  10185. return del__.nameToId(name, context__);
  10186. }
  10187. catch (IceInternal.LocalExceptionWrapper ex__)
  10188. {
  10189. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  10190. }
  10191. catch (Ice.LocalException ex__)
  10192. {
  10193. handleException__(delBase__, ex__, true, ref cnt__);
  10194. }
  10195. }
  10196. }
  10197.  
  10198. /// <summary>
  10199. /// Get a list of registered users matching filter.
  10200. /// </summary>
  10201. /// <param name="filter">Substring usernames must contain. If empty, return all registered users.
  10202. /// </param>
  10203. /// <returns>List of matching registered users.</returns>
  10204.  
  10205. public _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter)
  10206. {
  10207. return getRegisteredUsers(filter, null, false);
  10208. }
  10209.  
  10210. /// <summary>
  10211. /// Get a list of registered users matching filter.
  10212. /// </summary>
  10213. /// <param name="filter">Substring usernames must contain. If empty, return all registered users.
  10214. /// </param>
  10215. /// <returns>List of matching registered users.</returns>
  10216. /// <param name="context__">The Context map to send with the invocation.</param>
  10217.  
  10218. public _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__)
  10219. {
  10220. return getRegisteredUsers(filter, context__, true);
  10221. }
  10222.  
  10223. private _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  10224. {
  10225. if (explicitContext__ && context__ == null)
  10226. {
  10227. context__ = emptyContext_;
  10228. }
  10229. int cnt__ = 0;
  10230. while (true)
  10231. {
  10232. Ice.ObjectDel_ delBase__ = null;
  10233. try
  10234. {
  10235. checkTwowayOnly__("getRegisteredUsers");
  10236. delBase__ = getDelegate__(false);
  10237. ServerUpdatingAuthenticatorDel_ del__ = (ServerUpdatingAuthenticatorDel_)delBase__;
  10238. return del__.getRegisteredUsers(filter, context__);
  10239. }
  10240. catch (IceInternal.LocalExceptionWrapper ex__)
  10241. {
  10242. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  10243. }
  10244. catch (Ice.LocalException ex__)
  10245. {
  10246. handleException__(delBase__, ex__, true, ref cnt__);
  10247. }
  10248. }
  10249. }
  10250.  
  10251. /// <summary>
  10252. /// Register a new user.
  10253. /// </summary>
  10254. /// <param name="info">Information about user to register.
  10255. /// </param>
  10256. /// <returns>User id of new user, -1 for registration failure, or -2 to fall through.</returns>
  10257.  
  10258. public int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  10259. {
  10260. return registerUser(info, null, false);
  10261. }
  10262.  
  10263. /// <summary>
  10264. /// Register a new user.
  10265. /// </summary>
  10266. /// <param name="info">Information about user to register.
  10267. /// </param>
  10268. /// <returns>User id of new user, -1 for registration failure, or -2 to fall through.</returns>
  10269. /// <param name="context__">The Context map to send with the invocation.</param>
  10270.  
  10271. public int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  10272. {
  10273. return registerUser(info, context__, true);
  10274. }
  10275.  
  10276. private int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  10277. {
  10278. if (explicitContext__ && context__ == null)
  10279. {
  10280. context__ = emptyContext_;
  10281. }
  10282. int cnt__ = 0;
  10283. while (true)
  10284. {
  10285. Ice.ObjectDel_ delBase__ = null;
  10286. try
  10287. {
  10288. checkTwowayOnly__("registerUser");
  10289. delBase__ = getDelegate__(false);
  10290. ServerUpdatingAuthenticatorDel_ del__ = (ServerUpdatingAuthenticatorDel_)delBase__;
  10291. return del__.registerUser(info, context__);
  10292. }
  10293. catch (IceInternal.LocalExceptionWrapper ex__)
  10294. {
  10295. handleExceptionWrapper__(delBase__, ex__);
  10296. }
  10297. catch (Ice.LocalException ex__)
  10298. {
  10299. handleException__(delBase__, ex__, true, ref cnt__);
  10300. }
  10301. }
  10302. }
  10303.  
  10304. /// <summary>
  10305. /// Set additional information for user registration.
  10306. /// </summary>
  10307. /// <param name="id">Userid of registered user.
  10308. /// </param>
  10309. /// <param name="info">Information to set about user. This should be merged with existing information.
  10310. /// </param>
  10311. /// <returns>1 for successfull update, 0 for unsuccessfull update, -1 to fall through.</returns>
  10312.  
  10313. public int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  10314. {
  10315. return setInfo(id, info, null, false);
  10316. }
  10317.  
  10318. /// <summary>
  10319. /// Set additional information for user registration.
  10320. /// </summary>
  10321. /// <param name="id">Userid of registered user.
  10322. /// </param>
  10323. /// <param name="info">Information to set about user. This should be merged with existing information.
  10324. /// </param>
  10325. /// <returns>1 for successfull update, 0 for unsuccessfull update, -1 to fall through.</returns>
  10326. /// <param name="context__">The Context map to send with the invocation.</param>
  10327.  
  10328. public int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  10329. {
  10330. return setInfo(id, info, context__, true);
  10331. }
  10332.  
  10333. private int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  10334. {
  10335. if (explicitContext__ && context__ == null)
  10336. {
  10337. context__ = emptyContext_;
  10338. }
  10339. int cnt__ = 0;
  10340. while (true)
  10341. {
  10342. Ice.ObjectDel_ delBase__ = null;
  10343. try
  10344. {
  10345. checkTwowayOnly__("setInfo");
  10346. delBase__ = getDelegate__(false);
  10347. ServerUpdatingAuthenticatorDel_ del__ = (ServerUpdatingAuthenticatorDel_)delBase__;
  10348. return del__.setInfo(id, info, context__);
  10349. }
  10350. catch (IceInternal.LocalExceptionWrapper ex__)
  10351. {
  10352. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  10353. }
  10354. catch (Ice.LocalException ex__)
  10355. {
  10356. handleException__(delBase__, ex__, true, ref cnt__);
  10357. }
  10358. }
  10359. }
  10360.  
  10361. /// <summary>
  10362. /// Set texture (now called avatar) of user registration.
  10363. /// </summary>
  10364. /// <param name="id">registrationId of registered user.
  10365. /// </param>
  10366. /// <param name="tex">New texture.
  10367. /// </param>
  10368. /// <returns>1 for successfull update, 0 for unsuccessfull update, -1 to fall through.</returns>
  10369.  
  10370. public int setTexture(int id, byte[] tex)
  10371. {
  10372. return setTexture(id, tex, null, false);
  10373. }
  10374.  
  10375. /// <summary>
  10376. /// Set texture (now called avatar) of user registration.
  10377. /// </summary>
  10378. /// <param name="id">registrationId of registered user.
  10379. /// </param>
  10380. /// <param name="tex">New texture.
  10381. /// </param>
  10382. /// <returns>1 for successfull update, 0 for unsuccessfull update, -1 to fall through.</returns>
  10383. /// <param name="context__">The Context map to send with the invocation.</param>
  10384.  
  10385. public int setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__)
  10386. {
  10387. return setTexture(id, tex, context__, true);
  10388. }
  10389.  
  10390. private int setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  10391. {
  10392. if (explicitContext__ && context__ == null)
  10393. {
  10394. context__ = emptyContext_;
  10395. }
  10396. int cnt__ = 0;
  10397. while (true)
  10398. {
  10399. Ice.ObjectDel_ delBase__ = null;
  10400. try
  10401. {
  10402. checkTwowayOnly__("setTexture");
  10403. delBase__ = getDelegate__(false);
  10404. ServerUpdatingAuthenticatorDel_ del__ = (ServerUpdatingAuthenticatorDel_)delBase__;
  10405. return del__.setTexture(id, tex, context__);
  10406. }
  10407. catch (IceInternal.LocalExceptionWrapper ex__)
  10408. {
  10409. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  10410. }
  10411. catch (Ice.LocalException ex__)
  10412. {
  10413. handleException__(delBase__, ex__, true, ref cnt__);
  10414. }
  10415. }
  10416. }
  10417.  
  10418. /// <summary>
  10419. /// Unregister a user.
  10420. /// </summary>
  10421. /// <param name="id">Userid to unregister.
  10422. /// </param>
  10423. /// <returns>1 for successfull unregistration, 0 for unsuccessfull unregistration, -1 to fall through.</returns>
  10424.  
  10425. public int unregisterUser(int id)
  10426. {
  10427. return unregisterUser(id, null, false);
  10428. }
  10429.  
  10430. /// <summary>
  10431. /// Unregister a user.
  10432. /// </summary>
  10433. /// <param name="id">Userid to unregister.
  10434. /// </param>
  10435. /// <returns>1 for successfull unregistration, 0 for unsuccessfull unregistration, -1 to fall through.</returns>
  10436. /// <param name="context__">The Context map to send with the invocation.</param>
  10437.  
  10438. public int unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  10439. {
  10440. return unregisterUser(id, context__, true);
  10441. }
  10442.  
  10443. private int unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  10444. {
  10445. if (explicitContext__ && context__ == null)
  10446. {
  10447. context__ = emptyContext_;
  10448. }
  10449. int cnt__ = 0;
  10450. while (true)
  10451. {
  10452. Ice.ObjectDel_ delBase__ = null;
  10453. try
  10454. {
  10455. checkTwowayOnly__("unregisterUser");
  10456. delBase__ = getDelegate__(false);
  10457. ServerUpdatingAuthenticatorDel_ del__ = (ServerUpdatingAuthenticatorDel_)delBase__;
  10458. return del__.unregisterUser(id, context__);
  10459. }
  10460. catch (IceInternal.LocalExceptionWrapper ex__)
  10461. {
  10462. handleExceptionWrapper__(delBase__, ex__);
  10463. }
  10464. catch (Ice.LocalException ex__)
  10465. {
  10466. handleException__(delBase__, ex__, true, ref cnt__);
  10467. }
  10468. }
  10469. }
  10470.  
  10471. #endregion
  10472.  
  10473. #region Asynchronous operations
  10474.  
  10475. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_authenticate> begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong)
  10476. {
  10477. return begin_authenticate(name, pw, certificates, certhash, certstrong, null, false, null, null);
  10478. }
  10479.  
  10480. /// <summary>
  10481. /// Called to authenticate a user.
  10482. /// If you do not know the username in question, always return -2 from this
  10483. /// </summary>
  10484. /// <param name="name">Username to authenticate.
  10485. /// </param>
  10486. /// <param name="pw">Password to authenticate with.
  10487. /// </param>
  10488. /// <param name="certificates">List of der encoded certificates the user connected with.
  10489. /// </param>
  10490. /// <param name="certhash">Hash of user certificate, as used by murmur internally when matching.
  10491. /// </param>
  10492. /// <param name="certstrong">True if certificate was valid and signed by a trusted CA.
  10493. /// </param>
  10494. /// <param name="ctx__">The Context map to send with the invocation.</param>
  10495. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_authenticate> begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, _System.Collections.Generic.Dictionary<string, string> ctx__)
  10496. {
  10497. return begin_authenticate(name, pw, certificates, certhash, certstrong, ctx__, true, null, null);
  10498. }
  10499.  
  10500. public Ice.AsyncResult begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, Ice.AsyncCallback cb__, object cookie__)
  10501. {
  10502. return begin_authenticate(name, pw, certificates, certhash, certstrong, null, false, cb__, cookie__);
  10503. }
  10504.  
  10505. public Ice.AsyncResult begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  10506. {
  10507. return begin_authenticate(name, pw, certificates, certhash, certstrong, ctx__, true, cb__, cookie__);
  10508. }
  10509.  
  10510. private const string __authenticate_name = "authenticate";
  10511.  
  10512. public int end_authenticate(out string newname, out string[] groups, Ice.AsyncResult r__)
  10513. {
  10514. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  10515. IceInternal.OutgoingAsync.check__(outAsync__, this, __authenticate_name);
  10516. if (!outAsync__.wait__())
  10517. {
  10518. try
  10519. {
  10520. outAsync__.throwUserException__();
  10521. }
  10522. catch (Ice.UserException ex__)
  10523. {
  10524. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  10525. }
  10526. }
  10527. int ret__;
  10528. IceInternal.BasicStream is__ = outAsync__.istr__;
  10529. is__.startReadEncaps();
  10530. newname = is__.readString();
  10531. groups = is__.readStringSeq();
  10532. ret__ = is__.readInt();
  10533. is__.endReadEncaps();
  10534. return ret__;
  10535. }
  10536.  
  10537. private Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_authenticate> begin_authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  10538. {
  10539. checkAsyncTwowayOnly__(__authenticate_name);
  10540. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_authenticate> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_authenticate>(this, __authenticate_name, authenticate_completed__, cookie__);
  10541. if (cb__ != null)
  10542. {
  10543. result__.whenCompletedWithAsyncCallback(cb__);
  10544. }
  10545. try
  10546. {
  10547. result__.prepare__(__authenticate_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  10548. IceInternal.BasicStream os__ = result__.ostr__;
  10549. os__.writeString(name);
  10550. os__.writeString(pw);
  10551. if (certificates == null)
  10552. {
  10553. os__.writeSize(0);
  10554. }
  10555. else
  10556. {
  10557. os__.writeSize(certificates.Length);
  10558. for (int ix__ = 0; ix__ < certificates.Length; ++ix__)
  10559. {
  10560. Murmur.CertificateDerHelper.write(os__, certificates[ix__]);
  10561. }
  10562. }
  10563. os__.writeString(certhash);
  10564. os__.writeBool(certstrong);
  10565. os__.endWriteEncaps();
  10566. result__.send__(true);
  10567. }
  10568. catch (Ice.LocalException ex__)
  10569. {
  10570. result__.exceptionAsync__(ex__);
  10571. }
  10572. return result__;
  10573. }
  10574.  
  10575. private void authenticate_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerAuthenticator_authenticate cb__, Ice.ExceptionCallback excb__)
  10576. {
  10577. string newname;
  10578. string[] groups;
  10579. int ret__;
  10580. try
  10581. {
  10582. ret__ = end_authenticate(out newname, out groups, r__);
  10583. }
  10584. catch (Ice.Exception ex__)
  10585. {
  10586. if (excb__ != null)
  10587. {
  10588. excb__(ex__);
  10589. }
  10590. return;
  10591. }
  10592. if (cb__ != null)
  10593. {
  10594. cb__(ret__, newname, groups);
  10595. }
  10596. }
  10597.  
  10598. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_getInfo> begin_getInfo(int id)
  10599. {
  10600. return begin_getInfo(id, null, false, null, null);
  10601. }
  10602.  
  10603. /// <summary>
  10604. /// Fetch information about a user.
  10605. /// This is used to retrieve information like email address, keyhash etc. If you
  10606. /// </summary>
  10607. /// <param name="id">User id.
  10608. /// </param>
  10609. /// <param name="ctx__">The Context map to send with the invocation.</param>
  10610. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_getInfo> begin_getInfo(int id, _System.Collections.Generic.Dictionary<string, string> ctx__)
  10611. {
  10612. return begin_getInfo(id, ctx__, true, null, null);
  10613. }
  10614.  
  10615. public Ice.AsyncResult begin_getInfo(int id, Ice.AsyncCallback cb__, object cookie__)
  10616. {
  10617. return begin_getInfo(id, null, false, cb__, cookie__);
  10618. }
  10619.  
  10620. public Ice.AsyncResult begin_getInfo(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  10621. {
  10622. return begin_getInfo(id, ctx__, true, cb__, cookie__);
  10623. }
  10624.  
  10625. private const string __getInfo_name = "getInfo";
  10626.  
  10627. public bool end_getInfo(out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncResult r__)
  10628. {
  10629. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  10630. IceInternal.OutgoingAsync.check__(outAsync__, this, __getInfo_name);
  10631. if (!outAsync__.wait__())
  10632. {
  10633. try
  10634. {
  10635. outAsync__.throwUserException__();
  10636. }
  10637. catch (Ice.UserException ex__)
  10638. {
  10639. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  10640. }
  10641. }
  10642. bool ret__;
  10643. IceInternal.BasicStream is__ = outAsync__.istr__;
  10644. is__.startReadEncaps();
  10645. info = Murmur.UserInfoMapHelper.read(is__);
  10646. ret__ = is__.readBool();
  10647. is__.endReadEncaps();
  10648. return ret__;
  10649. }
  10650.  
  10651. private Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_getInfo> begin_getInfo(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  10652. {
  10653. checkAsyncTwowayOnly__(__getInfo_name);
  10654. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_getInfo> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_getInfo>(this, __getInfo_name, getInfo_completed__, cookie__);
  10655. if (cb__ != null)
  10656. {
  10657. result__.whenCompletedWithAsyncCallback(cb__);
  10658. }
  10659. try
  10660. {
  10661. result__.prepare__(__getInfo_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  10662. IceInternal.BasicStream os__ = result__.ostr__;
  10663. os__.writeInt(id);
  10664. os__.endWriteEncaps();
  10665. result__.send__(true);
  10666. }
  10667. catch (Ice.LocalException ex__)
  10668. {
  10669. result__.exceptionAsync__(ex__);
  10670. }
  10671. return result__;
  10672. }
  10673.  
  10674. private void getInfo_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerAuthenticator_getInfo cb__, Ice.ExceptionCallback excb__)
  10675. {
  10676. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info;
  10677. bool ret__;
  10678. try
  10679. {
  10680. ret__ = end_getInfo(out info, r__);
  10681. }
  10682. catch (Ice.Exception ex__)
  10683. {
  10684. if (excb__ != null)
  10685. {
  10686. excb__(ex__);
  10687. }
  10688. return;
  10689. }
  10690. if (cb__ != null)
  10691. {
  10692. cb__(ret__, info);
  10693. }
  10694. }
  10695.  
  10696. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToName> begin_idToName(int id)
  10697. {
  10698. return begin_idToName(id, null, false, null, null);
  10699. }
  10700.  
  10701. /// <summary>
  10702. /// Map a user id to a username.
  10703. /// </summary>
  10704. /// <param name="id">User id to map.
  10705. /// </param>
  10706. /// <param name="ctx__">The Context map to send with the invocation.</param>
  10707. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToName> begin_idToName(int id, _System.Collections.Generic.Dictionary<string, string> ctx__)
  10708. {
  10709. return begin_idToName(id, ctx__, true, null, null);
  10710. }
  10711.  
  10712. public Ice.AsyncResult begin_idToName(int id, Ice.AsyncCallback cb__, object cookie__)
  10713. {
  10714. return begin_idToName(id, null, false, cb__, cookie__);
  10715. }
  10716.  
  10717. public Ice.AsyncResult begin_idToName(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  10718. {
  10719. return begin_idToName(id, ctx__, true, cb__, cookie__);
  10720. }
  10721.  
  10722. private const string __idToName_name = "idToName";
  10723.  
  10724. public string end_idToName(Ice.AsyncResult r__)
  10725. {
  10726. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  10727. IceInternal.OutgoingAsync.check__(outAsync__, this, __idToName_name);
  10728. if (!outAsync__.wait__())
  10729. {
  10730. try
  10731. {
  10732. outAsync__.throwUserException__();
  10733. }
  10734. catch (Ice.UserException ex__)
  10735. {
  10736. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  10737. }
  10738. }
  10739. string ret__;
  10740. IceInternal.BasicStream is__ = outAsync__.istr__;
  10741. is__.startReadEncaps();
  10742. ret__ = is__.readString();
  10743. is__.endReadEncaps();
  10744. return ret__;
  10745. }
  10746.  
  10747. private Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToName> begin_idToName(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  10748. {
  10749. checkAsyncTwowayOnly__(__idToName_name);
  10750. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_idToName> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_idToName>(this, __idToName_name, idToName_completed__, cookie__);
  10751. if (cb__ != null)
  10752. {
  10753. result__.whenCompletedWithAsyncCallback(cb__);
  10754. }
  10755. try
  10756. {
  10757. result__.prepare__(__idToName_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  10758. IceInternal.BasicStream os__ = result__.ostr__;
  10759. os__.writeInt(id);
  10760. os__.endWriteEncaps();
  10761. result__.send__(true);
  10762. }
  10763. catch (Ice.LocalException ex__)
  10764. {
  10765. result__.exceptionAsync__(ex__);
  10766. }
  10767. return result__;
  10768. }
  10769.  
  10770. private void idToName_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerAuthenticator_idToName cb__, Ice.ExceptionCallback excb__)
  10771. {
  10772. string ret__;
  10773. try
  10774. {
  10775. ret__ = end_idToName(r__);
  10776. }
  10777. catch (Ice.Exception ex__)
  10778. {
  10779. if (excb__ != null)
  10780. {
  10781. excb__(ex__);
  10782. }
  10783. return;
  10784. }
  10785. if (cb__ != null)
  10786. {
  10787. cb__(ret__);
  10788. }
  10789. }
  10790.  
  10791. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToTexture> begin_idToTexture(int id)
  10792. {
  10793. return begin_idToTexture(id, null, false, null, null);
  10794. }
  10795.  
  10796. /// <summary>
  10797. /// Map a user to a custom Texture.
  10798. /// </summary>
  10799. /// <param name="id">User id to map.
  10800. /// </param>
  10801. /// <param name="ctx__">The Context map to send with the invocation.</param>
  10802. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToTexture> begin_idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> ctx__)
  10803. {
  10804. return begin_idToTexture(id, ctx__, true, null, null);
  10805. }
  10806.  
  10807. public Ice.AsyncResult begin_idToTexture(int id, Ice.AsyncCallback cb__, object cookie__)
  10808. {
  10809. return begin_idToTexture(id, null, false, cb__, cookie__);
  10810. }
  10811.  
  10812. public Ice.AsyncResult begin_idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  10813. {
  10814. return begin_idToTexture(id, ctx__, true, cb__, cookie__);
  10815. }
  10816.  
  10817. private const string __idToTexture_name = "idToTexture";
  10818.  
  10819. public byte[] end_idToTexture(Ice.AsyncResult r__)
  10820. {
  10821. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  10822. IceInternal.OutgoingAsync.check__(outAsync__, this, __idToTexture_name);
  10823. if (!outAsync__.wait__())
  10824. {
  10825. try
  10826. {
  10827. outAsync__.throwUserException__();
  10828. }
  10829. catch (Ice.UserException ex__)
  10830. {
  10831. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  10832. }
  10833. }
  10834. byte[] ret__;
  10835. IceInternal.BasicStream is__ = outAsync__.istr__;
  10836. is__.startReadEncaps();
  10837. ret__ = is__.readByteSeq();
  10838. is__.endReadEncaps();
  10839. return ret__;
  10840. }
  10841.  
  10842. private Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_idToTexture> begin_idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  10843. {
  10844. checkAsyncTwowayOnly__(__idToTexture_name);
  10845. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_idToTexture> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_idToTexture>(this, __idToTexture_name, idToTexture_completed__, cookie__);
  10846. if (cb__ != null)
  10847. {
  10848. result__.whenCompletedWithAsyncCallback(cb__);
  10849. }
  10850. try
  10851. {
  10852. result__.prepare__(__idToTexture_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  10853. IceInternal.BasicStream os__ = result__.ostr__;
  10854. os__.writeInt(id);
  10855. os__.endWriteEncaps();
  10856. result__.send__(true);
  10857. }
  10858. catch (Ice.LocalException ex__)
  10859. {
  10860. result__.exceptionAsync__(ex__);
  10861. }
  10862. return result__;
  10863. }
  10864.  
  10865. private void idToTexture_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerAuthenticator_idToTexture cb__, Ice.ExceptionCallback excb__)
  10866. {
  10867. byte[] ret__;
  10868. try
  10869. {
  10870. ret__ = end_idToTexture(r__);
  10871. }
  10872. catch (Ice.Exception ex__)
  10873. {
  10874. if (excb__ != null)
  10875. {
  10876. excb__(ex__);
  10877. }
  10878. return;
  10879. }
  10880. if (cb__ != null)
  10881. {
  10882. cb__(ret__);
  10883. }
  10884. }
  10885.  
  10886. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_nameToId> begin_nameToId(string name)
  10887. {
  10888. return begin_nameToId(name, null, false, null, null);
  10889. }
  10890.  
  10891. /// <summary>
  10892. /// Map a name to a user id.
  10893. /// </summary>
  10894. /// <param name="name">Username to map.
  10895. /// </param>
  10896. /// <param name="ctx__">The Context map to send with the invocation.</param>
  10897. public Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_nameToId> begin_nameToId(string name, _System.Collections.Generic.Dictionary<string, string> ctx__)
  10898. {
  10899. return begin_nameToId(name, ctx__, true, null, null);
  10900. }
  10901.  
  10902. public Ice.AsyncResult begin_nameToId(string name, Ice.AsyncCallback cb__, object cookie__)
  10903. {
  10904. return begin_nameToId(name, null, false, cb__, cookie__);
  10905. }
  10906.  
  10907. public Ice.AsyncResult begin_nameToId(string name, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  10908. {
  10909. return begin_nameToId(name, ctx__, true, cb__, cookie__);
  10910. }
  10911.  
  10912. private const string __nameToId_name = "nameToId";
  10913.  
  10914. public int end_nameToId(Ice.AsyncResult r__)
  10915. {
  10916. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  10917. IceInternal.OutgoingAsync.check__(outAsync__, this, __nameToId_name);
  10918. if (!outAsync__.wait__())
  10919. {
  10920. try
  10921. {
  10922. outAsync__.throwUserException__();
  10923. }
  10924. catch (Ice.UserException ex__)
  10925. {
  10926. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  10927. }
  10928. }
  10929. int ret__;
  10930. IceInternal.BasicStream is__ = outAsync__.istr__;
  10931. is__.startReadEncaps();
  10932. ret__ = is__.readInt();
  10933. is__.endReadEncaps();
  10934. return ret__;
  10935. }
  10936.  
  10937. private Ice.AsyncResult<Murmur.Callback_ServerAuthenticator_nameToId> begin_nameToId(string name, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  10938. {
  10939. checkAsyncTwowayOnly__(__nameToId_name);
  10940. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_nameToId> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerAuthenticator_nameToId>(this, __nameToId_name, nameToId_completed__, cookie__);
  10941. if (cb__ != null)
  10942. {
  10943. result__.whenCompletedWithAsyncCallback(cb__);
  10944. }
  10945. try
  10946. {
  10947. result__.prepare__(__nameToId_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  10948. IceInternal.BasicStream os__ = result__.ostr__;
  10949. os__.writeString(name);
  10950. os__.endWriteEncaps();
  10951. result__.send__(true);
  10952. }
  10953. catch (Ice.LocalException ex__)
  10954. {
  10955. result__.exceptionAsync__(ex__);
  10956. }
  10957. return result__;
  10958. }
  10959.  
  10960. private void nameToId_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerAuthenticator_nameToId cb__, Ice.ExceptionCallback excb__)
  10961. {
  10962. int ret__;
  10963. try
  10964. {
  10965. ret__ = end_nameToId(r__);
  10966. }
  10967. catch (Ice.Exception ex__)
  10968. {
  10969. if (excb__ != null)
  10970. {
  10971. excb__(ex__);
  10972. }
  10973. return;
  10974. }
  10975. if (cb__ != null)
  10976. {
  10977. cb__(ret__);
  10978. }
  10979. }
  10980.  
  10981. public Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_getRegisteredUsers> begin_getRegisteredUsers(string filter)
  10982. {
  10983. return begin_getRegisteredUsers(filter, null, false, null, null);
  10984. }
  10985.  
  10986. /// <summary>
  10987. /// Get a list of registered users matching filter.
  10988. /// </summary>
  10989. /// <param name="filter">Substring usernames must contain. If empty, return all registered users.
  10990. /// </param>
  10991. /// <param name="ctx__">The Context map to send with the invocation.</param>
  10992. public Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_getRegisteredUsers> begin_getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> ctx__)
  10993. {
  10994. return begin_getRegisteredUsers(filter, ctx__, true, null, null);
  10995. }
  10996.  
  10997. public Ice.AsyncResult begin_getRegisteredUsers(string filter, Ice.AsyncCallback cb__, object cookie__)
  10998. {
  10999. return begin_getRegisteredUsers(filter, null, false, cb__, cookie__);
  11000. }
  11001.  
  11002. public Ice.AsyncResult begin_getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  11003. {
  11004. return begin_getRegisteredUsers(filter, ctx__, true, cb__, cookie__);
  11005. }
  11006.  
  11007. private const string __getRegisteredUsers_name = "getRegisteredUsers";
  11008.  
  11009. public _System.Collections.Generic.Dictionary<int, string> end_getRegisteredUsers(Ice.AsyncResult r__)
  11010. {
  11011. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  11012. IceInternal.OutgoingAsync.check__(outAsync__, this, __getRegisteredUsers_name);
  11013. if (!outAsync__.wait__())
  11014. {
  11015. try
  11016. {
  11017. outAsync__.throwUserException__();
  11018. }
  11019. catch (Ice.UserException ex__)
  11020. {
  11021. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  11022. }
  11023. }
  11024. _System.Collections.Generic.Dictionary<int, string> ret__;
  11025. IceInternal.BasicStream is__ = outAsync__.istr__;
  11026. is__.startReadEncaps();
  11027. ret__ = Murmur.NameMapHelper.read(is__);
  11028. is__.endReadEncaps();
  11029. return ret__;
  11030. }
  11031.  
  11032. private Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_getRegisteredUsers> begin_getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  11033. {
  11034. checkAsyncTwowayOnly__(__getRegisteredUsers_name);
  11035. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerUpdatingAuthenticator_getRegisteredUsers> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerUpdatingAuthenticator_getRegisteredUsers>(this, __getRegisteredUsers_name, getRegisteredUsers_completed__, cookie__);
  11036. if (cb__ != null)
  11037. {
  11038. result__.whenCompletedWithAsyncCallback(cb__);
  11039. }
  11040. try
  11041. {
  11042. result__.prepare__(__getRegisteredUsers_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  11043. IceInternal.BasicStream os__ = result__.ostr__;
  11044. os__.writeString(filter);
  11045. os__.endWriteEncaps();
  11046. result__.send__(true);
  11047. }
  11048. catch (Ice.LocalException ex__)
  11049. {
  11050. result__.exceptionAsync__(ex__);
  11051. }
  11052. return result__;
  11053. }
  11054.  
  11055. private void getRegisteredUsers_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerUpdatingAuthenticator_getRegisteredUsers cb__, Ice.ExceptionCallback excb__)
  11056. {
  11057. _System.Collections.Generic.Dictionary<int, string> ret__;
  11058. try
  11059. {
  11060. ret__ = end_getRegisteredUsers(r__);
  11061. }
  11062. catch (Ice.Exception ex__)
  11063. {
  11064. if (excb__ != null)
  11065. {
  11066. excb__(ex__);
  11067. }
  11068. return;
  11069. }
  11070. if (cb__ != null)
  11071. {
  11072. cb__(ret__);
  11073. }
  11074. }
  11075.  
  11076. public Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_registerUser> begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  11077. {
  11078. return begin_registerUser(info, null, false, null, null);
  11079. }
  11080.  
  11081. /// <summary>
  11082. /// Register a new user.
  11083. /// </summary>
  11084. /// <param name="info">Information about user to register.
  11085. /// </param>
  11086. /// <param name="ctx__">The Context map to send with the invocation.</param>
  11087. public Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_registerUser> begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__)
  11088. {
  11089. return begin_registerUser(info, ctx__, true, null, null);
  11090. }
  11091.  
  11092. public Ice.AsyncResult begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncCallback cb__, object cookie__)
  11093. {
  11094. return begin_registerUser(info, null, false, cb__, cookie__);
  11095. }
  11096.  
  11097. public Ice.AsyncResult begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  11098. {
  11099. return begin_registerUser(info, ctx__, true, cb__, cookie__);
  11100. }
  11101.  
  11102. private const string __registerUser_name = "registerUser";
  11103.  
  11104. public int end_registerUser(Ice.AsyncResult r__)
  11105. {
  11106. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  11107. IceInternal.OutgoingAsync.check__(outAsync__, this, __registerUser_name);
  11108. if (!outAsync__.wait__())
  11109. {
  11110. try
  11111. {
  11112. outAsync__.throwUserException__();
  11113. }
  11114. catch (Ice.UserException ex__)
  11115. {
  11116. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  11117. }
  11118. }
  11119. int ret__;
  11120. IceInternal.BasicStream is__ = outAsync__.istr__;
  11121. is__.startReadEncaps();
  11122. ret__ = is__.readInt();
  11123. is__.endReadEncaps();
  11124. return ret__;
  11125. }
  11126.  
  11127. private Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_registerUser> begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  11128. {
  11129. checkAsyncTwowayOnly__(__registerUser_name);
  11130. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerUpdatingAuthenticator_registerUser> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerUpdatingAuthenticator_registerUser>(this, __registerUser_name, registerUser_completed__, cookie__);
  11131. if (cb__ != null)
  11132. {
  11133. result__.whenCompletedWithAsyncCallback(cb__);
  11134. }
  11135. try
  11136. {
  11137. result__.prepare__(__registerUser_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  11138. IceInternal.BasicStream os__ = result__.ostr__;
  11139. Murmur.UserInfoMapHelper.write(os__, info);
  11140. os__.endWriteEncaps();
  11141. result__.send__(true);
  11142. }
  11143. catch (Ice.LocalException ex__)
  11144. {
  11145. result__.exceptionAsync__(ex__);
  11146. }
  11147. return result__;
  11148. }
  11149.  
  11150. private void registerUser_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerUpdatingAuthenticator_registerUser cb__, Ice.ExceptionCallback excb__)
  11151. {
  11152. int ret__;
  11153. try
  11154. {
  11155. ret__ = end_registerUser(r__);
  11156. }
  11157. catch (Ice.Exception ex__)
  11158. {
  11159. if (excb__ != null)
  11160. {
  11161. excb__(ex__);
  11162. }
  11163. return;
  11164. }
  11165. if (cb__ != null)
  11166. {
  11167. cb__(ret__);
  11168. }
  11169. }
  11170.  
  11171. public Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_setInfo> begin_setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  11172. {
  11173. return begin_setInfo(id, info, null, false, null, null);
  11174. }
  11175.  
  11176. /// <summary>
  11177. /// Set additional information for user registration.
  11178. /// </summary>
  11179. /// <param name="id">Userid of registered user.
  11180. /// </param>
  11181. /// <param name="info">Information to set about user. This should be merged with existing information.
  11182. /// </param>
  11183. /// <param name="ctx__">The Context map to send with the invocation.</param>
  11184. public Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_setInfo> begin_setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__)
  11185. {
  11186. return begin_setInfo(id, info, ctx__, true, null, null);
  11187. }
  11188.  
  11189. public Ice.AsyncResult begin_setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncCallback cb__, object cookie__)
  11190. {
  11191. return begin_setInfo(id, info, null, false, cb__, cookie__);
  11192. }
  11193.  
  11194. public Ice.AsyncResult begin_setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  11195. {
  11196. return begin_setInfo(id, info, ctx__, true, cb__, cookie__);
  11197. }
  11198.  
  11199. private const string __setInfo_name = "setInfo";
  11200.  
  11201. public int end_setInfo(Ice.AsyncResult r__)
  11202. {
  11203. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  11204. IceInternal.OutgoingAsync.check__(outAsync__, this, __setInfo_name);
  11205. if (!outAsync__.wait__())
  11206. {
  11207. try
  11208. {
  11209. outAsync__.throwUserException__();
  11210. }
  11211. catch (Ice.UserException ex__)
  11212. {
  11213. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  11214. }
  11215. }
  11216. int ret__;
  11217. IceInternal.BasicStream is__ = outAsync__.istr__;
  11218. is__.startReadEncaps();
  11219. ret__ = is__.readInt();
  11220. is__.endReadEncaps();
  11221. return ret__;
  11222. }
  11223.  
  11224. private Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_setInfo> begin_setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  11225. {
  11226. checkAsyncTwowayOnly__(__setInfo_name);
  11227. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerUpdatingAuthenticator_setInfo> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerUpdatingAuthenticator_setInfo>(this, __setInfo_name, setInfo_completed__, cookie__);
  11228. if (cb__ != null)
  11229. {
  11230. result__.whenCompletedWithAsyncCallback(cb__);
  11231. }
  11232. try
  11233. {
  11234. result__.prepare__(__setInfo_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  11235. IceInternal.BasicStream os__ = result__.ostr__;
  11236. os__.writeInt(id);
  11237. Murmur.UserInfoMapHelper.write(os__, info);
  11238. os__.endWriteEncaps();
  11239. result__.send__(true);
  11240. }
  11241. catch (Ice.LocalException ex__)
  11242. {
  11243. result__.exceptionAsync__(ex__);
  11244. }
  11245. return result__;
  11246. }
  11247.  
  11248. private void setInfo_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerUpdatingAuthenticator_setInfo cb__, Ice.ExceptionCallback excb__)
  11249. {
  11250. int ret__;
  11251. try
  11252. {
  11253. ret__ = end_setInfo(r__);
  11254. }
  11255. catch (Ice.Exception ex__)
  11256. {
  11257. if (excb__ != null)
  11258. {
  11259. excb__(ex__);
  11260. }
  11261. return;
  11262. }
  11263. if (cb__ != null)
  11264. {
  11265. cb__(ret__);
  11266. }
  11267. }
  11268.  
  11269. public Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_setTexture> begin_setTexture(int id, byte[] tex)
  11270. {
  11271. return begin_setTexture(id, tex, null, false, null, null);
  11272. }
  11273.  
  11274. /// <summary>
  11275. /// Set texture (now called avatar) of user registration.
  11276. /// </summary>
  11277. /// <param name="id">registrationId of registered user.
  11278. /// </param>
  11279. /// <param name="tex">New texture.
  11280. /// </param>
  11281. /// <param name="ctx__">The Context map to send with the invocation.</param>
  11282. public Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_setTexture> begin_setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> ctx__)
  11283. {
  11284. return begin_setTexture(id, tex, ctx__, true, null, null);
  11285. }
  11286.  
  11287. public Ice.AsyncResult begin_setTexture(int id, byte[] tex, Ice.AsyncCallback cb__, object cookie__)
  11288. {
  11289. return begin_setTexture(id, tex, null, false, cb__, cookie__);
  11290. }
  11291.  
  11292. public Ice.AsyncResult begin_setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  11293. {
  11294. return begin_setTexture(id, tex, ctx__, true, cb__, cookie__);
  11295. }
  11296.  
  11297. private const string __setTexture_name = "setTexture";
  11298.  
  11299. public int end_setTexture(Ice.AsyncResult r__)
  11300. {
  11301. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  11302. IceInternal.OutgoingAsync.check__(outAsync__, this, __setTexture_name);
  11303. if (!outAsync__.wait__())
  11304. {
  11305. try
  11306. {
  11307. outAsync__.throwUserException__();
  11308. }
  11309. catch (Ice.UserException ex__)
  11310. {
  11311. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  11312. }
  11313. }
  11314. int ret__;
  11315. IceInternal.BasicStream is__ = outAsync__.istr__;
  11316. is__.startReadEncaps();
  11317. ret__ = is__.readInt();
  11318. is__.endReadEncaps();
  11319. return ret__;
  11320. }
  11321.  
  11322. private Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_setTexture> begin_setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  11323. {
  11324. checkAsyncTwowayOnly__(__setTexture_name);
  11325. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerUpdatingAuthenticator_setTexture> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerUpdatingAuthenticator_setTexture>(this, __setTexture_name, setTexture_completed__, cookie__);
  11326. if (cb__ != null)
  11327. {
  11328. result__.whenCompletedWithAsyncCallback(cb__);
  11329. }
  11330. try
  11331. {
  11332. result__.prepare__(__setTexture_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  11333. IceInternal.BasicStream os__ = result__.ostr__;
  11334. os__.writeInt(id);
  11335. os__.writeByteSeq(tex);
  11336. os__.endWriteEncaps();
  11337. result__.send__(true);
  11338. }
  11339. catch (Ice.LocalException ex__)
  11340. {
  11341. result__.exceptionAsync__(ex__);
  11342. }
  11343. return result__;
  11344. }
  11345.  
  11346. private void setTexture_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerUpdatingAuthenticator_setTexture cb__, Ice.ExceptionCallback excb__)
  11347. {
  11348. int ret__;
  11349. try
  11350. {
  11351. ret__ = end_setTexture(r__);
  11352. }
  11353. catch (Ice.Exception ex__)
  11354. {
  11355. if (excb__ != null)
  11356. {
  11357. excb__(ex__);
  11358. }
  11359. return;
  11360. }
  11361. if (cb__ != null)
  11362. {
  11363. cb__(ret__);
  11364. }
  11365. }
  11366.  
  11367. public Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_unregisterUser> begin_unregisterUser(int id)
  11368. {
  11369. return begin_unregisterUser(id, null, false, null, null);
  11370. }
  11371.  
  11372. /// <summary>
  11373. /// Unregister a user.
  11374. /// </summary>
  11375. /// <param name="id">Userid to unregister.
  11376. /// </param>
  11377. /// <param name="ctx__">The Context map to send with the invocation.</param>
  11378. public Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_unregisterUser> begin_unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> ctx__)
  11379. {
  11380. return begin_unregisterUser(id, ctx__, true, null, null);
  11381. }
  11382.  
  11383. public Ice.AsyncResult begin_unregisterUser(int id, Ice.AsyncCallback cb__, object cookie__)
  11384. {
  11385. return begin_unregisterUser(id, null, false, cb__, cookie__);
  11386. }
  11387.  
  11388. public Ice.AsyncResult begin_unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  11389. {
  11390. return begin_unregisterUser(id, ctx__, true, cb__, cookie__);
  11391. }
  11392.  
  11393. private const string __unregisterUser_name = "unregisterUser";
  11394.  
  11395. public int end_unregisterUser(Ice.AsyncResult r__)
  11396. {
  11397. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  11398. IceInternal.OutgoingAsync.check__(outAsync__, this, __unregisterUser_name);
  11399. if (!outAsync__.wait__())
  11400. {
  11401. try
  11402. {
  11403. outAsync__.throwUserException__();
  11404. }
  11405. catch (Ice.UserException ex__)
  11406. {
  11407. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  11408. }
  11409. }
  11410. int ret__;
  11411. IceInternal.BasicStream is__ = outAsync__.istr__;
  11412. is__.startReadEncaps();
  11413. ret__ = is__.readInt();
  11414. is__.endReadEncaps();
  11415. return ret__;
  11416. }
  11417.  
  11418. private Ice.AsyncResult<Murmur.Callback_ServerUpdatingAuthenticator_unregisterUser> begin_unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  11419. {
  11420. checkAsyncTwowayOnly__(__unregisterUser_name);
  11421. IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerUpdatingAuthenticator_unregisterUser> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_ServerUpdatingAuthenticator_unregisterUser>(this, __unregisterUser_name, unregisterUser_completed__, cookie__);
  11422. if (cb__ != null)
  11423. {
  11424. result__.whenCompletedWithAsyncCallback(cb__);
  11425. }
  11426. try
  11427. {
  11428. result__.prepare__(__unregisterUser_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  11429. IceInternal.BasicStream os__ = result__.ostr__;
  11430. os__.writeInt(id);
  11431. os__.endWriteEncaps();
  11432. result__.send__(true);
  11433. }
  11434. catch (Ice.LocalException ex__)
  11435. {
  11436. result__.exceptionAsync__(ex__);
  11437. }
  11438. return result__;
  11439. }
  11440.  
  11441. private void unregisterUser_completed__(Ice.AsyncResult r__, Murmur.Callback_ServerUpdatingAuthenticator_unregisterUser cb__, Ice.ExceptionCallback excb__)
  11442. {
  11443. int ret__;
  11444. try
  11445. {
  11446. ret__ = end_unregisterUser(r__);
  11447. }
  11448. catch (Ice.Exception ex__)
  11449. {
  11450. if (excb__ != null)
  11451. {
  11452. excb__(ex__);
  11453. }
  11454. return;
  11455. }
  11456. if (cb__ != null)
  11457. {
  11458. cb__(ret__);
  11459. }
  11460. }
  11461.  
  11462. #endregion
  11463.  
  11464. #region Checked and unchecked cast operations
  11465.  
  11466. public static ServerUpdatingAuthenticatorPrx checkedCast(Ice.ObjectPrx b)
  11467. {
  11468. if (b == null)
  11469. {
  11470. return null;
  11471. }
  11472. ServerUpdatingAuthenticatorPrx r = b as ServerUpdatingAuthenticatorPrx;
  11473. if ((r == null) && b.ice_isA(ice_staticId()))
  11474. {
  11475. ServerUpdatingAuthenticatorPrxHelper h = new ServerUpdatingAuthenticatorPrxHelper();
  11476. h.copyFrom__(b);
  11477. r = h;
  11478. }
  11479. return r;
  11480. }
  11481.  
  11482. public static ServerUpdatingAuthenticatorPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
  11483. {
  11484. if (b == null)
  11485. {
  11486. return null;
  11487. }
  11488. ServerUpdatingAuthenticatorPrx r = b as ServerUpdatingAuthenticatorPrx;
  11489. if ((r == null) && b.ice_isA(ice_staticId(), ctx))
  11490. {
  11491. ServerUpdatingAuthenticatorPrxHelper h = new ServerUpdatingAuthenticatorPrxHelper();
  11492. h.copyFrom__(b);
  11493. r = h;
  11494. }
  11495. return r;
  11496. }
  11497.  
  11498. public static ServerUpdatingAuthenticatorPrx checkedCast(Ice.ObjectPrx b, string f)
  11499. {
  11500. if (b == null)
  11501. {
  11502. return null;
  11503. }
  11504. Ice.ObjectPrx bb = b.ice_facet(f);
  11505. try
  11506. {
  11507. if (bb.ice_isA(ice_staticId()))
  11508. {
  11509. ServerUpdatingAuthenticatorPrxHelper h = new ServerUpdatingAuthenticatorPrxHelper();
  11510. h.copyFrom__(bb);
  11511. return h;
  11512. }
  11513. }
  11514. catch (Ice.FacetNotExistException)
  11515. {
  11516. }
  11517. return null;
  11518. }
  11519.  
  11520. public static ServerUpdatingAuthenticatorPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
  11521. {
  11522. if (b == null)
  11523. {
  11524. return null;
  11525. }
  11526. Ice.ObjectPrx bb = b.ice_facet(f);
  11527. try
  11528. {
  11529. if (bb.ice_isA(ice_staticId(), ctx))
  11530. {
  11531. ServerUpdatingAuthenticatorPrxHelper h = new ServerUpdatingAuthenticatorPrxHelper();
  11532. h.copyFrom__(bb);
  11533. return h;
  11534. }
  11535. }
  11536. catch (Ice.FacetNotExistException)
  11537. {
  11538. }
  11539. return null;
  11540. }
  11541.  
  11542. public static ServerUpdatingAuthenticatorPrx uncheckedCast(Ice.ObjectPrx b)
  11543. {
  11544. if (b == null)
  11545. {
  11546. return null;
  11547. }
  11548. ServerUpdatingAuthenticatorPrx r = b as ServerUpdatingAuthenticatorPrx;
  11549. if (r == null)
  11550. {
  11551. ServerUpdatingAuthenticatorPrxHelper h = new ServerUpdatingAuthenticatorPrxHelper();
  11552. h.copyFrom__(b);
  11553. r = h;
  11554. }
  11555. return r;
  11556. }
  11557.  
  11558. public static ServerUpdatingAuthenticatorPrx uncheckedCast(Ice.ObjectPrx b, string f)
  11559. {
  11560. if (b == null)
  11561. {
  11562. return null;
  11563. }
  11564. Ice.ObjectPrx bb = b.ice_facet(f);
  11565. ServerUpdatingAuthenticatorPrxHelper h = new ServerUpdatingAuthenticatorPrxHelper();
  11566. h.copyFrom__(bb);
  11567. return h;
  11568. }
  11569.  
  11570. public static readonly string[] ids__ =
  11571. {
  11572. "::Ice::Object",
  11573. "::Murmur::ServerAuthenticator",
  11574. "::Murmur::ServerUpdatingAuthenticator"
  11575. };
  11576.  
  11577. public static string ice_staticId()
  11578. {
  11579. return ids__[2];
  11580. }
  11581.  
  11582. #endregion
  11583.  
  11584. #region Marshaling support
  11585.  
  11586. protected override Ice.ObjectDelM_ createDelegateM__()
  11587. {
  11588. return new ServerUpdatingAuthenticatorDelM_();
  11589. }
  11590.  
  11591. protected override Ice.ObjectDelD_ createDelegateD__()
  11592. {
  11593. return new ServerUpdatingAuthenticatorDelD_();
  11594. }
  11595.  
  11596. public static void write__(IceInternal.BasicStream os__, ServerUpdatingAuthenticatorPrx v__)
  11597. {
  11598. os__.writeProxy(v__);
  11599. }
  11600.  
  11601. public static ServerUpdatingAuthenticatorPrx read__(IceInternal.BasicStream is__)
  11602. {
  11603. Ice.ObjectPrx proxy = is__.readProxy();
  11604. if (proxy != null)
  11605. {
  11606. ServerUpdatingAuthenticatorPrxHelper result = new ServerUpdatingAuthenticatorPrxHelper();
  11607. result.copyFrom__(proxy);
  11608. return result;
  11609. }
  11610. return null;
  11611. }
  11612.  
  11613. #endregion
  11614. }
  11615.  
  11616. /// <summary>
  11617. /// Per-server interface.
  11618. /// This includes all methods for configuring and altering
  11619. /// the state of a single virtual server. You can retrieve a pointer to this interface
  11620. /// from one of the methods in Meta.
  11621. /// </summary>
  11622.  
  11623. [_System.Runtime.InteropServices.ComVisible(false)]
  11624. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  11625. public sealed class ServerPrxHelper : Ice.ObjectPrxHelperBase, ServerPrx
  11626. {
  11627. #region Synchronous operations
  11628.  
  11629. /// <summary>
  11630. /// Add a callback.
  11631. /// The callback will receive notifications about changes to users and channels.
  11632. ///
  11633. /// </summary>
  11634. /// <param name="cb">Callback interface which will receive notifications.
  11635. /// </param>
  11636.  
  11637. public void addCallback(Murmur.ServerCallbackPrx cb)
  11638. {
  11639. addCallback(cb, null, false);
  11640. }
  11641.  
  11642. /// <summary>
  11643. /// Add a callback.
  11644. /// The callback will receive notifications about changes to users and channels.
  11645. ///
  11646. /// </summary>
  11647. /// <param name="cb">Callback interface which will receive notifications.
  11648. /// </param>
  11649. /// <param name="context__">The Context map to send with the invocation.</param>
  11650.  
  11651. public void addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  11652. {
  11653. addCallback(cb, context__, true);
  11654. }
  11655.  
  11656. private void addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  11657. {
  11658. if (explicitContext__ && context__ == null)
  11659. {
  11660. context__ = emptyContext_;
  11661. }
  11662. int cnt__ = 0;
  11663. while (true)
  11664. {
  11665. Ice.ObjectDel_ delBase__ = null;
  11666. try
  11667. {
  11668. checkTwowayOnly__("addCallback");
  11669. delBase__ = getDelegate__(false);
  11670. ServerDel_ del__ = (ServerDel_)delBase__;
  11671. del__.addCallback(cb, context__);
  11672. return;
  11673. }
  11674. catch (IceInternal.LocalExceptionWrapper ex__)
  11675. {
  11676. handleExceptionWrapper__(delBase__, ex__);
  11677. }
  11678. catch (Ice.LocalException ex__)
  11679. {
  11680. handleException__(delBase__, ex__, true, ref cnt__);
  11681. }
  11682. }
  11683. }
  11684.  
  11685. /// <summary>
  11686. /// Add a new channel.
  11687. /// </summary>
  11688. /// <param name="name">Name of new channel.
  11689. /// </param>
  11690. /// <param name="parent">Channel ID of parent channel. See Channel.id.
  11691. /// </param>
  11692. /// <returns>ID of newly created channel.</returns>
  11693.  
  11694. public int addChannel(string name, int parent)
  11695. {
  11696. return addChannel(name, parent, null, false);
  11697. }
  11698.  
  11699. /// <summary>
  11700. /// Add a new channel.
  11701. /// </summary>
  11702. /// <param name="name">Name of new channel.
  11703. /// </param>
  11704. /// <param name="parent">Channel ID of parent channel. See Channel.id.
  11705. /// </param>
  11706. /// <returns>ID of newly created channel.</returns>
  11707. /// <param name="context__">The Context map to send with the invocation.</param>
  11708.  
  11709. public int addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> context__)
  11710. {
  11711. return addChannel(name, parent, context__, true);
  11712. }
  11713.  
  11714. private int addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  11715. {
  11716. if (explicitContext__ && context__ == null)
  11717. {
  11718. context__ = emptyContext_;
  11719. }
  11720. int cnt__ = 0;
  11721. while (true)
  11722. {
  11723. Ice.ObjectDel_ delBase__ = null;
  11724. try
  11725. {
  11726. checkTwowayOnly__("addChannel");
  11727. delBase__ = getDelegate__(false);
  11728. ServerDel_ del__ = (ServerDel_)delBase__;
  11729. return del__.addChannel(name, parent, context__);
  11730. }
  11731. catch (IceInternal.LocalExceptionWrapper ex__)
  11732. {
  11733. handleExceptionWrapper__(delBase__, ex__);
  11734. }
  11735. catch (Ice.LocalException ex__)
  11736. {
  11737. handleException__(delBase__, ex__, true, ref cnt__);
  11738. }
  11739. }
  11740. }
  11741.  
  11742. /// <summary>
  11743. /// Add a context callback.
  11744. /// This is done per user, and will add a context menu action for the user.
  11745. ///
  11746. /// </summary>
  11747. /// <param name="session">Session of user which should receive context entry.
  11748. /// </param>
  11749. /// <param name="action">Action string, a unique name to associate with the action.
  11750. /// </param>
  11751. /// <param name="text">Name of action shown to user.
  11752. /// </param>
  11753. /// <param name="cb">Callback interface which will receive notifications.
  11754. /// </param>
  11755. /// <param name="ctx">Context this should be used in. Needs to be one or a combination of ContextServer, ContextChannel and ContextUser.
  11756. /// </param>
  11757.  
  11758. public void addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx)
  11759. {
  11760. addContextCallback(session, action, text, cb, ctx, null, false);
  11761. }
  11762.  
  11763. /// <summary>
  11764. /// Add a context callback.
  11765. /// This is done per user, and will add a context menu action for the user.
  11766. ///
  11767. /// </summary>
  11768. /// <param name="session">Session of user which should receive context entry.
  11769. /// </param>
  11770. /// <param name="action">Action string, a unique name to associate with the action.
  11771. /// </param>
  11772. /// <param name="text">Name of action shown to user.
  11773. /// </param>
  11774. /// <param name="cb">Callback interface which will receive notifications.
  11775. /// </param>
  11776. /// <param name="ctx">Context this should be used in. Needs to be one or a combination of ContextServer, ContextChannel and ContextUser.
  11777. /// </param>
  11778. /// <param name="context__">The Context map to send with the invocation.</param>
  11779.  
  11780. public void addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> context__)
  11781. {
  11782. addContextCallback(session, action, text, cb, ctx, context__, true);
  11783. }
  11784.  
  11785. private void addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  11786. {
  11787. if (explicitContext__ && context__ == null)
  11788. {
  11789. context__ = emptyContext_;
  11790. }
  11791. int cnt__ = 0;
  11792. while (true)
  11793. {
  11794. Ice.ObjectDel_ delBase__ = null;
  11795. try
  11796. {
  11797. checkTwowayOnly__("addContextCallback");
  11798. delBase__ = getDelegate__(false);
  11799. ServerDel_ del__ = (ServerDel_)delBase__;
  11800. del__.addContextCallback(session, action, text, cb, ctx, context__);
  11801. return;
  11802. }
  11803. catch (IceInternal.LocalExceptionWrapper ex__)
  11804. {
  11805. handleExceptionWrapper__(delBase__, ex__);
  11806. }
  11807. catch (Ice.LocalException ex__)
  11808. {
  11809. handleException__(delBase__, ex__, true, ref cnt__);
  11810. }
  11811. }
  11812. }
  11813.  
  11814. /// <summary>
  11815. /// Temporarily add a user to a group on a channel.
  11816. /// This state is not saved, and is intended for temporary memberships.
  11817. /// </summary>
  11818. /// <param name="channelid">Channel ID of channel to add to. See Channel.id.
  11819. /// </param>
  11820. /// <param name="session">Connection ID of user. See User.session.
  11821. /// </param>
  11822. /// <param name="group">Group name to add to.</param>
  11823.  
  11824. public void addUserToGroup(int channelid, int session, string group)
  11825. {
  11826. addUserToGroup(channelid, session, group, null, false);
  11827. }
  11828.  
  11829. /// <summary>
  11830. /// Temporarily add a user to a group on a channel.
  11831. /// This state is not saved, and is intended for temporary memberships.
  11832. /// </summary>
  11833. /// <param name="channelid">Channel ID of channel to add to. See Channel.id.
  11834. /// </param>
  11835. /// <param name="session">Connection ID of user. See User.session.
  11836. /// </param>
  11837. /// <param name="group">Group name to add to.</param>
  11838. /// <param name="context__">The Context map to send with the invocation.</param>
  11839.  
  11840. public void addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__)
  11841. {
  11842. addUserToGroup(channelid, session, group, context__, true);
  11843. }
  11844.  
  11845. private void addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  11846. {
  11847. if (explicitContext__ && context__ == null)
  11848. {
  11849. context__ = emptyContext_;
  11850. }
  11851. int cnt__ = 0;
  11852. while (true)
  11853. {
  11854. Ice.ObjectDel_ delBase__ = null;
  11855. try
  11856. {
  11857. checkTwowayOnly__("addUserToGroup");
  11858. delBase__ = getDelegate__(false);
  11859. ServerDel_ del__ = (ServerDel_)delBase__;
  11860. del__.addUserToGroup(channelid, session, group, context__);
  11861. return;
  11862. }
  11863. catch (IceInternal.LocalExceptionWrapper ex__)
  11864. {
  11865. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  11866. }
  11867. catch (Ice.LocalException ex__)
  11868. {
  11869. handleException__(delBase__, ex__, true, ref cnt__);
  11870. }
  11871. }
  11872. }
  11873.  
  11874. /// <summary>
  11875. /// Delete server and all it's configuration.
  11876. /// </summary>
  11877.  
  11878. public void delete()
  11879. {
  11880. delete(null, false);
  11881. }
  11882.  
  11883. /// <summary>
  11884. /// Delete server and all it's configuration.
  11885. /// </summary>
  11886. /// <param name="context__">The Context map to send with the invocation.</param>
  11887.  
  11888. public void delete(_System.Collections.Generic.Dictionary<string, string> context__)
  11889. {
  11890. delete(context__, true);
  11891. }
  11892.  
  11893. private void delete(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  11894. {
  11895. if (explicitContext__ && context__ == null)
  11896. {
  11897. context__ = emptyContext_;
  11898. }
  11899. int cnt__ = 0;
  11900. while (true)
  11901. {
  11902. Ice.ObjectDel_ delBase__ = null;
  11903. try
  11904. {
  11905. checkTwowayOnly__("delete");
  11906. delBase__ = getDelegate__(false);
  11907. ServerDel_ del__ = (ServerDel_)delBase__;
  11908. del__.delete(context__);
  11909. return;
  11910. }
  11911. catch (IceInternal.LocalExceptionWrapper ex__)
  11912. {
  11913. handleExceptionWrapper__(delBase__, ex__);
  11914. }
  11915. catch (Ice.LocalException ex__)
  11916. {
  11917. handleException__(delBase__, ex__, true, ref cnt__);
  11918. }
  11919. }
  11920. }
  11921.  
  11922. /// <summary>
  11923. /// Return users effective permissions
  11924. /// <param name="session">Connection ID of user.</param>
  11925. /// See User.session.
  11926. /// </summary>
  11927. /// <param name="channelid">ID of Channel. See Channel.id.
  11928. /// </param>
  11929. /// <returns>bitfield of allowed actions</returns>
  11930.  
  11931. public int effectivePermissions(int session, int channelid)
  11932. {
  11933. return effectivePermissions(session, channelid, null, false);
  11934. }
  11935.  
  11936. /// <summary>
  11937. /// Return users effective permissions
  11938. /// <param name="session">Connection ID of user.</param>
  11939. /// See User.session.
  11940. /// </summary>
  11941. /// <param name="channelid">ID of Channel. See Channel.id.
  11942. /// </param>
  11943. /// <returns>bitfield of allowed actions</returns>
  11944. /// <param name="context__">The Context map to send with the invocation.</param>
  11945.  
  11946. public int effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  11947. {
  11948. return effectivePermissions(session, channelid, context__, true);
  11949. }
  11950.  
  11951. private int effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  11952. {
  11953. if (explicitContext__ && context__ == null)
  11954. {
  11955. context__ = emptyContext_;
  11956. }
  11957. int cnt__ = 0;
  11958. while (true)
  11959. {
  11960. Ice.ObjectDel_ delBase__ = null;
  11961. try
  11962. {
  11963. checkTwowayOnly__("effectivePermissions");
  11964. delBase__ = getDelegate__(false);
  11965. ServerDel_ del__ = (ServerDel_)delBase__;
  11966. return del__.effectivePermissions(session, channelid, context__);
  11967. }
  11968. catch (IceInternal.LocalExceptionWrapper ex__)
  11969. {
  11970. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  11971. }
  11972. catch (Ice.LocalException ex__)
  11973. {
  11974. handleException__(delBase__, ex__, true, ref cnt__);
  11975. }
  11976. }
  11977. }
  11978.  
  11979. /// <summary>
  11980. /// Retrieve ACLs and Groups on a channel.
  11981. /// </summary>
  11982. /// <param name="channelid">Channel ID of channel to fetch from. See Channel.id.
  11983. /// </param>
  11984. /// <param name="acls">List of ACLs on the channel. This will include inherited ACLs.
  11985. /// </param>
  11986. /// <param name="groups">List of groups on the channel. This will include inherited groups.
  11987. /// </param>
  11988. /// <param name="inherit">Does this channel inherit ACLs from the parent channel?</param>
  11989.  
  11990. public void getACL(int channelid, out Murmur.ACL[] acls, out Murmur.Group[] groups, out bool inherit)
  11991. {
  11992. getACL(channelid, out acls, out groups, out inherit, null, false);
  11993. }
  11994.  
  11995. /// <summary>
  11996. /// Retrieve ACLs and Groups on a channel.
  11997. /// </summary>
  11998. /// <param name="channelid">Channel ID of channel to fetch from. See Channel.id.
  11999. /// </param>
  12000. /// <param name="acls">List of ACLs on the channel. This will include inherited ACLs.
  12001. /// </param>
  12002. /// <param name="groups">List of groups on the channel. This will include inherited groups.
  12003. /// </param>
  12004. /// <param name="inherit">Does this channel inherit ACLs from the parent channel?</param>
  12005. /// <param name="context__">The Context map to send with the invocation.</param>
  12006.  
  12007. public void getACL(int channelid, out Murmur.ACL[] acls, out Murmur.Group[] groups, out bool inherit, _System.Collections.Generic.Dictionary<string, string> context__)
  12008. {
  12009. getACL(channelid, out acls, out groups, out inherit, context__, true);
  12010. }
  12011.  
  12012. private void getACL(int channelid, out Murmur.ACL[] acls, out Murmur.Group[] groups, out bool inherit, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12013. {
  12014. if (explicitContext__ && context__ == null)
  12015. {
  12016. context__ = emptyContext_;
  12017. }
  12018. int cnt__ = 0;
  12019. while (true)
  12020. {
  12021. Ice.ObjectDel_ delBase__ = null;
  12022. try
  12023. {
  12024. checkTwowayOnly__("getACL");
  12025. delBase__ = getDelegate__(false);
  12026. ServerDel_ del__ = (ServerDel_)delBase__;
  12027. del__.getACL(channelid, out acls, out groups, out inherit, context__);
  12028. return;
  12029. }
  12030. catch (IceInternal.LocalExceptionWrapper ex__)
  12031. {
  12032. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12033. }
  12034. catch (Ice.LocalException ex__)
  12035. {
  12036. handleException__(delBase__, ex__, true, ref cnt__);
  12037. }
  12038. }
  12039. }
  12040.  
  12041. /// <summary>
  12042. /// Retrieve all configuration items.
  12043. /// </summary>
  12044. /// <returns>All configured values. If a value isn't set here, the value from Meta.getDefaultConf is used.</returns>
  12045.  
  12046. public _System.Collections.Generic.Dictionary<string, string> getAllConf()
  12047. {
  12048. return getAllConf(null, false);
  12049. }
  12050.  
  12051. /// <summary>
  12052. /// Retrieve all configuration items.
  12053. /// </summary>
  12054. /// <returns>All configured values. If a value isn't set here, the value from Meta.getDefaultConf is used.</returns>
  12055. /// <param name="context__">The Context map to send with the invocation.</param>
  12056.  
  12057. public _System.Collections.Generic.Dictionary<string, string> getAllConf(_System.Collections.Generic.Dictionary<string, string> context__)
  12058. {
  12059. return getAllConf(context__, true);
  12060. }
  12061.  
  12062. private _System.Collections.Generic.Dictionary<string, string> getAllConf(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12063. {
  12064. if (explicitContext__ && context__ == null)
  12065. {
  12066. context__ = emptyContext_;
  12067. }
  12068. int cnt__ = 0;
  12069. while (true)
  12070. {
  12071. Ice.ObjectDel_ delBase__ = null;
  12072. try
  12073. {
  12074. checkTwowayOnly__("getAllConf");
  12075. delBase__ = getDelegate__(false);
  12076. ServerDel_ del__ = (ServerDel_)delBase__;
  12077. return del__.getAllConf(context__);
  12078. }
  12079. catch (IceInternal.LocalExceptionWrapper ex__)
  12080. {
  12081. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12082. }
  12083. catch (Ice.LocalException ex__)
  12084. {
  12085. handleException__(delBase__, ex__, true, ref cnt__);
  12086. }
  12087. }
  12088. }
  12089.  
  12090. /// <summary>
  12091. /// Fetch all current IP bans on the server.
  12092. /// </summary>
  12093. /// <returns>List of bans.</returns>
  12094.  
  12095. public Murmur.Ban[] getBans()
  12096. {
  12097. return getBans(null, false);
  12098. }
  12099.  
  12100. /// <summary>
  12101. /// Fetch all current IP bans on the server.
  12102. /// </summary>
  12103. /// <returns>List of bans.</returns>
  12104. /// <param name="context__">The Context map to send with the invocation.</param>
  12105.  
  12106. public Murmur.Ban[] getBans(_System.Collections.Generic.Dictionary<string, string> context__)
  12107. {
  12108. return getBans(context__, true);
  12109. }
  12110.  
  12111. private Murmur.Ban[] getBans(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12112. {
  12113. if (explicitContext__ && context__ == null)
  12114. {
  12115. context__ = emptyContext_;
  12116. }
  12117. int cnt__ = 0;
  12118. while (true)
  12119. {
  12120. Ice.ObjectDel_ delBase__ = null;
  12121. try
  12122. {
  12123. checkTwowayOnly__("getBans");
  12124. delBase__ = getDelegate__(false);
  12125. ServerDel_ del__ = (ServerDel_)delBase__;
  12126. return del__.getBans(context__);
  12127. }
  12128. catch (IceInternal.LocalExceptionWrapper ex__)
  12129. {
  12130. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12131. }
  12132. catch (Ice.LocalException ex__)
  12133. {
  12134. handleException__(delBase__, ex__, true, ref cnt__);
  12135. }
  12136. }
  12137. }
  12138.  
  12139. /// <summary>
  12140. /// Fetch certificate of user.
  12141. /// This returns the complete certificate chain of a user.
  12142. /// </summary>
  12143. /// <param name="session">Connection ID of user. See User.session.
  12144. /// </param>
  12145. /// <returns>Certificate list of user.</returns>
  12146.  
  12147. public byte[][] getCertificateList(int session)
  12148. {
  12149. return getCertificateList(session, null, false);
  12150. }
  12151.  
  12152. /// <summary>
  12153. /// Fetch certificate of user.
  12154. /// This returns the complete certificate chain of a user.
  12155. /// </summary>
  12156. /// <param name="session">Connection ID of user. See User.session.
  12157. /// </param>
  12158. /// <returns>Certificate list of user.</returns>
  12159. /// <param name="context__">The Context map to send with the invocation.</param>
  12160.  
  12161. public byte[][] getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> context__)
  12162. {
  12163. return getCertificateList(session, context__, true);
  12164. }
  12165.  
  12166. private byte[][] getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12167. {
  12168. if (explicitContext__ && context__ == null)
  12169. {
  12170. context__ = emptyContext_;
  12171. }
  12172. int cnt__ = 0;
  12173. while (true)
  12174. {
  12175. Ice.ObjectDel_ delBase__ = null;
  12176. try
  12177. {
  12178. checkTwowayOnly__("getCertificateList");
  12179. delBase__ = getDelegate__(false);
  12180. ServerDel_ del__ = (ServerDel_)delBase__;
  12181. return del__.getCertificateList(session, context__);
  12182. }
  12183. catch (IceInternal.LocalExceptionWrapper ex__)
  12184. {
  12185. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12186. }
  12187. catch (Ice.LocalException ex__)
  12188. {
  12189. handleException__(delBase__, ex__, true, ref cnt__);
  12190. }
  12191. }
  12192. }
  12193.  
  12194. /// <summary>
  12195. /// Get state of single channel.
  12196. /// </summary>
  12197. /// <param name="channelid">ID of Channel. See Channel.id.
  12198. /// </param>
  12199. /// <returns>State of channel.
  12200. /// </returns>
  12201.  
  12202. public Murmur.Channel getChannelState(int channelid)
  12203. {
  12204. return getChannelState(channelid, null, false);
  12205. }
  12206.  
  12207. /// <summary>
  12208. /// Get state of single channel.
  12209. /// </summary>
  12210. /// <param name="channelid">ID of Channel. See Channel.id.
  12211. /// </param>
  12212. /// <returns>State of channel.
  12213. /// </returns>
  12214. /// <param name="context__">The Context map to send with the invocation.</param>
  12215.  
  12216. public Murmur.Channel getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  12217. {
  12218. return getChannelState(channelid, context__, true);
  12219. }
  12220.  
  12221. private Murmur.Channel getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12222. {
  12223. if (explicitContext__ && context__ == null)
  12224. {
  12225. context__ = emptyContext_;
  12226. }
  12227. int cnt__ = 0;
  12228. while (true)
  12229. {
  12230. Ice.ObjectDel_ delBase__ = null;
  12231. try
  12232. {
  12233. checkTwowayOnly__("getChannelState");
  12234. delBase__ = getDelegate__(false);
  12235. ServerDel_ del__ = (ServerDel_)delBase__;
  12236. return del__.getChannelState(channelid, context__);
  12237. }
  12238. catch (IceInternal.LocalExceptionWrapper ex__)
  12239. {
  12240. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12241. }
  12242. catch (Ice.LocalException ex__)
  12243. {
  12244. handleException__(delBase__, ex__, true, ref cnt__);
  12245. }
  12246. }
  12247. }
  12248.  
  12249. /// <summary>
  12250. /// Fetch all channels.
  12251. /// This returns all defined channels on the server. The root channel is always channel 0.
  12252. /// </summary>
  12253. /// <returns>List of defined channels.
  12254. /// </returns>
  12255.  
  12256. public _System.Collections.Generic.Dictionary<int, Murmur.Channel> getChannels()
  12257. {
  12258. return getChannels(null, false);
  12259. }
  12260.  
  12261. /// <summary>
  12262. /// Fetch all channels.
  12263. /// This returns all defined channels on the server. The root channel is always channel 0.
  12264. /// </summary>
  12265. /// <returns>List of defined channels.
  12266. /// </returns>
  12267. /// <param name="context__">The Context map to send with the invocation.</param>
  12268.  
  12269. public _System.Collections.Generic.Dictionary<int, Murmur.Channel> getChannels(_System.Collections.Generic.Dictionary<string, string> context__)
  12270. {
  12271. return getChannels(context__, true);
  12272. }
  12273.  
  12274. private _System.Collections.Generic.Dictionary<int, Murmur.Channel> getChannels(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12275. {
  12276. if (explicitContext__ && context__ == null)
  12277. {
  12278. context__ = emptyContext_;
  12279. }
  12280. int cnt__ = 0;
  12281. while (true)
  12282. {
  12283. Ice.ObjectDel_ delBase__ = null;
  12284. try
  12285. {
  12286. checkTwowayOnly__("getChannels");
  12287. delBase__ = getDelegate__(false);
  12288. ServerDel_ del__ = (ServerDel_)delBase__;
  12289. return del__.getChannels(context__);
  12290. }
  12291. catch (IceInternal.LocalExceptionWrapper ex__)
  12292. {
  12293. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12294. }
  12295. catch (Ice.LocalException ex__)
  12296. {
  12297. handleException__(delBase__, ex__, true, ref cnt__);
  12298. }
  12299. }
  12300. }
  12301.  
  12302. /// <summary>
  12303. /// Retrieve configuration item.
  12304. /// </summary>
  12305. /// <param name="key">Configuration key.
  12306. /// </param>
  12307. /// <returns>Configuration value. If this is empty, see Meta.getDefaultConf</returns>
  12308.  
  12309. public string getConf(string key)
  12310. {
  12311. return getConf(key, null, false);
  12312. }
  12313.  
  12314. /// <summary>
  12315. /// Retrieve configuration item.
  12316. /// </summary>
  12317. /// <param name="key">Configuration key.
  12318. /// </param>
  12319. /// <returns>Configuration value. If this is empty, see Meta.getDefaultConf</returns>
  12320. /// <param name="context__">The Context map to send with the invocation.</param>
  12321.  
  12322. public string getConf(string key, _System.Collections.Generic.Dictionary<string, string> context__)
  12323. {
  12324. return getConf(key, context__, true);
  12325. }
  12326.  
  12327. private string getConf(string key, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12328. {
  12329. if (explicitContext__ && context__ == null)
  12330. {
  12331. context__ = emptyContext_;
  12332. }
  12333. int cnt__ = 0;
  12334. while (true)
  12335. {
  12336. Ice.ObjectDel_ delBase__ = null;
  12337. try
  12338. {
  12339. checkTwowayOnly__("getConf");
  12340. delBase__ = getDelegate__(false);
  12341. ServerDel_ del__ = (ServerDel_)delBase__;
  12342. return del__.getConf(key, context__);
  12343. }
  12344. catch (IceInternal.LocalExceptionWrapper ex__)
  12345. {
  12346. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12347. }
  12348. catch (Ice.LocalException ex__)
  12349. {
  12350. handleException__(delBase__, ex__, true, ref cnt__);
  12351. }
  12352. }
  12353. }
  12354.  
  12355. /// <summary>
  12356. /// Fetch log entries.
  12357. /// </summary>
  12358. /// <param name="first">Lowest numbered entry to fetch. 0 is the most recent item.
  12359. /// </param>
  12360. /// <param name="last">Last entry to fetch.
  12361. /// </param>
  12362. /// <returns>List of log entries.</returns>
  12363.  
  12364. public Murmur.LogEntry[] getLog(int first, int last)
  12365. {
  12366. return getLog(first, last, null, false);
  12367. }
  12368.  
  12369. /// <summary>
  12370. /// Fetch log entries.
  12371. /// </summary>
  12372. /// <param name="first">Lowest numbered entry to fetch. 0 is the most recent item.
  12373. /// </param>
  12374. /// <param name="last">Last entry to fetch.
  12375. /// </param>
  12376. /// <returns>List of log entries.</returns>
  12377. /// <param name="context__">The Context map to send with the invocation.</param>
  12378.  
  12379. public Murmur.LogEntry[] getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> context__)
  12380. {
  12381. return getLog(first, last, context__, true);
  12382. }
  12383.  
  12384. private Murmur.LogEntry[] getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12385. {
  12386. if (explicitContext__ && context__ == null)
  12387. {
  12388. context__ = emptyContext_;
  12389. }
  12390. int cnt__ = 0;
  12391. while (true)
  12392. {
  12393. Ice.ObjectDel_ delBase__ = null;
  12394. try
  12395. {
  12396. checkTwowayOnly__("getLog");
  12397. delBase__ = getDelegate__(false);
  12398. ServerDel_ del__ = (ServerDel_)delBase__;
  12399. return del__.getLog(first, last, context__);
  12400. }
  12401. catch (IceInternal.LocalExceptionWrapper ex__)
  12402. {
  12403. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12404. }
  12405. catch (Ice.LocalException ex__)
  12406. {
  12407. handleException__(delBase__, ex__, true, ref cnt__);
  12408. }
  12409. }
  12410. }
  12411.  
  12412. /// <summary>
  12413. /// Fetch length of log
  12414. /// <returns>Number of entries in log
  12415. /// </returns>
  12416. /// </summary>
  12417.  
  12418. public int getLogLen()
  12419. {
  12420. return getLogLen(null, false);
  12421. }
  12422.  
  12423. /// <summary>
  12424. /// Fetch length of log
  12425. /// <returns>Number of entries in log
  12426. /// </returns>
  12427. /// </summary>
  12428. /// <param name="context__">The Context map to send with the invocation.</param>
  12429.  
  12430. public int getLogLen(_System.Collections.Generic.Dictionary<string, string> context__)
  12431. {
  12432. return getLogLen(context__, true);
  12433. }
  12434.  
  12435. private int getLogLen(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12436. {
  12437. if (explicitContext__ && context__ == null)
  12438. {
  12439. context__ = emptyContext_;
  12440. }
  12441. int cnt__ = 0;
  12442. while (true)
  12443. {
  12444. Ice.ObjectDel_ delBase__ = null;
  12445. try
  12446. {
  12447. checkTwowayOnly__("getLogLen");
  12448. delBase__ = getDelegate__(false);
  12449. ServerDel_ del__ = (ServerDel_)delBase__;
  12450. return del__.getLogLen(context__);
  12451. }
  12452. catch (IceInternal.LocalExceptionWrapper ex__)
  12453. {
  12454. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12455. }
  12456. catch (Ice.LocalException ex__)
  12457. {
  12458. handleException__(delBase__, ex__, true, ref cnt__);
  12459. }
  12460. }
  12461. }
  12462.  
  12463. /// <summary>
  12464. /// Fetch a group of registered users.
  12465. /// </summary>
  12466. /// <param name="filter">Substring of user name. If blank, will retrieve all registered users.
  12467. /// </param>
  12468. /// <returns>List of registration records.</returns>
  12469.  
  12470. public _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter)
  12471. {
  12472. return getRegisteredUsers(filter, null, false);
  12473. }
  12474.  
  12475. /// <summary>
  12476. /// Fetch a group of registered users.
  12477. /// </summary>
  12478. /// <param name="filter">Substring of user name. If blank, will retrieve all registered users.
  12479. /// </param>
  12480. /// <returns>List of registration records.</returns>
  12481. /// <param name="context__">The Context map to send with the invocation.</param>
  12482.  
  12483. public _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__)
  12484. {
  12485. return getRegisteredUsers(filter, context__, true);
  12486. }
  12487.  
  12488. private _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12489. {
  12490. if (explicitContext__ && context__ == null)
  12491. {
  12492. context__ = emptyContext_;
  12493. }
  12494. int cnt__ = 0;
  12495. while (true)
  12496. {
  12497. Ice.ObjectDel_ delBase__ = null;
  12498. try
  12499. {
  12500. checkTwowayOnly__("getRegisteredUsers");
  12501. delBase__ = getDelegate__(false);
  12502. ServerDel_ del__ = (ServerDel_)delBase__;
  12503. return del__.getRegisteredUsers(filter, context__);
  12504. }
  12505. catch (IceInternal.LocalExceptionWrapper ex__)
  12506. {
  12507. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12508. }
  12509. catch (Ice.LocalException ex__)
  12510. {
  12511. handleException__(delBase__, ex__, true, ref cnt__);
  12512. }
  12513. }
  12514. }
  12515.  
  12516. /// <summary>
  12517. /// Fetch registration for a single user.
  12518. /// </summary>
  12519. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  12520. /// </param>
  12521. /// <returns>Registration record.</returns>
  12522.  
  12523. public _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> getRegistration(int userid)
  12524. {
  12525. return getRegistration(userid, null, false);
  12526. }
  12527.  
  12528. /// <summary>
  12529. /// Fetch registration for a single user.
  12530. /// </summary>
  12531. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  12532. /// </param>
  12533. /// <returns>Registration record.</returns>
  12534. /// <param name="context__">The Context map to send with the invocation.</param>
  12535.  
  12536. public _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> context__)
  12537. {
  12538. return getRegistration(userid, context__, true);
  12539. }
  12540.  
  12541. private _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12542. {
  12543. if (explicitContext__ && context__ == null)
  12544. {
  12545. context__ = emptyContext_;
  12546. }
  12547. int cnt__ = 0;
  12548. while (true)
  12549. {
  12550. Ice.ObjectDel_ delBase__ = null;
  12551. try
  12552. {
  12553. checkTwowayOnly__("getRegistration");
  12554. delBase__ = getDelegate__(false);
  12555. ServerDel_ del__ = (ServerDel_)delBase__;
  12556. return del__.getRegistration(userid, context__);
  12557. }
  12558. catch (IceInternal.LocalExceptionWrapper ex__)
  12559. {
  12560. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12561. }
  12562. catch (Ice.LocalException ex__)
  12563. {
  12564. handleException__(delBase__, ex__, true, ref cnt__);
  12565. }
  12566. }
  12567. }
  12568.  
  12569. /// <summary>
  12570. /// Get state of a single connected user.
  12571. /// </summary>
  12572. /// <param name="session">Connection ID of user. See User.session.
  12573. /// </param>
  12574. /// <returns>State of connected user.
  12575. /// </returns>
  12576.  
  12577. public Murmur.User getState(int session)
  12578. {
  12579. return getState(session, null, false);
  12580. }
  12581.  
  12582. /// <summary>
  12583. /// Get state of a single connected user.
  12584. /// </summary>
  12585. /// <param name="session">Connection ID of user. See User.session.
  12586. /// </param>
  12587. /// <returns>State of connected user.
  12588. /// </returns>
  12589. /// <param name="context__">The Context map to send with the invocation.</param>
  12590.  
  12591. public Murmur.User getState(int session, _System.Collections.Generic.Dictionary<string, string> context__)
  12592. {
  12593. return getState(session, context__, true);
  12594. }
  12595.  
  12596. private Murmur.User getState(int session, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12597. {
  12598. if (explicitContext__ && context__ == null)
  12599. {
  12600. context__ = emptyContext_;
  12601. }
  12602. int cnt__ = 0;
  12603. while (true)
  12604. {
  12605. Ice.ObjectDel_ delBase__ = null;
  12606. try
  12607. {
  12608. checkTwowayOnly__("getState");
  12609. delBase__ = getDelegate__(false);
  12610. ServerDel_ del__ = (ServerDel_)delBase__;
  12611. return del__.getState(session, context__);
  12612. }
  12613. catch (IceInternal.LocalExceptionWrapper ex__)
  12614. {
  12615. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12616. }
  12617. catch (Ice.LocalException ex__)
  12618. {
  12619. handleException__(delBase__, ex__, true, ref cnt__);
  12620. }
  12621. }
  12622. }
  12623.  
  12624. /// <summary>
  12625. /// Fetch user texture.
  12626. /// Textures are stored as zlib compress()ed 600x60 32-bit BGRA data.
  12627. /// </summary>
  12628. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  12629. /// </param>
  12630. /// <returns>Custom texture associated with user or an empty texture.</returns>
  12631.  
  12632. public byte[] getTexture(int userid)
  12633. {
  12634. return getTexture(userid, null, false);
  12635. }
  12636.  
  12637. /// <summary>
  12638. /// Fetch user texture.
  12639. /// Textures are stored as zlib compress()ed 600x60 32-bit BGRA data.
  12640. /// </summary>
  12641. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  12642. /// </param>
  12643. /// <returns>Custom texture associated with user or an empty texture.</returns>
  12644. /// <param name="context__">The Context map to send with the invocation.</param>
  12645.  
  12646. public byte[] getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> context__)
  12647. {
  12648. return getTexture(userid, context__, true);
  12649. }
  12650.  
  12651. private byte[] getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12652. {
  12653. if (explicitContext__ && context__ == null)
  12654. {
  12655. context__ = emptyContext_;
  12656. }
  12657. int cnt__ = 0;
  12658. while (true)
  12659. {
  12660. Ice.ObjectDel_ delBase__ = null;
  12661. try
  12662. {
  12663. checkTwowayOnly__("getTexture");
  12664. delBase__ = getDelegate__(false);
  12665. ServerDel_ del__ = (ServerDel_)delBase__;
  12666. return del__.getTexture(userid, context__);
  12667. }
  12668. catch (IceInternal.LocalExceptionWrapper ex__)
  12669. {
  12670. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12671. }
  12672. catch (Ice.LocalException ex__)
  12673. {
  12674. handleException__(delBase__, ex__, true, ref cnt__);
  12675. }
  12676. }
  12677. }
  12678.  
  12679. /// <summary>
  12680. /// Fetch all channels and connected users as a tree.
  12681. /// This retrieves an easy-to-use representation of the server
  12682. /// as a tree. This is primarily used for viewing the state of the server on a webpage.
  12683. /// </summary>
  12684. /// <returns>Recursive tree of all channels and connected users.</returns>
  12685.  
  12686. public Murmur.Tree getTree()
  12687. {
  12688. return getTree(null, false);
  12689. }
  12690.  
  12691. /// <summary>
  12692. /// Fetch all channels and connected users as a tree.
  12693. /// This retrieves an easy-to-use representation of the server
  12694. /// as a tree. This is primarily used for viewing the state of the server on a webpage.
  12695. /// </summary>
  12696. /// <returns>Recursive tree of all channels and connected users.</returns>
  12697. /// <param name="context__">The Context map to send with the invocation.</param>
  12698.  
  12699. public Murmur.Tree getTree(_System.Collections.Generic.Dictionary<string, string> context__)
  12700. {
  12701. return getTree(context__, true);
  12702. }
  12703.  
  12704. private Murmur.Tree getTree(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12705. {
  12706. if (explicitContext__ && context__ == null)
  12707. {
  12708. context__ = emptyContext_;
  12709. }
  12710. int cnt__ = 0;
  12711. while (true)
  12712. {
  12713. Ice.ObjectDel_ delBase__ = null;
  12714. try
  12715. {
  12716. checkTwowayOnly__("getTree");
  12717. delBase__ = getDelegate__(false);
  12718. ServerDel_ del__ = (ServerDel_)delBase__;
  12719. return del__.getTree(context__);
  12720. }
  12721. catch (IceInternal.LocalExceptionWrapper ex__)
  12722. {
  12723. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12724. }
  12725. catch (Ice.LocalException ex__)
  12726. {
  12727. handleException__(delBase__, ex__, true, ref cnt__);
  12728. }
  12729. }
  12730. }
  12731.  
  12732. /// <summary>
  12733. /// Get virtual server uptime.
  12734. /// </summary>
  12735. /// <returns>Uptime of the virtual server in seconds</returns>
  12736.  
  12737. public int getUptime()
  12738. {
  12739. return getUptime(null, false);
  12740. }
  12741.  
  12742. /// <summary>
  12743. /// Get virtual server uptime.
  12744. /// </summary>
  12745. /// <returns>Uptime of the virtual server in seconds</returns>
  12746. /// <param name="context__">The Context map to send with the invocation.</param>
  12747.  
  12748. public int getUptime(_System.Collections.Generic.Dictionary<string, string> context__)
  12749. {
  12750. return getUptime(context__, true);
  12751. }
  12752.  
  12753. private int getUptime(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12754. {
  12755. if (explicitContext__ && context__ == null)
  12756. {
  12757. context__ = emptyContext_;
  12758. }
  12759. int cnt__ = 0;
  12760. while (true)
  12761. {
  12762. Ice.ObjectDel_ delBase__ = null;
  12763. try
  12764. {
  12765. checkTwowayOnly__("getUptime");
  12766. delBase__ = getDelegate__(false);
  12767. ServerDel_ del__ = (ServerDel_)delBase__;
  12768. return del__.getUptime(context__);
  12769. }
  12770. catch (IceInternal.LocalExceptionWrapper ex__)
  12771. {
  12772. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12773. }
  12774. catch (Ice.LocalException ex__)
  12775. {
  12776. handleException__(delBase__, ex__, true, ref cnt__);
  12777. }
  12778. }
  12779. }
  12780.  
  12781. /// <summary>
  12782. /// Map a list of user names to a matching id.
  12783. /// </summary>
  12784. /// <param name="List">of names.
  12785. /// </param>
  12786. /// @reuturn List of matching ids, with -1 representing invalid or unknown user names.
  12787.  
  12788. public _System.Collections.Generic.Dictionary<string, int> getUserIds(string[] names)
  12789. {
  12790. return getUserIds(names, null, false);
  12791. }
  12792.  
  12793. /// <summary>
  12794. /// Map a list of user names to a matching id.
  12795. /// </summary>
  12796. /// <param name="List">of names.
  12797. /// </param>
  12798. /// @reuturn List of matching ids, with -1 representing invalid or unknown user names.
  12799. /// <param name="context__">The Context map to send with the invocation.</param>
  12800.  
  12801. public _System.Collections.Generic.Dictionary<string, int> getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> context__)
  12802. {
  12803. return getUserIds(names, context__, true);
  12804. }
  12805.  
  12806. private _System.Collections.Generic.Dictionary<string, int> getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12807. {
  12808. if (explicitContext__ && context__ == null)
  12809. {
  12810. context__ = emptyContext_;
  12811. }
  12812. int cnt__ = 0;
  12813. while (true)
  12814. {
  12815. Ice.ObjectDel_ delBase__ = null;
  12816. try
  12817. {
  12818. checkTwowayOnly__("getUserIds");
  12819. delBase__ = getDelegate__(false);
  12820. ServerDel_ del__ = (ServerDel_)delBase__;
  12821. return del__.getUserIds(names, context__);
  12822. }
  12823. catch (IceInternal.LocalExceptionWrapper ex__)
  12824. {
  12825. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12826. }
  12827. catch (Ice.LocalException ex__)
  12828. {
  12829. handleException__(delBase__, ex__, true, ref cnt__);
  12830. }
  12831. }
  12832. }
  12833.  
  12834. /// <summary>
  12835. /// Map a list of User.userid to a matching name.
  12836. /// </summary>
  12837. /// <param name="List">of ids.
  12838. /// </param>
  12839. /// <returns>Matching list of names, with an empty string representing invalid or unknown ids.</returns>
  12840.  
  12841. public _System.Collections.Generic.Dictionary<int, string> getUserNames(int[] ids)
  12842. {
  12843. return getUserNames(ids, null, false);
  12844. }
  12845.  
  12846. /// <summary>
  12847. /// Map a list of User.userid to a matching name.
  12848. /// </summary>
  12849. /// <param name="List">of ids.
  12850. /// </param>
  12851. /// <returns>Matching list of names, with an empty string representing invalid or unknown ids.</returns>
  12852. /// <param name="context__">The Context map to send with the invocation.</param>
  12853.  
  12854. public _System.Collections.Generic.Dictionary<int, string> getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> context__)
  12855. {
  12856. return getUserNames(ids, context__, true);
  12857. }
  12858.  
  12859. private _System.Collections.Generic.Dictionary<int, string> getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12860. {
  12861. if (explicitContext__ && context__ == null)
  12862. {
  12863. context__ = emptyContext_;
  12864. }
  12865. int cnt__ = 0;
  12866. while (true)
  12867. {
  12868. Ice.ObjectDel_ delBase__ = null;
  12869. try
  12870. {
  12871. checkTwowayOnly__("getUserNames");
  12872. delBase__ = getDelegate__(false);
  12873. ServerDel_ del__ = (ServerDel_)delBase__;
  12874. return del__.getUserNames(ids, context__);
  12875. }
  12876. catch (IceInternal.LocalExceptionWrapper ex__)
  12877. {
  12878. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12879. }
  12880. catch (Ice.LocalException ex__)
  12881. {
  12882. handleException__(delBase__, ex__, true, ref cnt__);
  12883. }
  12884. }
  12885. }
  12886.  
  12887. /// <summary>
  12888. /// Fetch all users.
  12889. /// This returns all currently connected users on the server.
  12890. /// </summary>
  12891. /// <returns>List of connected users.
  12892. /// </returns>
  12893.  
  12894. public _System.Collections.Generic.Dictionary<int, Murmur.User> getUsers()
  12895. {
  12896. return getUsers(null, false);
  12897. }
  12898.  
  12899. /// <summary>
  12900. /// Fetch all users.
  12901. /// This returns all currently connected users on the server.
  12902. /// </summary>
  12903. /// <returns>List of connected users.
  12904. /// </returns>
  12905. /// <param name="context__">The Context map to send with the invocation.</param>
  12906.  
  12907. public _System.Collections.Generic.Dictionary<int, Murmur.User> getUsers(_System.Collections.Generic.Dictionary<string, string> context__)
  12908. {
  12909. return getUsers(context__, true);
  12910. }
  12911.  
  12912. private _System.Collections.Generic.Dictionary<int, Murmur.User> getUsers(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12913. {
  12914. if (explicitContext__ && context__ == null)
  12915. {
  12916. context__ = emptyContext_;
  12917. }
  12918. int cnt__ = 0;
  12919. while (true)
  12920. {
  12921. Ice.ObjectDel_ delBase__ = null;
  12922. try
  12923. {
  12924. checkTwowayOnly__("getUsers");
  12925. delBase__ = getDelegate__(false);
  12926. ServerDel_ del__ = (ServerDel_)delBase__;
  12927. return del__.getUsers(context__);
  12928. }
  12929. catch (IceInternal.LocalExceptionWrapper ex__)
  12930. {
  12931. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  12932. }
  12933. catch (Ice.LocalException ex__)
  12934. {
  12935. handleException__(delBase__, ex__, true, ref cnt__);
  12936. }
  12937. }
  12938. }
  12939.  
  12940. /// <summary>
  12941. /// Check if user is permitted to perform action.
  12942. /// </summary>
  12943. /// <param name="session">Connection ID of user. See User.session.
  12944. /// </param>
  12945. /// <param name="channelid">ID of Channel. See Channel.id.
  12946. /// </param>
  12947. /// <param name="perm">Permission bits to check.
  12948. /// </param>
  12949. /// <returns>true if any of the permissions in perm were set for the user.</returns>
  12950.  
  12951. public bool hasPermission(int session, int channelid, int perm)
  12952. {
  12953. return hasPermission(session, channelid, perm, null, false);
  12954. }
  12955.  
  12956. /// <summary>
  12957. /// Check if user is permitted to perform action.
  12958. /// </summary>
  12959. /// <param name="session">Connection ID of user. See User.session.
  12960. /// </param>
  12961. /// <param name="channelid">ID of Channel. See Channel.id.
  12962. /// </param>
  12963. /// <param name="perm">Permission bits to check.
  12964. /// </param>
  12965. /// <returns>true if any of the permissions in perm were set for the user.</returns>
  12966. /// <param name="context__">The Context map to send with the invocation.</param>
  12967.  
  12968. public bool hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> context__)
  12969. {
  12970. return hasPermission(session, channelid, perm, context__, true);
  12971. }
  12972.  
  12973. private bool hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  12974. {
  12975. if (explicitContext__ && context__ == null)
  12976. {
  12977. context__ = emptyContext_;
  12978. }
  12979. int cnt__ = 0;
  12980. while (true)
  12981. {
  12982. Ice.ObjectDel_ delBase__ = null;
  12983. try
  12984. {
  12985. checkTwowayOnly__("hasPermission");
  12986. delBase__ = getDelegate__(false);
  12987. ServerDel_ del__ = (ServerDel_)delBase__;
  12988. return del__.hasPermission(session, channelid, perm, context__);
  12989. }
  12990. catch (IceInternal.LocalExceptionWrapper ex__)
  12991. {
  12992. handleExceptionWrapper__(delBase__, ex__);
  12993. }
  12994. catch (Ice.LocalException ex__)
  12995. {
  12996. handleException__(delBase__, ex__, true, ref cnt__);
  12997. }
  12998. }
  12999. }
  13000.  
  13001. /// <summary>
  13002. /// Fetch the server id.
  13003. /// </summary>
  13004. /// <returns>Unique server id.</returns>
  13005.  
  13006. public int id()
  13007. {
  13008. return id(null, false);
  13009. }
  13010.  
  13011. /// <summary>
  13012. /// Fetch the server id.
  13013. /// </summary>
  13014. /// <returns>Unique server id.</returns>
  13015. /// <param name="context__">The Context map to send with the invocation.</param>
  13016.  
  13017. public int id(_System.Collections.Generic.Dictionary<string, string> context__)
  13018. {
  13019. return id(context__, true);
  13020. }
  13021.  
  13022. private int id(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13023. {
  13024. if (explicitContext__ && context__ == null)
  13025. {
  13026. context__ = emptyContext_;
  13027. }
  13028. int cnt__ = 0;
  13029. while (true)
  13030. {
  13031. Ice.ObjectDel_ delBase__ = null;
  13032. try
  13033. {
  13034. checkTwowayOnly__("id");
  13035. delBase__ = getDelegate__(false);
  13036. ServerDel_ del__ = (ServerDel_)delBase__;
  13037. return del__.id(context__);
  13038. }
  13039. catch (IceInternal.LocalExceptionWrapper ex__)
  13040. {
  13041. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  13042. }
  13043. catch (Ice.LocalException ex__)
  13044. {
  13045. handleException__(delBase__, ex__, true, ref cnt__);
  13046. }
  13047. }
  13048. }
  13049.  
  13050. /// <summary>
  13051. /// Shows if the server currently running (accepting users).
  13052. /// </summary>
  13053. /// <returns>Run-state of server.</returns>
  13054.  
  13055. public bool isRunning()
  13056. {
  13057. return isRunning(null, false);
  13058. }
  13059.  
  13060. /// <summary>
  13061. /// Shows if the server currently running (accepting users).
  13062. /// </summary>
  13063. /// <returns>Run-state of server.</returns>
  13064. /// <param name="context__">The Context map to send with the invocation.</param>
  13065.  
  13066. public bool isRunning(_System.Collections.Generic.Dictionary<string, string> context__)
  13067. {
  13068. return isRunning(context__, true);
  13069. }
  13070.  
  13071. private bool isRunning(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13072. {
  13073. if (explicitContext__ && context__ == null)
  13074. {
  13075. context__ = emptyContext_;
  13076. }
  13077. int cnt__ = 0;
  13078. while (true)
  13079. {
  13080. Ice.ObjectDel_ delBase__ = null;
  13081. try
  13082. {
  13083. checkTwowayOnly__("isRunning");
  13084. delBase__ = getDelegate__(false);
  13085. ServerDel_ del__ = (ServerDel_)delBase__;
  13086. return del__.isRunning(context__);
  13087. }
  13088. catch (IceInternal.LocalExceptionWrapper ex__)
  13089. {
  13090. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  13091. }
  13092. catch (Ice.LocalException ex__)
  13093. {
  13094. handleException__(delBase__, ex__, true, ref cnt__);
  13095. }
  13096. }
  13097. }
  13098.  
  13099. /// <summary>
  13100. /// Kick a user.
  13101. /// The user is not banned, and is free to rejoin the server.
  13102. /// </summary>
  13103. /// <param name="session">Connection ID of user. See User.session.
  13104. /// </param>
  13105. /// <param name="reason">Text message to show when user is kicked.</param>
  13106.  
  13107. public void kickUser(int session, string reason)
  13108. {
  13109. kickUser(session, reason, null, false);
  13110. }
  13111.  
  13112. /// <summary>
  13113. /// Kick a user.
  13114. /// The user is not banned, and is free to rejoin the server.
  13115. /// </summary>
  13116. /// <param name="session">Connection ID of user. See User.session.
  13117. /// </param>
  13118. /// <param name="reason">Text message to show when user is kicked.</param>
  13119. /// <param name="context__">The Context map to send with the invocation.</param>
  13120.  
  13121. public void kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> context__)
  13122. {
  13123. kickUser(session, reason, context__, true);
  13124. }
  13125.  
  13126. private void kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13127. {
  13128. if (explicitContext__ && context__ == null)
  13129. {
  13130. context__ = emptyContext_;
  13131. }
  13132. int cnt__ = 0;
  13133. while (true)
  13134. {
  13135. Ice.ObjectDel_ delBase__ = null;
  13136. try
  13137. {
  13138. checkTwowayOnly__("kickUser");
  13139. delBase__ = getDelegate__(false);
  13140. ServerDel_ del__ = (ServerDel_)delBase__;
  13141. del__.kickUser(session, reason, context__);
  13142. return;
  13143. }
  13144. catch (IceInternal.LocalExceptionWrapper ex__)
  13145. {
  13146. handleExceptionWrapper__(delBase__, ex__);
  13147. }
  13148. catch (Ice.LocalException ex__)
  13149. {
  13150. handleException__(delBase__, ex__, true, ref cnt__);
  13151. }
  13152. }
  13153. }
  13154.  
  13155. /// <summary>
  13156. /// Redirect whisper targets for user.
  13157. /// If set, whenever a user tries to whisper to group "source", the whisper will be redirected to group "target".
  13158. /// To remove a redirect pass an empty target string. This is intended for context groups.
  13159. /// </summary>
  13160. /// <param name="session">Connection ID of user. See User.session.
  13161. /// </param>
  13162. /// <param name="source">Group name to redirect from.
  13163. /// </param>
  13164. /// <param name="target">Group name to redirect to.</param>
  13165.  
  13166. public void redirectWhisperGroup(int session, string source, string target)
  13167. {
  13168. redirectWhisperGroup(session, source, target, null, false);
  13169. }
  13170.  
  13171. /// <summary>
  13172. /// Redirect whisper targets for user.
  13173. /// If set, whenever a user tries to whisper to group "source", the whisper will be redirected to group "target".
  13174. /// To remove a redirect pass an empty target string. This is intended for context groups.
  13175. /// </summary>
  13176. /// <param name="session">Connection ID of user. See User.session.
  13177. /// </param>
  13178. /// <param name="source">Group name to redirect from.
  13179. /// </param>
  13180. /// <param name="target">Group name to redirect to.</param>
  13181. /// <param name="context__">The Context map to send with the invocation.</param>
  13182.  
  13183. public void redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> context__)
  13184. {
  13185. redirectWhisperGroup(session, source, target, context__, true);
  13186. }
  13187.  
  13188. private void redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13189. {
  13190. if (explicitContext__ && context__ == null)
  13191. {
  13192. context__ = emptyContext_;
  13193. }
  13194. int cnt__ = 0;
  13195. while (true)
  13196. {
  13197. Ice.ObjectDel_ delBase__ = null;
  13198. try
  13199. {
  13200. checkTwowayOnly__("redirectWhisperGroup");
  13201. delBase__ = getDelegate__(false);
  13202. ServerDel_ del__ = (ServerDel_)delBase__;
  13203. del__.redirectWhisperGroup(session, source, target, context__);
  13204. return;
  13205. }
  13206. catch (IceInternal.LocalExceptionWrapper ex__)
  13207. {
  13208. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  13209. }
  13210. catch (Ice.LocalException ex__)
  13211. {
  13212. handleException__(delBase__, ex__, true, ref cnt__);
  13213. }
  13214. }
  13215. }
  13216.  
  13217. /// <summary>
  13218. /// Register a new user.
  13219. /// </summary>
  13220. /// <param name="info">Information about new user. Must include at least "name".
  13221. /// </param>
  13222. /// <returns>The ID of the user. See RegisteredUser.userid.</returns>
  13223.  
  13224. public int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  13225. {
  13226. return registerUser(info, null, false);
  13227. }
  13228.  
  13229. /// <summary>
  13230. /// Register a new user.
  13231. /// </summary>
  13232. /// <param name="info">Information about new user. Must include at least "name".
  13233. /// </param>
  13234. /// <returns>The ID of the user. See RegisteredUser.userid.</returns>
  13235. /// <param name="context__">The Context map to send with the invocation.</param>
  13236.  
  13237. public int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  13238. {
  13239. return registerUser(info, context__, true);
  13240. }
  13241.  
  13242. private int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13243. {
  13244. if (explicitContext__ && context__ == null)
  13245. {
  13246. context__ = emptyContext_;
  13247. }
  13248. int cnt__ = 0;
  13249. while (true)
  13250. {
  13251. Ice.ObjectDel_ delBase__ = null;
  13252. try
  13253. {
  13254. checkTwowayOnly__("registerUser");
  13255. delBase__ = getDelegate__(false);
  13256. ServerDel_ del__ = (ServerDel_)delBase__;
  13257. return del__.registerUser(info, context__);
  13258. }
  13259. catch (IceInternal.LocalExceptionWrapper ex__)
  13260. {
  13261. handleExceptionWrapper__(delBase__, ex__);
  13262. }
  13263. catch (Ice.LocalException ex__)
  13264. {
  13265. handleException__(delBase__, ex__, true, ref cnt__);
  13266. }
  13267. }
  13268. }
  13269.  
  13270. /// <summary>
  13271. /// Remove a callback.
  13272. /// </summary>
  13273. /// <param name="cb">Callback interface to be removed.
  13274. /// </param>
  13275.  
  13276. public void removeCallback(Murmur.ServerCallbackPrx cb)
  13277. {
  13278. removeCallback(cb, null, false);
  13279. }
  13280.  
  13281. /// <summary>
  13282. /// Remove a callback.
  13283. /// </summary>
  13284. /// <param name="cb">Callback interface to be removed.
  13285. /// </param>
  13286. /// <param name="context__">The Context map to send with the invocation.</param>
  13287.  
  13288. public void removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  13289. {
  13290. removeCallback(cb, context__, true);
  13291. }
  13292.  
  13293. private void removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13294. {
  13295. if (explicitContext__ && context__ == null)
  13296. {
  13297. context__ = emptyContext_;
  13298. }
  13299. int cnt__ = 0;
  13300. while (true)
  13301. {
  13302. Ice.ObjectDel_ delBase__ = null;
  13303. try
  13304. {
  13305. checkTwowayOnly__("removeCallback");
  13306. delBase__ = getDelegate__(false);
  13307. ServerDel_ del__ = (ServerDel_)delBase__;
  13308. del__.removeCallback(cb, context__);
  13309. return;
  13310. }
  13311. catch (IceInternal.LocalExceptionWrapper ex__)
  13312. {
  13313. handleExceptionWrapper__(delBase__, ex__);
  13314. }
  13315. catch (Ice.LocalException ex__)
  13316. {
  13317. handleException__(delBase__, ex__, true, ref cnt__);
  13318. }
  13319. }
  13320. }
  13321.  
  13322. /// <summary>
  13323. /// Remove a channel and all its subchannels.
  13324. /// </summary>
  13325. /// <param name="channelid">ID of Channel. See Channel.id.</param>
  13326.  
  13327. public void removeChannel(int channelid)
  13328. {
  13329. removeChannel(channelid, null, false);
  13330. }
  13331.  
  13332. /// <summary>
  13333. /// Remove a channel and all its subchannels.
  13334. /// </summary>
  13335. /// <param name="channelid">ID of Channel. See Channel.id.</param>
  13336. /// <param name="context__">The Context map to send with the invocation.</param>
  13337.  
  13338. public void removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  13339. {
  13340. removeChannel(channelid, context__, true);
  13341. }
  13342.  
  13343. private void removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13344. {
  13345. if (explicitContext__ && context__ == null)
  13346. {
  13347. context__ = emptyContext_;
  13348. }
  13349. int cnt__ = 0;
  13350. while (true)
  13351. {
  13352. Ice.ObjectDel_ delBase__ = null;
  13353. try
  13354. {
  13355. checkTwowayOnly__("removeChannel");
  13356. delBase__ = getDelegate__(false);
  13357. ServerDel_ del__ = (ServerDel_)delBase__;
  13358. del__.removeChannel(channelid, context__);
  13359. return;
  13360. }
  13361. catch (IceInternal.LocalExceptionWrapper ex__)
  13362. {
  13363. handleExceptionWrapper__(delBase__, ex__);
  13364. }
  13365. catch (Ice.LocalException ex__)
  13366. {
  13367. handleException__(delBase__, ex__, true, ref cnt__);
  13368. }
  13369. }
  13370. }
  13371.  
  13372. /// <summary>
  13373. /// Remove a callback.
  13374. /// </summary>
  13375. /// <param name="cb">Callback interface to be removed. This callback will be removed from all from all users.
  13376. /// </param>
  13377.  
  13378. public void removeContextCallback(Murmur.ServerContextCallbackPrx cb)
  13379. {
  13380. removeContextCallback(cb, null, false);
  13381. }
  13382.  
  13383. /// <summary>
  13384. /// Remove a callback.
  13385. /// </summary>
  13386. /// <param name="cb">Callback interface to be removed. This callback will be removed from all from all users.
  13387. /// </param>
  13388. /// <param name="context__">The Context map to send with the invocation.</param>
  13389.  
  13390. public void removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  13391. {
  13392. removeContextCallback(cb, context__, true);
  13393. }
  13394.  
  13395. private void removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13396. {
  13397. if (explicitContext__ && context__ == null)
  13398. {
  13399. context__ = emptyContext_;
  13400. }
  13401. int cnt__ = 0;
  13402. while (true)
  13403. {
  13404. Ice.ObjectDel_ delBase__ = null;
  13405. try
  13406. {
  13407. checkTwowayOnly__("removeContextCallback");
  13408. delBase__ = getDelegate__(false);
  13409. ServerDel_ del__ = (ServerDel_)delBase__;
  13410. del__.removeContextCallback(cb, context__);
  13411. return;
  13412. }
  13413. catch (IceInternal.LocalExceptionWrapper ex__)
  13414. {
  13415. handleExceptionWrapper__(delBase__, ex__);
  13416. }
  13417. catch (Ice.LocalException ex__)
  13418. {
  13419. handleException__(delBase__, ex__, true, ref cnt__);
  13420. }
  13421. }
  13422. }
  13423.  
  13424. /// <summary>
  13425. /// Remove a user from a temporary group membership on a channel.
  13426. /// This state is not saved, and is intended for temporary memberships.
  13427. /// </summary>
  13428. /// <param name="channelid">Channel ID of channel to add to. See Channel.id.
  13429. /// </param>
  13430. /// <param name="session">Connection ID of user. See User.session.
  13431. /// </param>
  13432. /// <param name="group">Group name to remove from.</param>
  13433.  
  13434. public void removeUserFromGroup(int channelid, int session, string group)
  13435. {
  13436. removeUserFromGroup(channelid, session, group, null, false);
  13437. }
  13438.  
  13439. /// <summary>
  13440. /// Remove a user from a temporary group membership on a channel.
  13441. /// This state is not saved, and is intended for temporary memberships.
  13442. /// </summary>
  13443. /// <param name="channelid">Channel ID of channel to add to. See Channel.id.
  13444. /// </param>
  13445. /// <param name="session">Connection ID of user. See User.session.
  13446. /// </param>
  13447. /// <param name="group">Group name to remove from.</param>
  13448. /// <param name="context__">The Context map to send with the invocation.</param>
  13449.  
  13450. public void removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__)
  13451. {
  13452. removeUserFromGroup(channelid, session, group, context__, true);
  13453. }
  13454.  
  13455. private void removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13456. {
  13457. if (explicitContext__ && context__ == null)
  13458. {
  13459. context__ = emptyContext_;
  13460. }
  13461. int cnt__ = 0;
  13462. while (true)
  13463. {
  13464. Ice.ObjectDel_ delBase__ = null;
  13465. try
  13466. {
  13467. checkTwowayOnly__("removeUserFromGroup");
  13468. delBase__ = getDelegate__(false);
  13469. ServerDel_ del__ = (ServerDel_)delBase__;
  13470. del__.removeUserFromGroup(channelid, session, group, context__);
  13471. return;
  13472. }
  13473. catch (IceInternal.LocalExceptionWrapper ex__)
  13474. {
  13475. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  13476. }
  13477. catch (Ice.LocalException ex__)
  13478. {
  13479. handleException__(delBase__, ex__, true, ref cnt__);
  13480. }
  13481. }
  13482. }
  13483.  
  13484. /// <summary>
  13485. /// Send text message to a single user.
  13486. /// </summary>
  13487. /// <param name="session">Connection ID of user. See User.session.
  13488. /// </param>
  13489. /// <param name="text">Message to send.
  13490. /// </param>
  13491.  
  13492. public void sendMessage(int session, string text)
  13493. {
  13494. sendMessage(session, text, null, false);
  13495. }
  13496.  
  13497. /// <summary>
  13498. /// Send text message to a single user.
  13499. /// </summary>
  13500. /// <param name="session">Connection ID of user. See User.session.
  13501. /// </param>
  13502. /// <param name="text">Message to send.
  13503. /// </param>
  13504. /// <param name="context__">The Context map to send with the invocation.</param>
  13505.  
  13506. public void sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> context__)
  13507. {
  13508. sendMessage(session, text, context__, true);
  13509. }
  13510.  
  13511. private void sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13512. {
  13513. if (explicitContext__ && context__ == null)
  13514. {
  13515. context__ = emptyContext_;
  13516. }
  13517. int cnt__ = 0;
  13518. while (true)
  13519. {
  13520. Ice.ObjectDel_ delBase__ = null;
  13521. try
  13522. {
  13523. checkTwowayOnly__("sendMessage");
  13524. delBase__ = getDelegate__(false);
  13525. ServerDel_ del__ = (ServerDel_)delBase__;
  13526. del__.sendMessage(session, text, context__);
  13527. return;
  13528. }
  13529. catch (IceInternal.LocalExceptionWrapper ex__)
  13530. {
  13531. handleExceptionWrapper__(delBase__, ex__);
  13532. }
  13533. catch (Ice.LocalException ex__)
  13534. {
  13535. handleException__(delBase__, ex__, true, ref cnt__);
  13536. }
  13537. }
  13538. }
  13539.  
  13540. /// <summary>
  13541. /// Send text message to channel or a tree of channels.
  13542. /// </summary>
  13543. /// <param name="channelid">Channel ID of channel to send to. See Channel.id.
  13544. /// </param>
  13545. /// <param name="tree">If true, the message will be sent to the channel and all its subchannels.
  13546. /// </param>
  13547. /// <param name="text">Message to send.
  13548. /// </param>
  13549.  
  13550. public void sendMessageChannel(int channelid, bool tree, string text)
  13551. {
  13552. sendMessageChannel(channelid, tree, text, null, false);
  13553. }
  13554.  
  13555. /// <summary>
  13556. /// Send text message to channel or a tree of channels.
  13557. /// </summary>
  13558. /// <param name="channelid">Channel ID of channel to send to. See Channel.id.
  13559. /// </param>
  13560. /// <param name="tree">If true, the message will be sent to the channel and all its subchannels.
  13561. /// </param>
  13562. /// <param name="text">Message to send.
  13563. /// </param>
  13564. /// <param name="context__">The Context map to send with the invocation.</param>
  13565.  
  13566. public void sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> context__)
  13567. {
  13568. sendMessageChannel(channelid, tree, text, context__, true);
  13569. }
  13570.  
  13571. private void sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13572. {
  13573. if (explicitContext__ && context__ == null)
  13574. {
  13575. context__ = emptyContext_;
  13576. }
  13577. int cnt__ = 0;
  13578. while (true)
  13579. {
  13580. Ice.ObjectDel_ delBase__ = null;
  13581. try
  13582. {
  13583. checkTwowayOnly__("sendMessageChannel");
  13584. delBase__ = getDelegate__(false);
  13585. ServerDel_ del__ = (ServerDel_)delBase__;
  13586. del__.sendMessageChannel(channelid, tree, text, context__);
  13587. return;
  13588. }
  13589. catch (IceInternal.LocalExceptionWrapper ex__)
  13590. {
  13591. handleExceptionWrapper__(delBase__, ex__);
  13592. }
  13593. catch (Ice.LocalException ex__)
  13594. {
  13595. handleException__(delBase__, ex__, true, ref cnt__);
  13596. }
  13597. }
  13598. }
  13599.  
  13600. /// <summary>
  13601. /// Set ACLs and Groups on a channel.
  13602. /// Note that this will replace all existing ACLs and groups on the channel.
  13603. /// </summary>
  13604. /// <param name="channelid">Channel ID of channel to fetch from. See Channel.id.
  13605. /// </param>
  13606. /// <param name="acls">List of ACLs on the channel.
  13607. /// </param>
  13608. /// <param name="groups">List of groups on the channel.
  13609. /// </param>
  13610. /// <param name="inherit">Should this channel inherit ACLs from the parent channel?</param>
  13611.  
  13612. public void setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit)
  13613. {
  13614. setACL(channelid, acls, groups, inherit, null, false);
  13615. }
  13616.  
  13617. /// <summary>
  13618. /// Set ACLs and Groups on a channel.
  13619. /// Note that this will replace all existing ACLs and groups on the channel.
  13620. /// </summary>
  13621. /// <param name="channelid">Channel ID of channel to fetch from. See Channel.id.
  13622. /// </param>
  13623. /// <param name="acls">List of ACLs on the channel.
  13624. /// </param>
  13625. /// <param name="groups">List of groups on the channel.
  13626. /// </param>
  13627. /// <param name="inherit">Should this channel inherit ACLs from the parent channel?</param>
  13628. /// <param name="context__">The Context map to send with the invocation.</param>
  13629.  
  13630. public void setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> context__)
  13631. {
  13632. setACL(channelid, acls, groups, inherit, context__, true);
  13633. }
  13634.  
  13635. private void setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13636. {
  13637. if (explicitContext__ && context__ == null)
  13638. {
  13639. context__ = emptyContext_;
  13640. }
  13641. int cnt__ = 0;
  13642. while (true)
  13643. {
  13644. Ice.ObjectDel_ delBase__ = null;
  13645. try
  13646. {
  13647. checkTwowayOnly__("setACL");
  13648. delBase__ = getDelegate__(false);
  13649. ServerDel_ del__ = (ServerDel_)delBase__;
  13650. del__.setACL(channelid, acls, groups, inherit, context__);
  13651. return;
  13652. }
  13653. catch (IceInternal.LocalExceptionWrapper ex__)
  13654. {
  13655. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  13656. }
  13657. catch (Ice.LocalException ex__)
  13658. {
  13659. handleException__(delBase__, ex__, true, ref cnt__);
  13660. }
  13661. }
  13662. }
  13663.  
  13664. /// <summary>
  13665. /// Set external authenticator.
  13666. /// If set, all authentications from clients are forwarded to this
  13667. /// proxy.
  13668. ///
  13669. /// </summary>
  13670. /// <param name="auth">Authenticator object to perform subsequent authentications.</param>
  13671.  
  13672. public void setAuthenticator(Murmur.ServerAuthenticatorPrx auth)
  13673. {
  13674. setAuthenticator(auth, null, false);
  13675. }
  13676.  
  13677. /// <summary>
  13678. /// Set external authenticator.
  13679. /// If set, all authentications from clients are forwarded to this
  13680. /// proxy.
  13681. ///
  13682. /// </summary>
  13683. /// <param name="auth">Authenticator object to perform subsequent authentications.</param>
  13684. /// <param name="context__">The Context map to send with the invocation.</param>
  13685.  
  13686. public void setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> context__)
  13687. {
  13688. setAuthenticator(auth, context__, true);
  13689. }
  13690.  
  13691. private void setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13692. {
  13693. if (explicitContext__ && context__ == null)
  13694. {
  13695. context__ = emptyContext_;
  13696. }
  13697. int cnt__ = 0;
  13698. while (true)
  13699. {
  13700. Ice.ObjectDel_ delBase__ = null;
  13701. try
  13702. {
  13703. checkTwowayOnly__("setAuthenticator");
  13704. delBase__ = getDelegate__(false);
  13705. ServerDel_ del__ = (ServerDel_)delBase__;
  13706. del__.setAuthenticator(auth, context__);
  13707. return;
  13708. }
  13709. catch (IceInternal.LocalExceptionWrapper ex__)
  13710. {
  13711. handleExceptionWrapper__(delBase__, ex__);
  13712. }
  13713. catch (Ice.LocalException ex__)
  13714. {
  13715. handleException__(delBase__, ex__, true, ref cnt__);
  13716. }
  13717. }
  13718. }
  13719.  
  13720. /// <summary>
  13721. /// Set all current IP bans on the server.
  13722. /// This will replace any bans already present, so if you want to add a ban, be sure to call getBans and then
  13723. /// append to the returned list before calling this method.
  13724. /// </summary>
  13725. /// <param name="bans">List of bans.</param>
  13726.  
  13727. public void setBans(Murmur.Ban[] bans)
  13728. {
  13729. setBans(bans, null, false);
  13730. }
  13731.  
  13732. /// <summary>
  13733. /// Set all current IP bans on the server.
  13734. /// This will replace any bans already present, so if you want to add a ban, be sure to call getBans and then
  13735. /// append to the returned list before calling this method.
  13736. /// </summary>
  13737. /// <param name="bans">List of bans.</param>
  13738. /// <param name="context__">The Context map to send with the invocation.</param>
  13739.  
  13740. public void setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> context__)
  13741. {
  13742. setBans(bans, context__, true);
  13743. }
  13744.  
  13745. private void setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13746. {
  13747. if (explicitContext__ && context__ == null)
  13748. {
  13749. context__ = emptyContext_;
  13750. }
  13751. int cnt__ = 0;
  13752. while (true)
  13753. {
  13754. Ice.ObjectDel_ delBase__ = null;
  13755. try
  13756. {
  13757. checkTwowayOnly__("setBans");
  13758. delBase__ = getDelegate__(false);
  13759. ServerDel_ del__ = (ServerDel_)delBase__;
  13760. del__.setBans(bans, context__);
  13761. return;
  13762. }
  13763. catch (IceInternal.LocalExceptionWrapper ex__)
  13764. {
  13765. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  13766. }
  13767. catch (Ice.LocalException ex__)
  13768. {
  13769. handleException__(delBase__, ex__, true, ref cnt__);
  13770. }
  13771. }
  13772. }
  13773.  
  13774. /// <summary>
  13775. /// Set state of a single channel.
  13776. /// You can use this to move or relink channels.
  13777. /// </summary>
  13778. /// <param name="state">Channel state to set.
  13779. /// </param>
  13780.  
  13781. public void setChannelState(Murmur.Channel state)
  13782. {
  13783. setChannelState(state, null, false);
  13784. }
  13785.  
  13786. /// <summary>
  13787. /// Set state of a single channel.
  13788. /// You can use this to move or relink channels.
  13789. /// </summary>
  13790. /// <param name="state">Channel state to set.
  13791. /// </param>
  13792. /// <param name="context__">The Context map to send with the invocation.</param>
  13793.  
  13794. public void setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  13795. {
  13796. setChannelState(state, context__, true);
  13797. }
  13798.  
  13799. private void setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13800. {
  13801. if (explicitContext__ && context__ == null)
  13802. {
  13803. context__ = emptyContext_;
  13804. }
  13805. int cnt__ = 0;
  13806. while (true)
  13807. {
  13808. Ice.ObjectDel_ delBase__ = null;
  13809. try
  13810. {
  13811. checkTwowayOnly__("setChannelState");
  13812. delBase__ = getDelegate__(false);
  13813. ServerDel_ del__ = (ServerDel_)delBase__;
  13814. del__.setChannelState(state, context__);
  13815. return;
  13816. }
  13817. catch (IceInternal.LocalExceptionWrapper ex__)
  13818. {
  13819. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  13820. }
  13821. catch (Ice.LocalException ex__)
  13822. {
  13823. handleException__(delBase__, ex__, true, ref cnt__);
  13824. }
  13825. }
  13826. }
  13827.  
  13828. /// <summary>
  13829. /// Set a configuration item.
  13830. /// </summary>
  13831. /// <param name="key">Configuration key.
  13832. /// </param>
  13833. /// <param name="value">Configuration value.</param>
  13834.  
  13835. public void setConf(string key, string value)
  13836. {
  13837. setConf(key, value, null, false);
  13838. }
  13839.  
  13840. /// <summary>
  13841. /// Set a configuration item.
  13842. /// </summary>
  13843. /// <param name="key">Configuration key.
  13844. /// </param>
  13845. /// <param name="value">Configuration value.</param>
  13846. /// <param name="context__">The Context map to send with the invocation.</param>
  13847.  
  13848. public void setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> context__)
  13849. {
  13850. setConf(key, value, context__, true);
  13851. }
  13852.  
  13853. private void setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13854. {
  13855. if (explicitContext__ && context__ == null)
  13856. {
  13857. context__ = emptyContext_;
  13858. }
  13859. int cnt__ = 0;
  13860. while (true)
  13861. {
  13862. Ice.ObjectDel_ delBase__ = null;
  13863. try
  13864. {
  13865. checkTwowayOnly__("setConf");
  13866. delBase__ = getDelegate__(false);
  13867. ServerDel_ del__ = (ServerDel_)delBase__;
  13868. del__.setConf(key, value, context__);
  13869. return;
  13870. }
  13871. catch (IceInternal.LocalExceptionWrapper ex__)
  13872. {
  13873. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  13874. }
  13875. catch (Ice.LocalException ex__)
  13876. {
  13877. handleException__(delBase__, ex__, true, ref cnt__);
  13878. }
  13879. }
  13880. }
  13881.  
  13882. /// <summary>
  13883. /// Set user state.
  13884. /// You can use this to move, mute and deafen users.
  13885. /// </summary>
  13886. /// <param name="state">User state to set.
  13887. /// </param>
  13888.  
  13889. public void setState(Murmur.User state)
  13890. {
  13891. setState(state, null, false);
  13892. }
  13893.  
  13894. /// <summary>
  13895. /// Set user state.
  13896. /// You can use this to move, mute and deafen users.
  13897. /// </summary>
  13898. /// <param name="state">User state to set.
  13899. /// </param>
  13900. /// <param name="context__">The Context map to send with the invocation.</param>
  13901.  
  13902. public void setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  13903. {
  13904. setState(state, context__, true);
  13905. }
  13906.  
  13907. private void setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13908. {
  13909. if (explicitContext__ && context__ == null)
  13910. {
  13911. context__ = emptyContext_;
  13912. }
  13913. int cnt__ = 0;
  13914. while (true)
  13915. {
  13916. Ice.ObjectDel_ delBase__ = null;
  13917. try
  13918. {
  13919. checkTwowayOnly__("setState");
  13920. delBase__ = getDelegate__(false);
  13921. ServerDel_ del__ = (ServerDel_)delBase__;
  13922. del__.setState(state, context__);
  13923. return;
  13924. }
  13925. catch (IceInternal.LocalExceptionWrapper ex__)
  13926. {
  13927. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  13928. }
  13929. catch (Ice.LocalException ex__)
  13930. {
  13931. handleException__(delBase__, ex__, true, ref cnt__);
  13932. }
  13933. }
  13934. }
  13935.  
  13936. /// <summary>
  13937. /// Set superuser password.
  13938. /// This is just a convenience for using updateRegistration on user id 0.
  13939. /// </summary>
  13940. /// <param name="pw">Password.</param>
  13941.  
  13942. public void setSuperuserPassword(string pw)
  13943. {
  13944. setSuperuserPassword(pw, null, false);
  13945. }
  13946.  
  13947. /// <summary>
  13948. /// Set superuser password.
  13949. /// This is just a convenience for using updateRegistration on user id 0.
  13950. /// </summary>
  13951. /// <param name="pw">Password.</param>
  13952. /// <param name="context__">The Context map to send with the invocation.</param>
  13953.  
  13954. public void setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> context__)
  13955. {
  13956. setSuperuserPassword(pw, context__, true);
  13957. }
  13958.  
  13959. private void setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  13960. {
  13961. if (explicitContext__ && context__ == null)
  13962. {
  13963. context__ = emptyContext_;
  13964. }
  13965. int cnt__ = 0;
  13966. while (true)
  13967. {
  13968. Ice.ObjectDel_ delBase__ = null;
  13969. try
  13970. {
  13971. checkTwowayOnly__("setSuperuserPassword");
  13972. delBase__ = getDelegate__(false);
  13973. ServerDel_ del__ = (ServerDel_)delBase__;
  13974. del__.setSuperuserPassword(pw, context__);
  13975. return;
  13976. }
  13977. catch (IceInternal.LocalExceptionWrapper ex__)
  13978. {
  13979. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  13980. }
  13981. catch (Ice.LocalException ex__)
  13982. {
  13983. handleException__(delBase__, ex__, true, ref cnt__);
  13984. }
  13985. }
  13986. }
  13987.  
  13988. /// <summary>
  13989. /// Set a user texture (now called avatar).
  13990. /// </summary>
  13991. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  13992. /// </param>
  13993. /// <param name="tex">Texture (as a Byte-Array) to set for the user, or an empty texture to remove the existing texture.</param>
  13994.  
  13995. public void setTexture(int userid, byte[] tex)
  13996. {
  13997. setTexture(userid, tex, null, false);
  13998. }
  13999.  
  14000. /// <summary>
  14001. /// Set a user texture (now called avatar).
  14002. /// </summary>
  14003. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  14004. /// </param>
  14005. /// <param name="tex">Texture (as a Byte-Array) to set for the user, or an empty texture to remove the existing texture.</param>
  14006. /// <param name="context__">The Context map to send with the invocation.</param>
  14007.  
  14008. public void setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__)
  14009. {
  14010. setTexture(userid, tex, context__, true);
  14011. }
  14012.  
  14013. private void setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  14014. {
  14015. if (explicitContext__ && context__ == null)
  14016. {
  14017. context__ = emptyContext_;
  14018. }
  14019. int cnt__ = 0;
  14020. while (true)
  14021. {
  14022. Ice.ObjectDel_ delBase__ = null;
  14023. try
  14024. {
  14025. checkTwowayOnly__("setTexture");
  14026. delBase__ = getDelegate__(false);
  14027. ServerDel_ del__ = (ServerDel_)delBase__;
  14028. del__.setTexture(userid, tex, context__);
  14029. return;
  14030. }
  14031. catch (IceInternal.LocalExceptionWrapper ex__)
  14032. {
  14033. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  14034. }
  14035. catch (Ice.LocalException ex__)
  14036. {
  14037. handleException__(delBase__, ex__, true, ref cnt__);
  14038. }
  14039. }
  14040. }
  14041.  
  14042. /// <summary>
  14043. /// Start server.
  14044. /// </summary>
  14045.  
  14046. public void start()
  14047. {
  14048. start(null, false);
  14049. }
  14050.  
  14051. /// <summary>
  14052. /// Start server.
  14053. /// </summary>
  14054. /// <param name="context__">The Context map to send with the invocation.</param>
  14055.  
  14056. public void start(_System.Collections.Generic.Dictionary<string, string> context__)
  14057. {
  14058. start(context__, true);
  14059. }
  14060.  
  14061. private void start(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  14062. {
  14063. if (explicitContext__ && context__ == null)
  14064. {
  14065. context__ = emptyContext_;
  14066. }
  14067. int cnt__ = 0;
  14068. while (true)
  14069. {
  14070. Ice.ObjectDel_ delBase__ = null;
  14071. try
  14072. {
  14073. checkTwowayOnly__("start");
  14074. delBase__ = getDelegate__(false);
  14075. ServerDel_ del__ = (ServerDel_)delBase__;
  14076. del__.start(context__);
  14077. return;
  14078. }
  14079. catch (IceInternal.LocalExceptionWrapper ex__)
  14080. {
  14081. handleExceptionWrapper__(delBase__, ex__);
  14082. }
  14083. catch (Ice.LocalException ex__)
  14084. {
  14085. handleException__(delBase__, ex__, true, ref cnt__);
  14086. }
  14087. }
  14088. }
  14089.  
  14090. /// <summary>
  14091. /// Stop server.
  14092. /// Note: Server will be restarted on Murmur restart unless explicitly disabled
  14093. /// with setConf("boot", false)
  14094. /// </summary>
  14095.  
  14096. public void stop()
  14097. {
  14098. stop(null, false);
  14099. }
  14100.  
  14101. /// <summary>
  14102. /// Stop server.
  14103. /// Note: Server will be restarted on Murmur restart unless explicitly disabled
  14104. /// with setConf("boot", false)
  14105. /// </summary>
  14106. /// <param name="context__">The Context map to send with the invocation.</param>
  14107.  
  14108. public void stop(_System.Collections.Generic.Dictionary<string, string> context__)
  14109. {
  14110. stop(context__, true);
  14111. }
  14112.  
  14113. private void stop(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  14114. {
  14115. if (explicitContext__ && context__ == null)
  14116. {
  14117. context__ = emptyContext_;
  14118. }
  14119. int cnt__ = 0;
  14120. while (true)
  14121. {
  14122. Ice.ObjectDel_ delBase__ = null;
  14123. try
  14124. {
  14125. checkTwowayOnly__("stop");
  14126. delBase__ = getDelegate__(false);
  14127. ServerDel_ del__ = (ServerDel_)delBase__;
  14128. del__.stop(context__);
  14129. return;
  14130. }
  14131. catch (IceInternal.LocalExceptionWrapper ex__)
  14132. {
  14133. handleExceptionWrapper__(delBase__, ex__);
  14134. }
  14135. catch (Ice.LocalException ex__)
  14136. {
  14137. handleException__(delBase__, ex__, true, ref cnt__);
  14138. }
  14139. }
  14140. }
  14141.  
  14142. /// <summary>
  14143. /// Remove a user registration.
  14144. /// </summary>
  14145. /// <param name="userid">ID of registered user. See RegisteredUser.userid.</param>
  14146.  
  14147. public void unregisterUser(int userid)
  14148. {
  14149. unregisterUser(userid, null, false);
  14150. }
  14151.  
  14152. /// <summary>
  14153. /// Remove a user registration.
  14154. /// </summary>
  14155. /// <param name="userid">ID of registered user. See RegisteredUser.userid.</param>
  14156. /// <param name="context__">The Context map to send with the invocation.</param>
  14157.  
  14158. public void unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> context__)
  14159. {
  14160. unregisterUser(userid, context__, true);
  14161. }
  14162.  
  14163. private void unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  14164. {
  14165. if (explicitContext__ && context__ == null)
  14166. {
  14167. context__ = emptyContext_;
  14168. }
  14169. int cnt__ = 0;
  14170. while (true)
  14171. {
  14172. Ice.ObjectDel_ delBase__ = null;
  14173. try
  14174. {
  14175. checkTwowayOnly__("unregisterUser");
  14176. delBase__ = getDelegate__(false);
  14177. ServerDel_ del__ = (ServerDel_)delBase__;
  14178. del__.unregisterUser(userid, context__);
  14179. return;
  14180. }
  14181. catch (IceInternal.LocalExceptionWrapper ex__)
  14182. {
  14183. handleExceptionWrapper__(delBase__, ex__);
  14184. }
  14185. catch (Ice.LocalException ex__)
  14186. {
  14187. handleException__(delBase__, ex__, true, ref cnt__);
  14188. }
  14189. }
  14190. }
  14191.  
  14192. /// <summary>
  14193. /// Update the server's certificate information.
  14194. /// Reconfigure the running server's TLS socket with the given
  14195. /// certificate and private key.
  14196. ///
  14197. /// The certificate and and private key must be PEM formatted.
  14198. ///
  14199. /// New clients will see the new certificate.
  14200. /// Existing clients will continue to see the certificate the server
  14201. /// was using when they connected to it.
  14202. ///
  14203. /// This method throws InvalidInputDataException if any of the
  14204. /// following errors happen:
  14205. /// - Unable to decode the PEM certificate and/or private key.
  14206. /// - Unable to decrypt the private key with the given passphrase.
  14207. /// - The certificate and/or private key do not contain RSA keys.
  14208. /// - The certificate is not usable with the given private key.
  14209. /// </summary>
  14210.  
  14211. public void updateCertificate(string certificate, string privateKey, string passphrase)
  14212. {
  14213. updateCertificate(certificate, privateKey, passphrase, null, false);
  14214. }
  14215.  
  14216. /// <summary>
  14217. /// Update the server's certificate information.
  14218. /// Reconfigure the running server's TLS socket with the given
  14219. /// certificate and private key.
  14220. ///
  14221. /// The certificate and and private key must be PEM formatted.
  14222. ///
  14223. /// New clients will see the new certificate.
  14224. /// Existing clients will continue to see the certificate the server
  14225. /// was using when they connected to it.
  14226. ///
  14227. /// This method throws InvalidInputDataException if any of the
  14228. /// following errors happen:
  14229. /// - Unable to decode the PEM certificate and/or private key.
  14230. /// - Unable to decrypt the private key with the given passphrase.
  14231. /// - The certificate and/or private key do not contain RSA keys.
  14232. /// - The certificate is not usable with the given private key.
  14233. /// </summary>
  14234. /// <param name="context__">The Context map to send with the invocation.</param>
  14235.  
  14236. public void updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> context__)
  14237. {
  14238. updateCertificate(certificate, privateKey, passphrase, context__, true);
  14239. }
  14240.  
  14241. private void updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  14242. {
  14243. if (explicitContext__ && context__ == null)
  14244. {
  14245. context__ = emptyContext_;
  14246. }
  14247. int cnt__ = 0;
  14248. while (true)
  14249. {
  14250. Ice.ObjectDel_ delBase__ = null;
  14251. try
  14252. {
  14253. checkTwowayOnly__("updateCertificate");
  14254. delBase__ = getDelegate__(false);
  14255. ServerDel_ del__ = (ServerDel_)delBase__;
  14256. del__.updateCertificate(certificate, privateKey, passphrase, context__);
  14257. return;
  14258. }
  14259. catch (IceInternal.LocalExceptionWrapper ex__)
  14260. {
  14261. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  14262. }
  14263. catch (Ice.LocalException ex__)
  14264. {
  14265. handleException__(delBase__, ex__, true, ref cnt__);
  14266. }
  14267. }
  14268. }
  14269.  
  14270. /// <summary>
  14271. /// Update the registration for a user.
  14272. /// You can use this to set the email or password of a user,
  14273. /// and can also use it to change the user's name.
  14274. /// </summary>
  14275. /// <param name="registration">Updated registration record.</param>
  14276.  
  14277. public void updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  14278. {
  14279. updateRegistration(userid, info, null, false);
  14280. }
  14281.  
  14282. /// <summary>
  14283. /// Update the registration for a user.
  14284. /// You can use this to set the email or password of a user,
  14285. /// and can also use it to change the user's name.
  14286. /// </summary>
  14287. /// <param name="registration">Updated registration record.</param>
  14288. /// <param name="context__">The Context map to send with the invocation.</param>
  14289.  
  14290. public void updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  14291. {
  14292. updateRegistration(userid, info, context__, true);
  14293. }
  14294.  
  14295. private void updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  14296. {
  14297. if (explicitContext__ && context__ == null)
  14298. {
  14299. context__ = emptyContext_;
  14300. }
  14301. int cnt__ = 0;
  14302. while (true)
  14303. {
  14304. Ice.ObjectDel_ delBase__ = null;
  14305. try
  14306. {
  14307. checkTwowayOnly__("updateRegistration");
  14308. delBase__ = getDelegate__(false);
  14309. ServerDel_ del__ = (ServerDel_)delBase__;
  14310. del__.updateRegistration(userid, info, context__);
  14311. return;
  14312. }
  14313. catch (IceInternal.LocalExceptionWrapper ex__)
  14314. {
  14315. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  14316. }
  14317. catch (Ice.LocalException ex__)
  14318. {
  14319. handleException__(delBase__, ex__, true, ref cnt__);
  14320. }
  14321. }
  14322. }
  14323.  
  14324. /// <summary>
  14325. /// Verify the password of a user.
  14326. /// You can use this to verify a user's credentials.
  14327. /// </summary>
  14328. /// <param name="name">User name. See RegisteredUser.name.
  14329. /// </param>
  14330. /// <param name="pw">User password.
  14331. /// </param>
  14332. /// <returns>User ID of registered user (See RegisteredUser.userid), -1 for failed authentication or -2 for unknown usernames.</returns>
  14333.  
  14334. public int verifyPassword(string name, string pw)
  14335. {
  14336. return verifyPassword(name, pw, null, false);
  14337. }
  14338.  
  14339. /// <summary>
  14340. /// Verify the password of a user.
  14341. /// You can use this to verify a user's credentials.
  14342. /// </summary>
  14343. /// <param name="name">User name. See RegisteredUser.name.
  14344. /// </param>
  14345. /// <param name="pw">User password.
  14346. /// </param>
  14347. /// <returns>User ID of registered user (See RegisteredUser.userid), -1 for failed authentication or -2 for unknown usernames.</returns>
  14348. /// <param name="context__">The Context map to send with the invocation.</param>
  14349.  
  14350. public int verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> context__)
  14351. {
  14352. return verifyPassword(name, pw, context__, true);
  14353. }
  14354.  
  14355. private int verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  14356. {
  14357. if (explicitContext__ && context__ == null)
  14358. {
  14359. context__ = emptyContext_;
  14360. }
  14361. int cnt__ = 0;
  14362. while (true)
  14363. {
  14364. Ice.ObjectDel_ delBase__ = null;
  14365. try
  14366. {
  14367. checkTwowayOnly__("verifyPassword");
  14368. delBase__ = getDelegate__(false);
  14369. ServerDel_ del__ = (ServerDel_)delBase__;
  14370. return del__.verifyPassword(name, pw, context__);
  14371. }
  14372. catch (IceInternal.LocalExceptionWrapper ex__)
  14373. {
  14374. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  14375. }
  14376. catch (Ice.LocalException ex__)
  14377. {
  14378. handleException__(delBase__, ex__, true, ref cnt__);
  14379. }
  14380. }
  14381. }
  14382.  
  14383. #endregion
  14384.  
  14385. #region Asynchronous operations
  14386.  
  14387. public Ice.AsyncResult<Murmur.Callback_Server_addCallback> begin_addCallback(Murmur.ServerCallbackPrx cb)
  14388. {
  14389. return begin_addCallback(cb, null, false, null, null);
  14390. }
  14391.  
  14392. /// <summary>
  14393. /// Add a callback.
  14394. /// The callback will receive notifications about changes to users and channels.
  14395. /// </summary>
  14396. /// <param name="cb">Callback interface which will receive notifications.
  14397. /// </param>
  14398. /// <param name="ctx__">The Context map to send with the invocation.</param>
  14399. public Ice.AsyncResult<Murmur.Callback_Server_addCallback> begin_addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__)
  14400. {
  14401. return begin_addCallback(cb, ctx__, true, null, null);
  14402. }
  14403.  
  14404. public Ice.AsyncResult begin_addCallback(Murmur.ServerCallbackPrx cb, Ice.AsyncCallback cb__, object cookie__)
  14405. {
  14406. return begin_addCallback(cb, null, false, cb__, cookie__);
  14407. }
  14408.  
  14409. public Ice.AsyncResult begin_addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  14410. {
  14411. return begin_addCallback(cb, ctx__, true, cb__, cookie__);
  14412. }
  14413.  
  14414. private const string __addCallback_name = "addCallback";
  14415.  
  14416. public void end_addCallback(Ice.AsyncResult r__)
  14417. {
  14418. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  14419. IceInternal.OutgoingAsync.check__(outAsync__, this, __addCallback_name);
  14420. if (!outAsync__.wait__())
  14421. {
  14422. try
  14423. {
  14424. outAsync__.throwUserException__();
  14425. }
  14426. catch (Murmur.InvalidCallbackException)
  14427. {
  14428. throw;
  14429. }
  14430. catch (Murmur.InvalidSecretException)
  14431. {
  14432. throw;
  14433. }
  14434. catch (Murmur.ServerBootedException)
  14435. {
  14436. throw;
  14437. }
  14438. catch (Ice.UserException ex__)
  14439. {
  14440. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  14441. }
  14442. }
  14443. }
  14444.  
  14445. private Ice.AsyncResult<Murmur.Callback_Server_addCallback> begin_addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  14446. {
  14447. checkAsyncTwowayOnly__(__addCallback_name);
  14448. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_addCallback> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_addCallback>(this, __addCallback_name, addCallback_completed__, cookie__);
  14449. if (cb__ != null)
  14450. {
  14451. result__.whenCompletedWithAsyncCallback(cb__);
  14452. }
  14453. try
  14454. {
  14455. result__.prepare__(__addCallback_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  14456. IceInternal.BasicStream os__ = result__.ostr__;
  14457. Murmur.ServerCallbackPrxHelper.write__(os__, cb);
  14458. os__.endWriteEncaps();
  14459. result__.send__(true);
  14460. }
  14461. catch (Ice.LocalException ex__)
  14462. {
  14463. result__.exceptionAsync__(ex__);
  14464. }
  14465. return result__;
  14466. }
  14467.  
  14468. private void addCallback_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_addCallback cb__, Ice.ExceptionCallback excb__)
  14469. {
  14470. try
  14471. {
  14472. end_addCallback(r__);
  14473. }
  14474. catch (Ice.Exception ex__)
  14475. {
  14476. if (excb__ != null)
  14477. {
  14478. excb__(ex__);
  14479. }
  14480. return;
  14481. }
  14482. if (cb__ != null)
  14483. {
  14484. cb__();
  14485. }
  14486. }
  14487.  
  14488. public Ice.AsyncResult<Murmur.Callback_Server_addChannel> begin_addChannel(string name, int parent)
  14489. {
  14490. return begin_addChannel(name, parent, null, false, null, null);
  14491. }
  14492.  
  14493. /// <summary>
  14494. /// Add a new channel.
  14495. /// </summary>
  14496. /// <param name="name">Name of new channel.
  14497. /// </param>
  14498. /// <param name="parent">Channel ID of parent channel. See Channel.id.
  14499. /// </param>
  14500. /// <param name="ctx__">The Context map to send with the invocation.</param>
  14501. public Ice.AsyncResult<Murmur.Callback_Server_addChannel> begin_addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> ctx__)
  14502. {
  14503. return begin_addChannel(name, parent, ctx__, true, null, null);
  14504. }
  14505.  
  14506. public Ice.AsyncResult begin_addChannel(string name, int parent, Ice.AsyncCallback cb__, object cookie__)
  14507. {
  14508. return begin_addChannel(name, parent, null, false, cb__, cookie__);
  14509. }
  14510.  
  14511. public Ice.AsyncResult begin_addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  14512. {
  14513. return begin_addChannel(name, parent, ctx__, true, cb__, cookie__);
  14514. }
  14515.  
  14516. private const string __addChannel_name = "addChannel";
  14517.  
  14518. public int end_addChannel(Ice.AsyncResult r__)
  14519. {
  14520. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  14521. IceInternal.OutgoingAsync.check__(outAsync__, this, __addChannel_name);
  14522. if (!outAsync__.wait__())
  14523. {
  14524. try
  14525. {
  14526. outAsync__.throwUserException__();
  14527. }
  14528. catch (Murmur.InvalidChannelException)
  14529. {
  14530. throw;
  14531. }
  14532. catch (Murmur.InvalidSecretException)
  14533. {
  14534. throw;
  14535. }
  14536. catch (Murmur.NestingLimitException)
  14537. {
  14538. throw;
  14539. }
  14540. catch (Murmur.ServerBootedException)
  14541. {
  14542. throw;
  14543. }
  14544. catch (Ice.UserException ex__)
  14545. {
  14546. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  14547. }
  14548. }
  14549. int ret__;
  14550. IceInternal.BasicStream is__ = outAsync__.istr__;
  14551. is__.startReadEncaps();
  14552. ret__ = is__.readInt();
  14553. is__.endReadEncaps();
  14554. return ret__;
  14555. }
  14556.  
  14557. private Ice.AsyncResult<Murmur.Callback_Server_addChannel> begin_addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  14558. {
  14559. checkAsyncTwowayOnly__(__addChannel_name);
  14560. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_addChannel> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_addChannel>(this, __addChannel_name, addChannel_completed__, cookie__);
  14561. if (cb__ != null)
  14562. {
  14563. result__.whenCompletedWithAsyncCallback(cb__);
  14564. }
  14565. try
  14566. {
  14567. result__.prepare__(__addChannel_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  14568. IceInternal.BasicStream os__ = result__.ostr__;
  14569. os__.writeString(name);
  14570. os__.writeInt(parent);
  14571. os__.endWriteEncaps();
  14572. result__.send__(true);
  14573. }
  14574. catch (Ice.LocalException ex__)
  14575. {
  14576. result__.exceptionAsync__(ex__);
  14577. }
  14578. return result__;
  14579. }
  14580.  
  14581. private void addChannel_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_addChannel cb__, Ice.ExceptionCallback excb__)
  14582. {
  14583. int ret__;
  14584. try
  14585. {
  14586. ret__ = end_addChannel(r__);
  14587. }
  14588. catch (Ice.Exception ex__)
  14589. {
  14590. if (excb__ != null)
  14591. {
  14592. excb__(ex__);
  14593. }
  14594. return;
  14595. }
  14596. if (cb__ != null)
  14597. {
  14598. cb__(ret__);
  14599. }
  14600. }
  14601.  
  14602. public Ice.AsyncResult<Murmur.Callback_Server_addContextCallback> begin_addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx)
  14603. {
  14604. return begin_addContextCallback(session, action, text, cb, ctx, null, false, null, null);
  14605. }
  14606.  
  14607. /// <summary>
  14608. /// Add a context callback.
  14609. /// This is done per user, and will add a context menu action for the user.
  14610. /// </summary>
  14611. /// <param name="session">Session of user which should receive context entry.
  14612. /// </param>
  14613. /// <param name="action">Action string, a unique name to associate with the action.
  14614. /// </param>
  14615. /// <param name="text">Name of action shown to user.
  14616. /// </param>
  14617. /// <param name="cb">Callback interface which will receive notifications.
  14618. /// </param>
  14619. /// <param name="ctx">Context this should be used in. Needs to be one or a combination of ContextServer, ContextChannel and ContextUser.
  14620. /// </param>
  14621. /// <param name="ctx__">The Context map to send with the invocation.</param>
  14622. public Ice.AsyncResult<Murmur.Callback_Server_addContextCallback> begin_addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> ctx__)
  14623. {
  14624. return begin_addContextCallback(session, action, text, cb, ctx, ctx__, true, null, null);
  14625. }
  14626.  
  14627. public Ice.AsyncResult begin_addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, Ice.AsyncCallback cb__, object cookie__)
  14628. {
  14629. return begin_addContextCallback(session, action, text, cb, ctx, null, false, cb__, cookie__);
  14630. }
  14631.  
  14632. public Ice.AsyncResult begin_addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  14633. {
  14634. return begin_addContextCallback(session, action, text, cb, ctx, ctx__, true, cb__, cookie__);
  14635. }
  14636.  
  14637. private const string __addContextCallback_name = "addContextCallback";
  14638.  
  14639. public void end_addContextCallback(Ice.AsyncResult r__)
  14640. {
  14641. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  14642. IceInternal.OutgoingAsync.check__(outAsync__, this, __addContextCallback_name);
  14643. if (!outAsync__.wait__())
  14644. {
  14645. try
  14646. {
  14647. outAsync__.throwUserException__();
  14648. }
  14649. catch (Murmur.InvalidCallbackException)
  14650. {
  14651. throw;
  14652. }
  14653. catch (Murmur.InvalidSecretException)
  14654. {
  14655. throw;
  14656. }
  14657. catch (Murmur.ServerBootedException)
  14658. {
  14659. throw;
  14660. }
  14661. catch (Ice.UserException ex__)
  14662. {
  14663. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  14664. }
  14665. }
  14666. }
  14667.  
  14668. private Ice.AsyncResult<Murmur.Callback_Server_addContextCallback> begin_addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  14669. {
  14670. checkAsyncTwowayOnly__(__addContextCallback_name);
  14671. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_addContextCallback> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_addContextCallback>(this, __addContextCallback_name, addContextCallback_completed__, cookie__);
  14672. if (cb__ != null)
  14673. {
  14674. result__.whenCompletedWithAsyncCallback(cb__);
  14675. }
  14676. try
  14677. {
  14678. result__.prepare__(__addContextCallback_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  14679. IceInternal.BasicStream os__ = result__.ostr__;
  14680. os__.writeInt(session);
  14681. os__.writeString(action);
  14682. os__.writeString(text);
  14683. Murmur.ServerContextCallbackPrxHelper.write__(os__, cb);
  14684. os__.writeInt(ctx);
  14685. os__.endWriteEncaps();
  14686. result__.send__(true);
  14687. }
  14688. catch (Ice.LocalException ex__)
  14689. {
  14690. result__.exceptionAsync__(ex__);
  14691. }
  14692. return result__;
  14693. }
  14694.  
  14695. private void addContextCallback_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_addContextCallback cb__, Ice.ExceptionCallback excb__)
  14696. {
  14697. try
  14698. {
  14699. end_addContextCallback(r__);
  14700. }
  14701. catch (Ice.Exception ex__)
  14702. {
  14703. if (excb__ != null)
  14704. {
  14705. excb__(ex__);
  14706. }
  14707. return;
  14708. }
  14709. if (cb__ != null)
  14710. {
  14711. cb__();
  14712. }
  14713. }
  14714.  
  14715. public Ice.AsyncResult<Murmur.Callback_Server_addUserToGroup> begin_addUserToGroup(int channelid, int session, string group)
  14716. {
  14717. return begin_addUserToGroup(channelid, session, group, null, false, null, null);
  14718. }
  14719.  
  14720. /// <summary>
  14721. /// Temporarily add a user to a group on a channel.
  14722. /// This state is not saved, and is intended for temporary memberships.
  14723. /// </summary>
  14724. /// <param name="channelid">Channel ID of channel to add to. See Channel.id.
  14725. /// </param>
  14726. /// <param name="session">Connection ID of user. See User.session.
  14727. /// </param>
  14728. /// <param name="group">Group name to add to.</param>
  14729. /// <param name="ctx__">The Context map to send with the invocation.</param>
  14730. public Ice.AsyncResult<Murmur.Callback_Server_addUserToGroup> begin_addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> ctx__)
  14731. {
  14732. return begin_addUserToGroup(channelid, session, group, ctx__, true, null, null);
  14733. }
  14734.  
  14735. public Ice.AsyncResult begin_addUserToGroup(int channelid, int session, string group, Ice.AsyncCallback cb__, object cookie__)
  14736. {
  14737. return begin_addUserToGroup(channelid, session, group, null, false, cb__, cookie__);
  14738. }
  14739.  
  14740. public Ice.AsyncResult begin_addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  14741. {
  14742. return begin_addUserToGroup(channelid, session, group, ctx__, true, cb__, cookie__);
  14743. }
  14744.  
  14745. private const string __addUserToGroup_name = "addUserToGroup";
  14746.  
  14747. public void end_addUserToGroup(Ice.AsyncResult r__)
  14748. {
  14749. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  14750. IceInternal.OutgoingAsync.check__(outAsync__, this, __addUserToGroup_name);
  14751. if (!outAsync__.wait__())
  14752. {
  14753. try
  14754. {
  14755. outAsync__.throwUserException__();
  14756. }
  14757. catch (Murmur.InvalidChannelException)
  14758. {
  14759. throw;
  14760. }
  14761. catch (Murmur.InvalidSecretException)
  14762. {
  14763. throw;
  14764. }
  14765. catch (Murmur.InvalidSessionException)
  14766. {
  14767. throw;
  14768. }
  14769. catch (Murmur.ServerBootedException)
  14770. {
  14771. throw;
  14772. }
  14773. catch (Ice.UserException ex__)
  14774. {
  14775. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  14776. }
  14777. }
  14778. }
  14779.  
  14780. private Ice.AsyncResult<Murmur.Callback_Server_addUserToGroup> begin_addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  14781. {
  14782. checkAsyncTwowayOnly__(__addUserToGroup_name);
  14783. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_addUserToGroup> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_addUserToGroup>(this, __addUserToGroup_name, addUserToGroup_completed__, cookie__);
  14784. if (cb__ != null)
  14785. {
  14786. result__.whenCompletedWithAsyncCallback(cb__);
  14787. }
  14788. try
  14789. {
  14790. result__.prepare__(__addUserToGroup_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  14791. IceInternal.BasicStream os__ = result__.ostr__;
  14792. os__.writeInt(channelid);
  14793. os__.writeInt(session);
  14794. os__.writeString(group);
  14795. os__.endWriteEncaps();
  14796. result__.send__(true);
  14797. }
  14798. catch (Ice.LocalException ex__)
  14799. {
  14800. result__.exceptionAsync__(ex__);
  14801. }
  14802. return result__;
  14803. }
  14804.  
  14805. private void addUserToGroup_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_addUserToGroup cb__, Ice.ExceptionCallback excb__)
  14806. {
  14807. try
  14808. {
  14809. end_addUserToGroup(r__);
  14810. }
  14811. catch (Ice.Exception ex__)
  14812. {
  14813. if (excb__ != null)
  14814. {
  14815. excb__(ex__);
  14816. }
  14817. return;
  14818. }
  14819. if (cb__ != null)
  14820. {
  14821. cb__();
  14822. }
  14823. }
  14824.  
  14825. public Ice.AsyncResult<Murmur.Callback_Server_delete> begin_delete()
  14826. {
  14827. return begin_delete(null, false, null, null);
  14828. }
  14829.  
  14830. /// <summary>
  14831. /// Delete server and all it's configuration.
  14832. /// </summary>
  14833. /// <param name="ctx__">The Context map to send with the invocation.</param>
  14834. public Ice.AsyncResult<Murmur.Callback_Server_delete> begin_delete(_System.Collections.Generic.Dictionary<string, string> ctx__)
  14835. {
  14836. return begin_delete(ctx__, true, null, null);
  14837. }
  14838.  
  14839. public Ice.AsyncResult begin_delete(Ice.AsyncCallback cb__, object cookie__)
  14840. {
  14841. return begin_delete(null, false, cb__, cookie__);
  14842. }
  14843.  
  14844. public Ice.AsyncResult begin_delete(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  14845. {
  14846. return begin_delete(ctx__, true, cb__, cookie__);
  14847. }
  14848.  
  14849. private const string __delete_name = "delete";
  14850.  
  14851. public void end_delete(Ice.AsyncResult r__)
  14852. {
  14853. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  14854. IceInternal.OutgoingAsync.check__(outAsync__, this, __delete_name);
  14855. if (!outAsync__.wait__())
  14856. {
  14857. try
  14858. {
  14859. outAsync__.throwUserException__();
  14860. }
  14861. catch (Murmur.InvalidSecretException)
  14862. {
  14863. throw;
  14864. }
  14865. catch (Murmur.ServerBootedException)
  14866. {
  14867. throw;
  14868. }
  14869. catch (Ice.UserException ex__)
  14870. {
  14871. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  14872. }
  14873. }
  14874. }
  14875.  
  14876. private Ice.AsyncResult<Murmur.Callback_Server_delete> begin_delete(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  14877. {
  14878. checkAsyncTwowayOnly__(__delete_name);
  14879. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_delete> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_delete>(this, __delete_name, delete_completed__, cookie__);
  14880. if (cb__ != null)
  14881. {
  14882. result__.whenCompletedWithAsyncCallback(cb__);
  14883. }
  14884. try
  14885. {
  14886. result__.prepare__(__delete_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  14887. IceInternal.BasicStream os__ = result__.ostr__;
  14888. os__.endWriteEncaps();
  14889. result__.send__(true);
  14890. }
  14891. catch (Ice.LocalException ex__)
  14892. {
  14893. result__.exceptionAsync__(ex__);
  14894. }
  14895. return result__;
  14896. }
  14897.  
  14898. private void delete_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_delete cb__, Ice.ExceptionCallback excb__)
  14899. {
  14900. try
  14901. {
  14902. end_delete(r__);
  14903. }
  14904. catch (Ice.Exception ex__)
  14905. {
  14906. if (excb__ != null)
  14907. {
  14908. excb__(ex__);
  14909. }
  14910. return;
  14911. }
  14912. if (cb__ != null)
  14913. {
  14914. cb__();
  14915. }
  14916. }
  14917.  
  14918. public Ice.AsyncResult<Murmur.Callback_Server_effectivePermissions> begin_effectivePermissions(int session, int channelid)
  14919. {
  14920. return begin_effectivePermissions(session, channelid, null, false, null, null);
  14921. }
  14922.  
  14923. /// <summary>
  14924. /// Return users effective permissions
  14925. /// <param name="session">Connection ID of user.</param>
  14926. /// See User.session.
  14927. /// </summary>
  14928. /// <param name="channelid">ID of Channel. See Channel.id.
  14929. /// </param>
  14930. /// <param name="ctx__">The Context map to send with the invocation.</param>
  14931. public Ice.AsyncResult<Murmur.Callback_Server_effectivePermissions> begin_effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__)
  14932. {
  14933. return begin_effectivePermissions(session, channelid, ctx__, true, null, null);
  14934. }
  14935.  
  14936. public Ice.AsyncResult begin_effectivePermissions(int session, int channelid, Ice.AsyncCallback cb__, object cookie__)
  14937. {
  14938. return begin_effectivePermissions(session, channelid, null, false, cb__, cookie__);
  14939. }
  14940.  
  14941. public Ice.AsyncResult begin_effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  14942. {
  14943. return begin_effectivePermissions(session, channelid, ctx__, true, cb__, cookie__);
  14944. }
  14945.  
  14946. private const string __effectivePermissions_name = "effectivePermissions";
  14947.  
  14948. public int end_effectivePermissions(Ice.AsyncResult r__)
  14949. {
  14950. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  14951. IceInternal.OutgoingAsync.check__(outAsync__, this, __effectivePermissions_name);
  14952. if (!outAsync__.wait__())
  14953. {
  14954. try
  14955. {
  14956. outAsync__.throwUserException__();
  14957. }
  14958. catch (Murmur.InvalidChannelException)
  14959. {
  14960. throw;
  14961. }
  14962. catch (Murmur.InvalidSecretException)
  14963. {
  14964. throw;
  14965. }
  14966. catch (Murmur.InvalidSessionException)
  14967. {
  14968. throw;
  14969. }
  14970. catch (Murmur.ServerBootedException)
  14971. {
  14972. throw;
  14973. }
  14974. catch (Ice.UserException ex__)
  14975. {
  14976. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  14977. }
  14978. }
  14979. int ret__;
  14980. IceInternal.BasicStream is__ = outAsync__.istr__;
  14981. is__.startReadEncaps();
  14982. ret__ = is__.readInt();
  14983. is__.endReadEncaps();
  14984. return ret__;
  14985. }
  14986.  
  14987. private Ice.AsyncResult<Murmur.Callback_Server_effectivePermissions> begin_effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  14988. {
  14989. checkAsyncTwowayOnly__(__effectivePermissions_name);
  14990. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_effectivePermissions> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_effectivePermissions>(this, __effectivePermissions_name, effectivePermissions_completed__, cookie__);
  14991. if (cb__ != null)
  14992. {
  14993. result__.whenCompletedWithAsyncCallback(cb__);
  14994. }
  14995. try
  14996. {
  14997. result__.prepare__(__effectivePermissions_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  14998. IceInternal.BasicStream os__ = result__.ostr__;
  14999. os__.writeInt(session);
  15000. os__.writeInt(channelid);
  15001. os__.endWriteEncaps();
  15002. result__.send__(true);
  15003. }
  15004. catch (Ice.LocalException ex__)
  15005. {
  15006. result__.exceptionAsync__(ex__);
  15007. }
  15008. return result__;
  15009. }
  15010.  
  15011. private void effectivePermissions_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_effectivePermissions cb__, Ice.ExceptionCallback excb__)
  15012. {
  15013. int ret__;
  15014. try
  15015. {
  15016. ret__ = end_effectivePermissions(r__);
  15017. }
  15018. catch (Ice.Exception ex__)
  15019. {
  15020. if (excb__ != null)
  15021. {
  15022. excb__(ex__);
  15023. }
  15024. return;
  15025. }
  15026. if (cb__ != null)
  15027. {
  15028. cb__(ret__);
  15029. }
  15030. }
  15031.  
  15032. public Ice.AsyncResult<Murmur.Callback_Server_getACL> begin_getACL(int channelid)
  15033. {
  15034. return begin_getACL(channelid, null, false, null, null);
  15035. }
  15036.  
  15037. /// <summary>
  15038. /// Retrieve ACLs and Groups on a channel.
  15039. /// </summary>
  15040. /// <param name="channelid">Channel ID of channel to fetch from. See Channel.id.
  15041. /// </param>
  15042. /// <param name="ctx__">The Context map to send with the invocation.</param>
  15043. public Ice.AsyncResult<Murmur.Callback_Server_getACL> begin_getACL(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__)
  15044. {
  15045. return begin_getACL(channelid, ctx__, true, null, null);
  15046. }
  15047.  
  15048. public Ice.AsyncResult begin_getACL(int channelid, Ice.AsyncCallback cb__, object cookie__)
  15049. {
  15050. return begin_getACL(channelid, null, false, cb__, cookie__);
  15051. }
  15052.  
  15053. public Ice.AsyncResult begin_getACL(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  15054. {
  15055. return begin_getACL(channelid, ctx__, true, cb__, cookie__);
  15056. }
  15057.  
  15058. private const string __getACL_name = "getACL";
  15059.  
  15060. public void end_getACL(out Murmur.ACL[] acls, out Murmur.Group[] groups, out bool inherit, Ice.AsyncResult r__)
  15061. {
  15062. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  15063. IceInternal.OutgoingAsync.check__(outAsync__, this, __getACL_name);
  15064. if (!outAsync__.wait__())
  15065. {
  15066. try
  15067. {
  15068. outAsync__.throwUserException__();
  15069. }
  15070. catch (Murmur.InvalidChannelException)
  15071. {
  15072. throw;
  15073. }
  15074. catch (Murmur.InvalidSecretException)
  15075. {
  15076. throw;
  15077. }
  15078. catch (Murmur.ServerBootedException)
  15079. {
  15080. throw;
  15081. }
  15082. catch (Ice.UserException ex__)
  15083. {
  15084. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  15085. }
  15086. }
  15087. IceInternal.BasicStream is__ = outAsync__.istr__;
  15088. is__.startReadEncaps();
  15089. {
  15090. int szx__ = is__.readAndCheckSeqSize(16);
  15091. acls = new Murmur.ACL[szx__];
  15092. for (int ix__ = 0; ix__ < szx__; ++ix__)
  15093. {
  15094. acls[ix__] = new Murmur.ACL();
  15095. acls[ix__].read__(is__);
  15096. }
  15097. }
  15098. {
  15099. int szx__ = is__.readAndCheckSeqSize(7);
  15100. groups = new Murmur.Group[szx__];
  15101. for (int ix__ = 0; ix__ < szx__; ++ix__)
  15102. {
  15103. groups[ix__] = new Murmur.Group();
  15104. groups[ix__].read__(is__);
  15105. }
  15106. }
  15107. inherit = is__.readBool();
  15108. is__.endReadEncaps();
  15109. }
  15110.  
  15111. private Ice.AsyncResult<Murmur.Callback_Server_getACL> begin_getACL(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  15112. {
  15113. checkAsyncTwowayOnly__(__getACL_name);
  15114. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getACL> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getACL>(this, __getACL_name, getACL_completed__, cookie__);
  15115. if (cb__ != null)
  15116. {
  15117. result__.whenCompletedWithAsyncCallback(cb__);
  15118. }
  15119. try
  15120. {
  15121. result__.prepare__(__getACL_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  15122. IceInternal.BasicStream os__ = result__.ostr__;
  15123. os__.writeInt(channelid);
  15124. os__.endWriteEncaps();
  15125. result__.send__(true);
  15126. }
  15127. catch (Ice.LocalException ex__)
  15128. {
  15129. result__.exceptionAsync__(ex__);
  15130. }
  15131. return result__;
  15132. }
  15133.  
  15134. private void getACL_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getACL cb__, Ice.ExceptionCallback excb__)
  15135. {
  15136. Murmur.ACL[] acls;
  15137. Murmur.Group[] groups;
  15138. bool inherit;
  15139. try
  15140. {
  15141. end_getACL(out acls, out groups, out inherit, r__);
  15142. }
  15143. catch (Ice.Exception ex__)
  15144. {
  15145. if (excb__ != null)
  15146. {
  15147. excb__(ex__);
  15148. }
  15149. return;
  15150. }
  15151. if (cb__ != null)
  15152. {
  15153. cb__(acls, groups, inherit);
  15154. }
  15155. }
  15156.  
  15157. public Ice.AsyncResult<Murmur.Callback_Server_getAllConf> begin_getAllConf()
  15158. {
  15159. return begin_getAllConf(null, false, null, null);
  15160. }
  15161.  
  15162. /// <summary>
  15163. /// Retrieve all configuration items.
  15164. /// </summary>
  15165. /// <param name="ctx__">The Context map to send with the invocation.</param>
  15166. public Ice.AsyncResult<Murmur.Callback_Server_getAllConf> begin_getAllConf(_System.Collections.Generic.Dictionary<string, string> ctx__)
  15167. {
  15168. return begin_getAllConf(ctx__, true, null, null);
  15169. }
  15170.  
  15171. public Ice.AsyncResult begin_getAllConf(Ice.AsyncCallback cb__, object cookie__)
  15172. {
  15173. return begin_getAllConf(null, false, cb__, cookie__);
  15174. }
  15175.  
  15176. public Ice.AsyncResult begin_getAllConf(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  15177. {
  15178. return begin_getAllConf(ctx__, true, cb__, cookie__);
  15179. }
  15180.  
  15181. private const string __getAllConf_name = "getAllConf";
  15182.  
  15183. public _System.Collections.Generic.Dictionary<string, string> end_getAllConf(Ice.AsyncResult r__)
  15184. {
  15185. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  15186. IceInternal.OutgoingAsync.check__(outAsync__, this, __getAllConf_name);
  15187. if (!outAsync__.wait__())
  15188. {
  15189. try
  15190. {
  15191. outAsync__.throwUserException__();
  15192. }
  15193. catch (Murmur.InvalidSecretException)
  15194. {
  15195. throw;
  15196. }
  15197. catch (Ice.UserException ex__)
  15198. {
  15199. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  15200. }
  15201. }
  15202. _System.Collections.Generic.Dictionary<string, string> ret__;
  15203. IceInternal.BasicStream is__ = outAsync__.istr__;
  15204. is__.startReadEncaps();
  15205. ret__ = Murmur.ConfigMapHelper.read(is__);
  15206. is__.endReadEncaps();
  15207. return ret__;
  15208. }
  15209.  
  15210. private Ice.AsyncResult<Murmur.Callback_Server_getAllConf> begin_getAllConf(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  15211. {
  15212. checkAsyncTwowayOnly__(__getAllConf_name);
  15213. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getAllConf> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getAllConf>(this, __getAllConf_name, getAllConf_completed__, cookie__);
  15214. if (cb__ != null)
  15215. {
  15216. result__.whenCompletedWithAsyncCallback(cb__);
  15217. }
  15218. try
  15219. {
  15220. result__.prepare__(__getAllConf_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  15221. IceInternal.BasicStream os__ = result__.ostr__;
  15222. os__.endWriteEncaps();
  15223. result__.send__(true);
  15224. }
  15225. catch (Ice.LocalException ex__)
  15226. {
  15227. result__.exceptionAsync__(ex__);
  15228. }
  15229. return result__;
  15230. }
  15231.  
  15232. private void getAllConf_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getAllConf cb__, Ice.ExceptionCallback excb__)
  15233. {
  15234. _System.Collections.Generic.Dictionary<string, string> ret__;
  15235. try
  15236. {
  15237. ret__ = end_getAllConf(r__);
  15238. }
  15239. catch (Ice.Exception ex__)
  15240. {
  15241. if (excb__ != null)
  15242. {
  15243. excb__(ex__);
  15244. }
  15245. return;
  15246. }
  15247. if (cb__ != null)
  15248. {
  15249. cb__(ret__);
  15250. }
  15251. }
  15252.  
  15253. public Ice.AsyncResult<Murmur.Callback_Server_getBans> begin_getBans()
  15254. {
  15255. return begin_getBans(null, false, null, null);
  15256. }
  15257.  
  15258. /// <summary>
  15259. /// Fetch all current IP bans on the server.
  15260. /// </summary>
  15261. /// <param name="ctx__">The Context map to send with the invocation.</param>
  15262. public Ice.AsyncResult<Murmur.Callback_Server_getBans> begin_getBans(_System.Collections.Generic.Dictionary<string, string> ctx__)
  15263. {
  15264. return begin_getBans(ctx__, true, null, null);
  15265. }
  15266.  
  15267. public Ice.AsyncResult begin_getBans(Ice.AsyncCallback cb__, object cookie__)
  15268. {
  15269. return begin_getBans(null, false, cb__, cookie__);
  15270. }
  15271.  
  15272. public Ice.AsyncResult begin_getBans(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  15273. {
  15274. return begin_getBans(ctx__, true, cb__, cookie__);
  15275. }
  15276.  
  15277. private const string __getBans_name = "getBans";
  15278.  
  15279. public Murmur.Ban[] end_getBans(Ice.AsyncResult r__)
  15280. {
  15281. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  15282. IceInternal.OutgoingAsync.check__(outAsync__, this, __getBans_name);
  15283. if (!outAsync__.wait__())
  15284. {
  15285. try
  15286. {
  15287. outAsync__.throwUserException__();
  15288. }
  15289. catch (Murmur.InvalidSecretException)
  15290. {
  15291. throw;
  15292. }
  15293. catch (Murmur.ServerBootedException)
  15294. {
  15295. throw;
  15296. }
  15297. catch (Ice.UserException ex__)
  15298. {
  15299. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  15300. }
  15301. }
  15302. Murmur.Ban[] ret__;
  15303. IceInternal.BasicStream is__ = outAsync__.istr__;
  15304. is__.startReadEncaps();
  15305. {
  15306. int szx__ = is__.readAndCheckSeqSize(16);
  15307. ret__ = new Murmur.Ban[szx__];
  15308. for (int ix__ = 0; ix__ < szx__; ++ix__)
  15309. {
  15310. ret__[ix__] = new Murmur.Ban();
  15311. ret__[ix__].read__(is__);
  15312. }
  15313. }
  15314. is__.endReadEncaps();
  15315. return ret__;
  15316. }
  15317.  
  15318. private Ice.AsyncResult<Murmur.Callback_Server_getBans> begin_getBans(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  15319. {
  15320. checkAsyncTwowayOnly__(__getBans_name);
  15321. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getBans> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getBans>(this, __getBans_name, getBans_completed__, cookie__);
  15322. if (cb__ != null)
  15323. {
  15324. result__.whenCompletedWithAsyncCallback(cb__);
  15325. }
  15326. try
  15327. {
  15328. result__.prepare__(__getBans_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  15329. IceInternal.BasicStream os__ = result__.ostr__;
  15330. os__.endWriteEncaps();
  15331. result__.send__(true);
  15332. }
  15333. catch (Ice.LocalException ex__)
  15334. {
  15335. result__.exceptionAsync__(ex__);
  15336. }
  15337. return result__;
  15338. }
  15339.  
  15340. private void getBans_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getBans cb__, Ice.ExceptionCallback excb__)
  15341. {
  15342. Murmur.Ban[] ret__;
  15343. try
  15344. {
  15345. ret__ = end_getBans(r__);
  15346. }
  15347. catch (Ice.Exception ex__)
  15348. {
  15349. if (excb__ != null)
  15350. {
  15351. excb__(ex__);
  15352. }
  15353. return;
  15354. }
  15355. if (cb__ != null)
  15356. {
  15357. cb__(ret__);
  15358. }
  15359. }
  15360.  
  15361. public Ice.AsyncResult<Murmur.Callback_Server_getCertificateList> begin_getCertificateList(int session)
  15362. {
  15363. return begin_getCertificateList(session, null, false, null, null);
  15364. }
  15365.  
  15366. /// <summary>
  15367. /// Fetch certificate of user.
  15368. /// This returns the complete certificate chain of a user.
  15369. /// </summary>
  15370. /// <param name="session">Connection ID of user. See User.session.
  15371. /// </param>
  15372. /// <param name="ctx__">The Context map to send with the invocation.</param>
  15373. public Ice.AsyncResult<Murmur.Callback_Server_getCertificateList> begin_getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> ctx__)
  15374. {
  15375. return begin_getCertificateList(session, ctx__, true, null, null);
  15376. }
  15377.  
  15378. public Ice.AsyncResult begin_getCertificateList(int session, Ice.AsyncCallback cb__, object cookie__)
  15379. {
  15380. return begin_getCertificateList(session, null, false, cb__, cookie__);
  15381. }
  15382.  
  15383. public Ice.AsyncResult begin_getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  15384. {
  15385. return begin_getCertificateList(session, ctx__, true, cb__, cookie__);
  15386. }
  15387.  
  15388. private const string __getCertificateList_name = "getCertificateList";
  15389.  
  15390. public byte[][] end_getCertificateList(Ice.AsyncResult r__)
  15391. {
  15392. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  15393. IceInternal.OutgoingAsync.check__(outAsync__, this, __getCertificateList_name);
  15394. if (!outAsync__.wait__())
  15395. {
  15396. try
  15397. {
  15398. outAsync__.throwUserException__();
  15399. }
  15400. catch (Murmur.InvalidSecretException)
  15401. {
  15402. throw;
  15403. }
  15404. catch (Murmur.InvalidSessionException)
  15405. {
  15406. throw;
  15407. }
  15408. catch (Murmur.ServerBootedException)
  15409. {
  15410. throw;
  15411. }
  15412. catch (Ice.UserException ex__)
  15413. {
  15414. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  15415. }
  15416. }
  15417. byte[][] ret__;
  15418. IceInternal.BasicStream is__ = outAsync__.istr__;
  15419. is__.startReadEncaps();
  15420. {
  15421. int szx__ = is__.readAndCheckSeqSize(1);
  15422. ret__ = new byte[szx__][];
  15423. for (int ix__ = 0; ix__ < szx__; ++ix__)
  15424. {
  15425. ret__[ix__] = Murmur.CertificateDerHelper.read(is__);
  15426. }
  15427. }
  15428. is__.endReadEncaps();
  15429. return ret__;
  15430. }
  15431.  
  15432. private Ice.AsyncResult<Murmur.Callback_Server_getCertificateList> begin_getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  15433. {
  15434. checkAsyncTwowayOnly__(__getCertificateList_name);
  15435. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getCertificateList> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getCertificateList>(this, __getCertificateList_name, getCertificateList_completed__, cookie__);
  15436. if (cb__ != null)
  15437. {
  15438. result__.whenCompletedWithAsyncCallback(cb__);
  15439. }
  15440. try
  15441. {
  15442. result__.prepare__(__getCertificateList_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  15443. IceInternal.BasicStream os__ = result__.ostr__;
  15444. os__.writeInt(session);
  15445. os__.endWriteEncaps();
  15446. result__.send__(true);
  15447. }
  15448. catch (Ice.LocalException ex__)
  15449. {
  15450. result__.exceptionAsync__(ex__);
  15451. }
  15452. return result__;
  15453. }
  15454.  
  15455. private void getCertificateList_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getCertificateList cb__, Ice.ExceptionCallback excb__)
  15456. {
  15457. byte[][] ret__;
  15458. try
  15459. {
  15460. ret__ = end_getCertificateList(r__);
  15461. }
  15462. catch (Ice.Exception ex__)
  15463. {
  15464. if (excb__ != null)
  15465. {
  15466. excb__(ex__);
  15467. }
  15468. return;
  15469. }
  15470. if (cb__ != null)
  15471. {
  15472. cb__(ret__);
  15473. }
  15474. }
  15475.  
  15476. public Ice.AsyncResult<Murmur.Callback_Server_getChannelState> begin_getChannelState(int channelid)
  15477. {
  15478. return begin_getChannelState(channelid, null, false, null, null);
  15479. }
  15480.  
  15481. /// <summary>
  15482. /// Get state of single channel.
  15483. /// </summary>
  15484. /// <param name="channelid">ID of Channel. See Channel.id.
  15485. /// </param>
  15486. /// <param name="ctx__">The Context map to send with the invocation.</param>
  15487. public Ice.AsyncResult<Murmur.Callback_Server_getChannelState> begin_getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__)
  15488. {
  15489. return begin_getChannelState(channelid, ctx__, true, null, null);
  15490. }
  15491.  
  15492. public Ice.AsyncResult begin_getChannelState(int channelid, Ice.AsyncCallback cb__, object cookie__)
  15493. {
  15494. return begin_getChannelState(channelid, null, false, cb__, cookie__);
  15495. }
  15496.  
  15497. public Ice.AsyncResult begin_getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  15498. {
  15499. return begin_getChannelState(channelid, ctx__, true, cb__, cookie__);
  15500. }
  15501.  
  15502. private const string __getChannelState_name = "getChannelState";
  15503.  
  15504. public Murmur.Channel end_getChannelState(Ice.AsyncResult r__)
  15505. {
  15506. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  15507. IceInternal.OutgoingAsync.check__(outAsync__, this, __getChannelState_name);
  15508. if (!outAsync__.wait__())
  15509. {
  15510. try
  15511. {
  15512. outAsync__.throwUserException__();
  15513. }
  15514. catch (Murmur.InvalidChannelException)
  15515. {
  15516. throw;
  15517. }
  15518. catch (Murmur.InvalidSecretException)
  15519. {
  15520. throw;
  15521. }
  15522. catch (Murmur.ServerBootedException)
  15523. {
  15524. throw;
  15525. }
  15526. catch (Ice.UserException ex__)
  15527. {
  15528. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  15529. }
  15530. }
  15531. Murmur.Channel ret__;
  15532. IceInternal.BasicStream is__ = outAsync__.istr__;
  15533. is__.startReadEncaps();
  15534. ret__ = null;
  15535. if (ret__ == null)
  15536. {
  15537. ret__ = new Murmur.Channel();
  15538. }
  15539. ret__.read__(is__);
  15540. is__.endReadEncaps();
  15541. return ret__;
  15542. }
  15543.  
  15544. private Ice.AsyncResult<Murmur.Callback_Server_getChannelState> begin_getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  15545. {
  15546. checkAsyncTwowayOnly__(__getChannelState_name);
  15547. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getChannelState> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getChannelState>(this, __getChannelState_name, getChannelState_completed__, cookie__);
  15548. if (cb__ != null)
  15549. {
  15550. result__.whenCompletedWithAsyncCallback(cb__);
  15551. }
  15552. try
  15553. {
  15554. result__.prepare__(__getChannelState_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  15555. IceInternal.BasicStream os__ = result__.ostr__;
  15556. os__.writeInt(channelid);
  15557. os__.endWriteEncaps();
  15558. result__.send__(true);
  15559. }
  15560. catch (Ice.LocalException ex__)
  15561. {
  15562. result__.exceptionAsync__(ex__);
  15563. }
  15564. return result__;
  15565. }
  15566.  
  15567. private void getChannelState_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getChannelState cb__, Ice.ExceptionCallback excb__)
  15568. {
  15569. Murmur.Channel ret__;
  15570. try
  15571. {
  15572. ret__ = end_getChannelState(r__);
  15573. }
  15574. catch (Ice.Exception ex__)
  15575. {
  15576. if (excb__ != null)
  15577. {
  15578. excb__(ex__);
  15579. }
  15580. return;
  15581. }
  15582. if (cb__ != null)
  15583. {
  15584. cb__(ret__);
  15585. }
  15586. }
  15587.  
  15588. public Ice.AsyncResult<Murmur.Callback_Server_getChannels> begin_getChannels()
  15589. {
  15590. return begin_getChannels(null, false, null, null);
  15591. }
  15592.  
  15593. /// <summary>
  15594. /// Fetch all channels.
  15595. /// This returns all defined channels on the server. The root channel is always channel 0.
  15596. /// </summary>
  15597. /// <param name="ctx__">The Context map to send with the invocation.</param>
  15598. public Ice.AsyncResult<Murmur.Callback_Server_getChannels> begin_getChannels(_System.Collections.Generic.Dictionary<string, string> ctx__)
  15599. {
  15600. return begin_getChannels(ctx__, true, null, null);
  15601. }
  15602.  
  15603. public Ice.AsyncResult begin_getChannels(Ice.AsyncCallback cb__, object cookie__)
  15604. {
  15605. return begin_getChannels(null, false, cb__, cookie__);
  15606. }
  15607.  
  15608. public Ice.AsyncResult begin_getChannels(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  15609. {
  15610. return begin_getChannels(ctx__, true, cb__, cookie__);
  15611. }
  15612.  
  15613. private const string __getChannels_name = "getChannels";
  15614.  
  15615. public _System.Collections.Generic.Dictionary<int, Murmur.Channel> end_getChannels(Ice.AsyncResult r__)
  15616. {
  15617. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  15618. IceInternal.OutgoingAsync.check__(outAsync__, this, __getChannels_name);
  15619. if (!outAsync__.wait__())
  15620. {
  15621. try
  15622. {
  15623. outAsync__.throwUserException__();
  15624. }
  15625. catch (Murmur.InvalidSecretException)
  15626. {
  15627. throw;
  15628. }
  15629. catch (Murmur.ServerBootedException)
  15630. {
  15631. throw;
  15632. }
  15633. catch (Ice.UserException ex__)
  15634. {
  15635. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  15636. }
  15637. }
  15638. _System.Collections.Generic.Dictionary<int, Murmur.Channel> ret__;
  15639. IceInternal.BasicStream is__ = outAsync__.istr__;
  15640. is__.startReadEncaps();
  15641. ret__ = Murmur.ChannelMapHelper.read(is__);
  15642. is__.endReadEncaps();
  15643. return ret__;
  15644. }
  15645.  
  15646. private Ice.AsyncResult<Murmur.Callback_Server_getChannels> begin_getChannels(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  15647. {
  15648. checkAsyncTwowayOnly__(__getChannels_name);
  15649. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getChannels> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getChannels>(this, __getChannels_name, getChannels_completed__, cookie__);
  15650. if (cb__ != null)
  15651. {
  15652. result__.whenCompletedWithAsyncCallback(cb__);
  15653. }
  15654. try
  15655. {
  15656. result__.prepare__(__getChannels_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  15657. IceInternal.BasicStream os__ = result__.ostr__;
  15658. os__.endWriteEncaps();
  15659. result__.send__(true);
  15660. }
  15661. catch (Ice.LocalException ex__)
  15662. {
  15663. result__.exceptionAsync__(ex__);
  15664. }
  15665. return result__;
  15666. }
  15667.  
  15668. private void getChannels_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getChannels cb__, Ice.ExceptionCallback excb__)
  15669. {
  15670. _System.Collections.Generic.Dictionary<int, Murmur.Channel> ret__;
  15671. try
  15672. {
  15673. ret__ = end_getChannels(r__);
  15674. }
  15675. catch (Ice.Exception ex__)
  15676. {
  15677. if (excb__ != null)
  15678. {
  15679. excb__(ex__);
  15680. }
  15681. return;
  15682. }
  15683. if (cb__ != null)
  15684. {
  15685. cb__(ret__);
  15686. }
  15687. }
  15688.  
  15689. public Ice.AsyncResult<Murmur.Callback_Server_getConf> begin_getConf(string key)
  15690. {
  15691. return begin_getConf(key, null, false, null, null);
  15692. }
  15693.  
  15694. /// <summary>
  15695. /// Retrieve configuration item.
  15696. /// </summary>
  15697. /// <param name="key">Configuration key.
  15698. /// </param>
  15699. /// <param name="ctx__">The Context map to send with the invocation.</param>
  15700. public Ice.AsyncResult<Murmur.Callback_Server_getConf> begin_getConf(string key, _System.Collections.Generic.Dictionary<string, string> ctx__)
  15701. {
  15702. return begin_getConf(key, ctx__, true, null, null);
  15703. }
  15704.  
  15705. public Ice.AsyncResult begin_getConf(string key, Ice.AsyncCallback cb__, object cookie__)
  15706. {
  15707. return begin_getConf(key, null, false, cb__, cookie__);
  15708. }
  15709.  
  15710. public Ice.AsyncResult begin_getConf(string key, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  15711. {
  15712. return begin_getConf(key, ctx__, true, cb__, cookie__);
  15713. }
  15714.  
  15715. private const string __getConf_name = "getConf";
  15716.  
  15717. public string end_getConf(Ice.AsyncResult r__)
  15718. {
  15719. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  15720. IceInternal.OutgoingAsync.check__(outAsync__, this, __getConf_name);
  15721. if (!outAsync__.wait__())
  15722. {
  15723. try
  15724. {
  15725. outAsync__.throwUserException__();
  15726. }
  15727. catch (Murmur.InvalidSecretException)
  15728. {
  15729. throw;
  15730. }
  15731. catch (Murmur.WriteOnlyException)
  15732. {
  15733. throw;
  15734. }
  15735. catch (Ice.UserException ex__)
  15736. {
  15737. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  15738. }
  15739. }
  15740. string ret__;
  15741. IceInternal.BasicStream is__ = outAsync__.istr__;
  15742. is__.startReadEncaps();
  15743. ret__ = is__.readString();
  15744. is__.endReadEncaps();
  15745. return ret__;
  15746. }
  15747.  
  15748. private Ice.AsyncResult<Murmur.Callback_Server_getConf> begin_getConf(string key, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  15749. {
  15750. checkAsyncTwowayOnly__(__getConf_name);
  15751. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getConf> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getConf>(this, __getConf_name, getConf_completed__, cookie__);
  15752. if (cb__ != null)
  15753. {
  15754. result__.whenCompletedWithAsyncCallback(cb__);
  15755. }
  15756. try
  15757. {
  15758. result__.prepare__(__getConf_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  15759. IceInternal.BasicStream os__ = result__.ostr__;
  15760. os__.writeString(key);
  15761. os__.endWriteEncaps();
  15762. result__.send__(true);
  15763. }
  15764. catch (Ice.LocalException ex__)
  15765. {
  15766. result__.exceptionAsync__(ex__);
  15767. }
  15768. return result__;
  15769. }
  15770.  
  15771. private void getConf_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getConf cb__, Ice.ExceptionCallback excb__)
  15772. {
  15773. string ret__;
  15774. try
  15775. {
  15776. ret__ = end_getConf(r__);
  15777. }
  15778. catch (Ice.Exception ex__)
  15779. {
  15780. if (excb__ != null)
  15781. {
  15782. excb__(ex__);
  15783. }
  15784. return;
  15785. }
  15786. if (cb__ != null)
  15787. {
  15788. cb__(ret__);
  15789. }
  15790. }
  15791.  
  15792. public Ice.AsyncResult<Murmur.Callback_Server_getLog> begin_getLog(int first, int last)
  15793. {
  15794. return begin_getLog(first, last, null, false, null, null);
  15795. }
  15796.  
  15797. /// <summary>
  15798. /// Fetch log entries.
  15799. /// </summary>
  15800. /// <param name="first">Lowest numbered entry to fetch. 0 is the most recent item.
  15801. /// </param>
  15802. /// <param name="last">Last entry to fetch.
  15803. /// </param>
  15804. /// <param name="ctx__">The Context map to send with the invocation.</param>
  15805. public Ice.AsyncResult<Murmur.Callback_Server_getLog> begin_getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> ctx__)
  15806. {
  15807. return begin_getLog(first, last, ctx__, true, null, null);
  15808. }
  15809.  
  15810. public Ice.AsyncResult begin_getLog(int first, int last, Ice.AsyncCallback cb__, object cookie__)
  15811. {
  15812. return begin_getLog(first, last, null, false, cb__, cookie__);
  15813. }
  15814.  
  15815. public Ice.AsyncResult begin_getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  15816. {
  15817. return begin_getLog(first, last, ctx__, true, cb__, cookie__);
  15818. }
  15819.  
  15820. private const string __getLog_name = "getLog";
  15821.  
  15822. public Murmur.LogEntry[] end_getLog(Ice.AsyncResult r__)
  15823. {
  15824. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  15825. IceInternal.OutgoingAsync.check__(outAsync__, this, __getLog_name);
  15826. if (!outAsync__.wait__())
  15827. {
  15828. try
  15829. {
  15830. outAsync__.throwUserException__();
  15831. }
  15832. catch (Murmur.InvalidSecretException)
  15833. {
  15834. throw;
  15835. }
  15836. catch (Ice.UserException ex__)
  15837. {
  15838. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  15839. }
  15840. }
  15841. Murmur.LogEntry[] ret__;
  15842. IceInternal.BasicStream is__ = outAsync__.istr__;
  15843. is__.startReadEncaps();
  15844. {
  15845. int szx__ = is__.readAndCheckSeqSize(5);
  15846. ret__ = new Murmur.LogEntry[szx__];
  15847. for (int ix__ = 0; ix__ < szx__; ++ix__)
  15848. {
  15849. ret__[ix__] = new Murmur.LogEntry();
  15850. ret__[ix__].read__(is__);
  15851. }
  15852. }
  15853. is__.endReadEncaps();
  15854. return ret__;
  15855. }
  15856.  
  15857. private Ice.AsyncResult<Murmur.Callback_Server_getLog> begin_getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  15858. {
  15859. checkAsyncTwowayOnly__(__getLog_name);
  15860. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getLog> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getLog>(this, __getLog_name, getLog_completed__, cookie__);
  15861. if (cb__ != null)
  15862. {
  15863. result__.whenCompletedWithAsyncCallback(cb__);
  15864. }
  15865. try
  15866. {
  15867. result__.prepare__(__getLog_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  15868. IceInternal.BasicStream os__ = result__.ostr__;
  15869. os__.writeInt(first);
  15870. os__.writeInt(last);
  15871. os__.endWriteEncaps();
  15872. result__.send__(true);
  15873. }
  15874. catch (Ice.LocalException ex__)
  15875. {
  15876. result__.exceptionAsync__(ex__);
  15877. }
  15878. return result__;
  15879. }
  15880.  
  15881. private void getLog_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getLog cb__, Ice.ExceptionCallback excb__)
  15882. {
  15883. Murmur.LogEntry[] ret__;
  15884. try
  15885. {
  15886. ret__ = end_getLog(r__);
  15887. }
  15888. catch (Ice.Exception ex__)
  15889. {
  15890. if (excb__ != null)
  15891. {
  15892. excb__(ex__);
  15893. }
  15894. return;
  15895. }
  15896. if (cb__ != null)
  15897. {
  15898. cb__(ret__);
  15899. }
  15900. }
  15901.  
  15902. public Ice.AsyncResult<Murmur.Callback_Server_getLogLen> begin_getLogLen()
  15903. {
  15904. return begin_getLogLen(null, false, null, null);
  15905. }
  15906.  
  15907. /// <summary>
  15908. /// Fetch length of log
  15909. /// <returns>Number of entries in log
  15910. /// </returns>
  15911. /// </summary>
  15912. /// <param name="ctx__">The Context map to send with the invocation.</param>
  15913. public Ice.AsyncResult<Murmur.Callback_Server_getLogLen> begin_getLogLen(_System.Collections.Generic.Dictionary<string, string> ctx__)
  15914. {
  15915. return begin_getLogLen(ctx__, true, null, null);
  15916. }
  15917.  
  15918. public Ice.AsyncResult begin_getLogLen(Ice.AsyncCallback cb__, object cookie__)
  15919. {
  15920. return begin_getLogLen(null, false, cb__, cookie__);
  15921. }
  15922.  
  15923. public Ice.AsyncResult begin_getLogLen(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  15924. {
  15925. return begin_getLogLen(ctx__, true, cb__, cookie__);
  15926. }
  15927.  
  15928. private const string __getLogLen_name = "getLogLen";
  15929.  
  15930. public int end_getLogLen(Ice.AsyncResult r__)
  15931. {
  15932. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  15933. IceInternal.OutgoingAsync.check__(outAsync__, this, __getLogLen_name);
  15934. if (!outAsync__.wait__())
  15935. {
  15936. try
  15937. {
  15938. outAsync__.throwUserException__();
  15939. }
  15940. catch (Murmur.InvalidSecretException)
  15941. {
  15942. throw;
  15943. }
  15944. catch (Ice.UserException ex__)
  15945. {
  15946. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  15947. }
  15948. }
  15949. int ret__;
  15950. IceInternal.BasicStream is__ = outAsync__.istr__;
  15951. is__.startReadEncaps();
  15952. ret__ = is__.readInt();
  15953. is__.endReadEncaps();
  15954. return ret__;
  15955. }
  15956.  
  15957. private Ice.AsyncResult<Murmur.Callback_Server_getLogLen> begin_getLogLen(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  15958. {
  15959. checkAsyncTwowayOnly__(__getLogLen_name);
  15960. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getLogLen> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getLogLen>(this, __getLogLen_name, getLogLen_completed__, cookie__);
  15961. if (cb__ != null)
  15962. {
  15963. result__.whenCompletedWithAsyncCallback(cb__);
  15964. }
  15965. try
  15966. {
  15967. result__.prepare__(__getLogLen_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  15968. IceInternal.BasicStream os__ = result__.ostr__;
  15969. os__.endWriteEncaps();
  15970. result__.send__(true);
  15971. }
  15972. catch (Ice.LocalException ex__)
  15973. {
  15974. result__.exceptionAsync__(ex__);
  15975. }
  15976. return result__;
  15977. }
  15978.  
  15979. private void getLogLen_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getLogLen cb__, Ice.ExceptionCallback excb__)
  15980. {
  15981. int ret__;
  15982. try
  15983. {
  15984. ret__ = end_getLogLen(r__);
  15985. }
  15986. catch (Ice.Exception ex__)
  15987. {
  15988. if (excb__ != null)
  15989. {
  15990. excb__(ex__);
  15991. }
  15992. return;
  15993. }
  15994. if (cb__ != null)
  15995. {
  15996. cb__(ret__);
  15997. }
  15998. }
  15999.  
  16000. public Ice.AsyncResult<Murmur.Callback_Server_getRegisteredUsers> begin_getRegisteredUsers(string filter)
  16001. {
  16002. return begin_getRegisteredUsers(filter, null, false, null, null);
  16003. }
  16004.  
  16005. /// <summary>
  16006. /// Fetch a group of registered users.
  16007. /// </summary>
  16008. /// <param name="filter">Substring of user name. If blank, will retrieve all registered users.
  16009. /// </param>
  16010. /// <param name="ctx__">The Context map to send with the invocation.</param>
  16011. public Ice.AsyncResult<Murmur.Callback_Server_getRegisteredUsers> begin_getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> ctx__)
  16012. {
  16013. return begin_getRegisteredUsers(filter, ctx__, true, null, null);
  16014. }
  16015.  
  16016. public Ice.AsyncResult begin_getRegisteredUsers(string filter, Ice.AsyncCallback cb__, object cookie__)
  16017. {
  16018. return begin_getRegisteredUsers(filter, null, false, cb__, cookie__);
  16019. }
  16020.  
  16021. public Ice.AsyncResult begin_getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  16022. {
  16023. return begin_getRegisteredUsers(filter, ctx__, true, cb__, cookie__);
  16024. }
  16025.  
  16026. private const string __getRegisteredUsers_name = "getRegisteredUsers";
  16027.  
  16028. public _System.Collections.Generic.Dictionary<int, string> end_getRegisteredUsers(Ice.AsyncResult r__)
  16029. {
  16030. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  16031. IceInternal.OutgoingAsync.check__(outAsync__, this, __getRegisteredUsers_name);
  16032. if (!outAsync__.wait__())
  16033. {
  16034. try
  16035. {
  16036. outAsync__.throwUserException__();
  16037. }
  16038. catch (Murmur.InvalidSecretException)
  16039. {
  16040. throw;
  16041. }
  16042. catch (Murmur.ServerBootedException)
  16043. {
  16044. throw;
  16045. }
  16046. catch (Ice.UserException ex__)
  16047. {
  16048. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  16049. }
  16050. }
  16051. _System.Collections.Generic.Dictionary<int, string> ret__;
  16052. IceInternal.BasicStream is__ = outAsync__.istr__;
  16053. is__.startReadEncaps();
  16054. ret__ = Murmur.NameMapHelper.read(is__);
  16055. is__.endReadEncaps();
  16056. return ret__;
  16057. }
  16058.  
  16059. private Ice.AsyncResult<Murmur.Callback_Server_getRegisteredUsers> begin_getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  16060. {
  16061. checkAsyncTwowayOnly__(__getRegisteredUsers_name);
  16062. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getRegisteredUsers> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getRegisteredUsers>(this, __getRegisteredUsers_name, getRegisteredUsers_completed__, cookie__);
  16063. if (cb__ != null)
  16064. {
  16065. result__.whenCompletedWithAsyncCallback(cb__);
  16066. }
  16067. try
  16068. {
  16069. result__.prepare__(__getRegisteredUsers_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  16070. IceInternal.BasicStream os__ = result__.ostr__;
  16071. os__.writeString(filter);
  16072. os__.endWriteEncaps();
  16073. result__.send__(true);
  16074. }
  16075. catch (Ice.LocalException ex__)
  16076. {
  16077. result__.exceptionAsync__(ex__);
  16078. }
  16079. return result__;
  16080. }
  16081.  
  16082. private void getRegisteredUsers_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getRegisteredUsers cb__, Ice.ExceptionCallback excb__)
  16083. {
  16084. _System.Collections.Generic.Dictionary<int, string> ret__;
  16085. try
  16086. {
  16087. ret__ = end_getRegisteredUsers(r__);
  16088. }
  16089. catch (Ice.Exception ex__)
  16090. {
  16091. if (excb__ != null)
  16092. {
  16093. excb__(ex__);
  16094. }
  16095. return;
  16096. }
  16097. if (cb__ != null)
  16098. {
  16099. cb__(ret__);
  16100. }
  16101. }
  16102.  
  16103. public Ice.AsyncResult<Murmur.Callback_Server_getRegistration> begin_getRegistration(int userid)
  16104. {
  16105. return begin_getRegistration(userid, null, false, null, null);
  16106. }
  16107.  
  16108. /// <summary>
  16109. /// Fetch registration for a single user.
  16110. /// </summary>
  16111. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  16112. /// </param>
  16113. /// <param name="ctx__">The Context map to send with the invocation.</param>
  16114. public Ice.AsyncResult<Murmur.Callback_Server_getRegistration> begin_getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__)
  16115. {
  16116. return begin_getRegistration(userid, ctx__, true, null, null);
  16117. }
  16118.  
  16119. public Ice.AsyncResult begin_getRegistration(int userid, Ice.AsyncCallback cb__, object cookie__)
  16120. {
  16121. return begin_getRegistration(userid, null, false, cb__, cookie__);
  16122. }
  16123.  
  16124. public Ice.AsyncResult begin_getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  16125. {
  16126. return begin_getRegistration(userid, ctx__, true, cb__, cookie__);
  16127. }
  16128.  
  16129. private const string __getRegistration_name = "getRegistration";
  16130.  
  16131. public _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> end_getRegistration(Ice.AsyncResult r__)
  16132. {
  16133. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  16134. IceInternal.OutgoingAsync.check__(outAsync__, this, __getRegistration_name);
  16135. if (!outAsync__.wait__())
  16136. {
  16137. try
  16138. {
  16139. outAsync__.throwUserException__();
  16140. }
  16141. catch (Murmur.InvalidSecretException)
  16142. {
  16143. throw;
  16144. }
  16145. catch (Murmur.InvalidUserException)
  16146. {
  16147. throw;
  16148. }
  16149. catch (Murmur.ServerBootedException)
  16150. {
  16151. throw;
  16152. }
  16153. catch (Ice.UserException ex__)
  16154. {
  16155. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  16156. }
  16157. }
  16158. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> ret__;
  16159. IceInternal.BasicStream is__ = outAsync__.istr__;
  16160. is__.startReadEncaps();
  16161. ret__ = Murmur.UserInfoMapHelper.read(is__);
  16162. is__.endReadEncaps();
  16163. return ret__;
  16164. }
  16165.  
  16166. private Ice.AsyncResult<Murmur.Callback_Server_getRegistration> begin_getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  16167. {
  16168. checkAsyncTwowayOnly__(__getRegistration_name);
  16169. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getRegistration> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getRegistration>(this, __getRegistration_name, getRegistration_completed__, cookie__);
  16170. if (cb__ != null)
  16171. {
  16172. result__.whenCompletedWithAsyncCallback(cb__);
  16173. }
  16174. try
  16175. {
  16176. result__.prepare__(__getRegistration_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  16177. IceInternal.BasicStream os__ = result__.ostr__;
  16178. os__.writeInt(userid);
  16179. os__.endWriteEncaps();
  16180. result__.send__(true);
  16181. }
  16182. catch (Ice.LocalException ex__)
  16183. {
  16184. result__.exceptionAsync__(ex__);
  16185. }
  16186. return result__;
  16187. }
  16188.  
  16189. private void getRegistration_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getRegistration cb__, Ice.ExceptionCallback excb__)
  16190. {
  16191. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> ret__;
  16192. try
  16193. {
  16194. ret__ = end_getRegistration(r__);
  16195. }
  16196. catch (Ice.Exception ex__)
  16197. {
  16198. if (excb__ != null)
  16199. {
  16200. excb__(ex__);
  16201. }
  16202. return;
  16203. }
  16204. if (cb__ != null)
  16205. {
  16206. cb__(ret__);
  16207. }
  16208. }
  16209.  
  16210. public Ice.AsyncResult<Murmur.Callback_Server_getState> begin_getState(int session)
  16211. {
  16212. return begin_getState(session, null, false, null, null);
  16213. }
  16214.  
  16215. /// <summary>
  16216. /// Get state of a single connected user.
  16217. /// </summary>
  16218. /// <param name="session">Connection ID of user. See User.session.
  16219. /// </param>
  16220. /// <param name="ctx__">The Context map to send with the invocation.</param>
  16221. public Ice.AsyncResult<Murmur.Callback_Server_getState> begin_getState(int session, _System.Collections.Generic.Dictionary<string, string> ctx__)
  16222. {
  16223. return begin_getState(session, ctx__, true, null, null);
  16224. }
  16225.  
  16226. public Ice.AsyncResult begin_getState(int session, Ice.AsyncCallback cb__, object cookie__)
  16227. {
  16228. return begin_getState(session, null, false, cb__, cookie__);
  16229. }
  16230.  
  16231. public Ice.AsyncResult begin_getState(int session, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  16232. {
  16233. return begin_getState(session, ctx__, true, cb__, cookie__);
  16234. }
  16235.  
  16236. private const string __getState_name = "getState";
  16237.  
  16238. public Murmur.User end_getState(Ice.AsyncResult r__)
  16239. {
  16240. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  16241. IceInternal.OutgoingAsync.check__(outAsync__, this, __getState_name);
  16242. if (!outAsync__.wait__())
  16243. {
  16244. try
  16245. {
  16246. outAsync__.throwUserException__();
  16247. }
  16248. catch (Murmur.InvalidSecretException)
  16249. {
  16250. throw;
  16251. }
  16252. catch (Murmur.InvalidSessionException)
  16253. {
  16254. throw;
  16255. }
  16256. catch (Murmur.ServerBootedException)
  16257. {
  16258. throw;
  16259. }
  16260. catch (Ice.UserException ex__)
  16261. {
  16262. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  16263. }
  16264. }
  16265. Murmur.User ret__;
  16266. IceInternal.BasicStream is__ = outAsync__.istr__;
  16267. is__.startReadEncaps();
  16268. ret__ = null;
  16269. if (ret__ == null)
  16270. {
  16271. ret__ = new Murmur.User();
  16272. }
  16273. ret__.read__(is__);
  16274. is__.endReadEncaps();
  16275. return ret__;
  16276. }
  16277.  
  16278. private Ice.AsyncResult<Murmur.Callback_Server_getState> begin_getState(int session, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  16279. {
  16280. checkAsyncTwowayOnly__(__getState_name);
  16281. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getState> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getState>(this, __getState_name, getState_completed__, cookie__);
  16282. if (cb__ != null)
  16283. {
  16284. result__.whenCompletedWithAsyncCallback(cb__);
  16285. }
  16286. try
  16287. {
  16288. result__.prepare__(__getState_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  16289. IceInternal.BasicStream os__ = result__.ostr__;
  16290. os__.writeInt(session);
  16291. os__.endWriteEncaps();
  16292. result__.send__(true);
  16293. }
  16294. catch (Ice.LocalException ex__)
  16295. {
  16296. result__.exceptionAsync__(ex__);
  16297. }
  16298. return result__;
  16299. }
  16300.  
  16301. private void getState_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getState cb__, Ice.ExceptionCallback excb__)
  16302. {
  16303. Murmur.User ret__;
  16304. try
  16305. {
  16306. ret__ = end_getState(r__);
  16307. }
  16308. catch (Ice.Exception ex__)
  16309. {
  16310. if (excb__ != null)
  16311. {
  16312. excb__(ex__);
  16313. }
  16314. return;
  16315. }
  16316. if (cb__ != null)
  16317. {
  16318. cb__(ret__);
  16319. }
  16320. }
  16321.  
  16322. public Ice.AsyncResult<Murmur.Callback_Server_getTexture> begin_getTexture(int userid)
  16323. {
  16324. return begin_getTexture(userid, null, false, null, null);
  16325. }
  16326.  
  16327. /// <summary>
  16328. /// Fetch user texture.
  16329. /// Textures are stored as zlib compress()ed 600x60 32-bit BGRA data.
  16330. /// </summary>
  16331. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  16332. /// </param>
  16333. /// <param name="ctx__">The Context map to send with the invocation.</param>
  16334. public Ice.AsyncResult<Murmur.Callback_Server_getTexture> begin_getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__)
  16335. {
  16336. return begin_getTexture(userid, ctx__, true, null, null);
  16337. }
  16338.  
  16339. public Ice.AsyncResult begin_getTexture(int userid, Ice.AsyncCallback cb__, object cookie__)
  16340. {
  16341. return begin_getTexture(userid, null, false, cb__, cookie__);
  16342. }
  16343.  
  16344. public Ice.AsyncResult begin_getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  16345. {
  16346. return begin_getTexture(userid, ctx__, true, cb__, cookie__);
  16347. }
  16348.  
  16349. private const string __getTexture_name = "getTexture";
  16350.  
  16351. public byte[] end_getTexture(Ice.AsyncResult r__)
  16352. {
  16353. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  16354. IceInternal.OutgoingAsync.check__(outAsync__, this, __getTexture_name);
  16355. if (!outAsync__.wait__())
  16356. {
  16357. try
  16358. {
  16359. outAsync__.throwUserException__();
  16360. }
  16361. catch (Murmur.InvalidSecretException)
  16362. {
  16363. throw;
  16364. }
  16365. catch (Murmur.InvalidUserException)
  16366. {
  16367. throw;
  16368. }
  16369. catch (Murmur.ServerBootedException)
  16370. {
  16371. throw;
  16372. }
  16373. catch (Ice.UserException ex__)
  16374. {
  16375. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  16376. }
  16377. }
  16378. byte[] ret__;
  16379. IceInternal.BasicStream is__ = outAsync__.istr__;
  16380. is__.startReadEncaps();
  16381. ret__ = is__.readByteSeq();
  16382. is__.endReadEncaps();
  16383. return ret__;
  16384. }
  16385.  
  16386. private Ice.AsyncResult<Murmur.Callback_Server_getTexture> begin_getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  16387. {
  16388. checkAsyncTwowayOnly__(__getTexture_name);
  16389. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getTexture> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getTexture>(this, __getTexture_name, getTexture_completed__, cookie__);
  16390. if (cb__ != null)
  16391. {
  16392. result__.whenCompletedWithAsyncCallback(cb__);
  16393. }
  16394. try
  16395. {
  16396. result__.prepare__(__getTexture_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  16397. IceInternal.BasicStream os__ = result__.ostr__;
  16398. os__.writeInt(userid);
  16399. os__.endWriteEncaps();
  16400. result__.send__(true);
  16401. }
  16402. catch (Ice.LocalException ex__)
  16403. {
  16404. result__.exceptionAsync__(ex__);
  16405. }
  16406. return result__;
  16407. }
  16408.  
  16409. private void getTexture_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getTexture cb__, Ice.ExceptionCallback excb__)
  16410. {
  16411. byte[] ret__;
  16412. try
  16413. {
  16414. ret__ = end_getTexture(r__);
  16415. }
  16416. catch (Ice.Exception ex__)
  16417. {
  16418. if (excb__ != null)
  16419. {
  16420. excb__(ex__);
  16421. }
  16422. return;
  16423. }
  16424. if (cb__ != null)
  16425. {
  16426. cb__(ret__);
  16427. }
  16428. }
  16429.  
  16430. public Ice.AsyncResult<Murmur.Callback_Server_getTree> begin_getTree()
  16431. {
  16432. return begin_getTree(null, false, null, null);
  16433. }
  16434.  
  16435. /// <summary>
  16436. /// Fetch all channels and connected users as a tree.
  16437. /// This retrieves an easy-to-use representation of the server
  16438. /// </summary>
  16439. /// <param name="ctx__">The Context map to send with the invocation.</param>
  16440. public Ice.AsyncResult<Murmur.Callback_Server_getTree> begin_getTree(_System.Collections.Generic.Dictionary<string, string> ctx__)
  16441. {
  16442. return begin_getTree(ctx__, true, null, null);
  16443. }
  16444.  
  16445. public Ice.AsyncResult begin_getTree(Ice.AsyncCallback cb__, object cookie__)
  16446. {
  16447. return begin_getTree(null, false, cb__, cookie__);
  16448. }
  16449.  
  16450. public Ice.AsyncResult begin_getTree(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  16451. {
  16452. return begin_getTree(ctx__, true, cb__, cookie__);
  16453. }
  16454.  
  16455. private const string __getTree_name = "getTree";
  16456.  
  16457. public Murmur.Tree end_getTree(Ice.AsyncResult r__)
  16458. {
  16459. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  16460. IceInternal.OutgoingAsync.check__(outAsync__, this, __getTree_name);
  16461. if (!outAsync__.wait__())
  16462. {
  16463. try
  16464. {
  16465. outAsync__.throwUserException__();
  16466. }
  16467. catch (Murmur.InvalidSecretException)
  16468. {
  16469. throw;
  16470. }
  16471. catch (Murmur.ServerBootedException)
  16472. {
  16473. throw;
  16474. }
  16475. catch (Ice.UserException ex__)
  16476. {
  16477. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  16478. }
  16479. }
  16480. Murmur.Tree ret__;
  16481. IceInternal.BasicStream is__ = outAsync__.istr__;
  16482. is__.startReadEncaps();
  16483. IceInternal.ParamPatcher<Murmur.Tree> ret___PP = new IceInternal.ParamPatcher<Murmur.Tree>("::Murmur::Tree");
  16484. is__.readObject(ret___PP);
  16485. is__.readPendingObjects();
  16486. is__.endReadEncaps();
  16487. ret__ = (Murmur.Tree)ret___PP.value;
  16488. return ret__;
  16489. }
  16490.  
  16491. private Ice.AsyncResult<Murmur.Callback_Server_getTree> begin_getTree(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  16492. {
  16493. checkAsyncTwowayOnly__(__getTree_name);
  16494. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getTree> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getTree>(this, __getTree_name, getTree_completed__, cookie__);
  16495. if (cb__ != null)
  16496. {
  16497. result__.whenCompletedWithAsyncCallback(cb__);
  16498. }
  16499. try
  16500. {
  16501. result__.prepare__(__getTree_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  16502. IceInternal.BasicStream os__ = result__.ostr__;
  16503. os__.endWriteEncaps();
  16504. result__.send__(true);
  16505. }
  16506. catch (Ice.LocalException ex__)
  16507. {
  16508. result__.exceptionAsync__(ex__);
  16509. }
  16510. return result__;
  16511. }
  16512.  
  16513. private void getTree_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getTree cb__, Ice.ExceptionCallback excb__)
  16514. {
  16515. Murmur.Tree ret__;
  16516. try
  16517. {
  16518. ret__ = end_getTree(r__);
  16519. }
  16520. catch (Ice.Exception ex__)
  16521. {
  16522. if (excb__ != null)
  16523. {
  16524. excb__(ex__);
  16525. }
  16526. return;
  16527. }
  16528. if (cb__ != null)
  16529. {
  16530. cb__(ret__);
  16531. }
  16532. }
  16533.  
  16534. public Ice.AsyncResult<Murmur.Callback_Server_getUptime> begin_getUptime()
  16535. {
  16536. return begin_getUptime(null, false, null, null);
  16537. }
  16538.  
  16539. /// <summary>
  16540. /// Get virtual server uptime.
  16541. /// </summary>
  16542. /// <param name="ctx__">The Context map to send with the invocation.</param>
  16543. public Ice.AsyncResult<Murmur.Callback_Server_getUptime> begin_getUptime(_System.Collections.Generic.Dictionary<string, string> ctx__)
  16544. {
  16545. return begin_getUptime(ctx__, true, null, null);
  16546. }
  16547.  
  16548. public Ice.AsyncResult begin_getUptime(Ice.AsyncCallback cb__, object cookie__)
  16549. {
  16550. return begin_getUptime(null, false, cb__, cookie__);
  16551. }
  16552.  
  16553. public Ice.AsyncResult begin_getUptime(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  16554. {
  16555. return begin_getUptime(ctx__, true, cb__, cookie__);
  16556. }
  16557.  
  16558. private const string __getUptime_name = "getUptime";
  16559.  
  16560. public int end_getUptime(Ice.AsyncResult r__)
  16561. {
  16562. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  16563. IceInternal.OutgoingAsync.check__(outAsync__, this, __getUptime_name);
  16564. if (!outAsync__.wait__())
  16565. {
  16566. try
  16567. {
  16568. outAsync__.throwUserException__();
  16569. }
  16570. catch (Murmur.InvalidSecretException)
  16571. {
  16572. throw;
  16573. }
  16574. catch (Murmur.ServerBootedException)
  16575. {
  16576. throw;
  16577. }
  16578. catch (Ice.UserException ex__)
  16579. {
  16580. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  16581. }
  16582. }
  16583. int ret__;
  16584. IceInternal.BasicStream is__ = outAsync__.istr__;
  16585. is__.startReadEncaps();
  16586. ret__ = is__.readInt();
  16587. is__.endReadEncaps();
  16588. return ret__;
  16589. }
  16590.  
  16591. private Ice.AsyncResult<Murmur.Callback_Server_getUptime> begin_getUptime(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  16592. {
  16593. checkAsyncTwowayOnly__(__getUptime_name);
  16594. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getUptime> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getUptime>(this, __getUptime_name, getUptime_completed__, cookie__);
  16595. if (cb__ != null)
  16596. {
  16597. result__.whenCompletedWithAsyncCallback(cb__);
  16598. }
  16599. try
  16600. {
  16601. result__.prepare__(__getUptime_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  16602. IceInternal.BasicStream os__ = result__.ostr__;
  16603. os__.endWriteEncaps();
  16604. result__.send__(true);
  16605. }
  16606. catch (Ice.LocalException ex__)
  16607. {
  16608. result__.exceptionAsync__(ex__);
  16609. }
  16610. return result__;
  16611. }
  16612.  
  16613. private void getUptime_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getUptime cb__, Ice.ExceptionCallback excb__)
  16614. {
  16615. int ret__;
  16616. try
  16617. {
  16618. ret__ = end_getUptime(r__);
  16619. }
  16620. catch (Ice.Exception ex__)
  16621. {
  16622. if (excb__ != null)
  16623. {
  16624. excb__(ex__);
  16625. }
  16626. return;
  16627. }
  16628. if (cb__ != null)
  16629. {
  16630. cb__(ret__);
  16631. }
  16632. }
  16633.  
  16634. public Ice.AsyncResult<Murmur.Callback_Server_getUserIds> begin_getUserIds(string[] names)
  16635. {
  16636. return begin_getUserIds(names, null, false, null, null);
  16637. }
  16638.  
  16639. /// <summary>
  16640. /// Map a list of user names to a matching id.
  16641. /// </summary>
  16642. /// <param name="ctx__">The Context map to send with the invocation.</param>
  16643. public Ice.AsyncResult<Murmur.Callback_Server_getUserIds> begin_getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> ctx__)
  16644. {
  16645. return begin_getUserIds(names, ctx__, true, null, null);
  16646. }
  16647.  
  16648. public Ice.AsyncResult begin_getUserIds(string[] names, Ice.AsyncCallback cb__, object cookie__)
  16649. {
  16650. return begin_getUserIds(names, null, false, cb__, cookie__);
  16651. }
  16652.  
  16653. public Ice.AsyncResult begin_getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  16654. {
  16655. return begin_getUserIds(names, ctx__, true, cb__, cookie__);
  16656. }
  16657.  
  16658. private const string __getUserIds_name = "getUserIds";
  16659.  
  16660. public _System.Collections.Generic.Dictionary<string, int> end_getUserIds(Ice.AsyncResult r__)
  16661. {
  16662. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  16663. IceInternal.OutgoingAsync.check__(outAsync__, this, __getUserIds_name);
  16664. if (!outAsync__.wait__())
  16665. {
  16666. try
  16667. {
  16668. outAsync__.throwUserException__();
  16669. }
  16670. catch (Murmur.InvalidSecretException)
  16671. {
  16672. throw;
  16673. }
  16674. catch (Murmur.ServerBootedException)
  16675. {
  16676. throw;
  16677. }
  16678. catch (Ice.UserException ex__)
  16679. {
  16680. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  16681. }
  16682. }
  16683. _System.Collections.Generic.Dictionary<string, int> ret__;
  16684. IceInternal.BasicStream is__ = outAsync__.istr__;
  16685. is__.startReadEncaps();
  16686. ret__ = Murmur.IdMapHelper.read(is__);
  16687. is__.endReadEncaps();
  16688. return ret__;
  16689. }
  16690.  
  16691. private Ice.AsyncResult<Murmur.Callback_Server_getUserIds> begin_getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  16692. {
  16693. checkAsyncTwowayOnly__(__getUserIds_name);
  16694. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getUserIds> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getUserIds>(this, __getUserIds_name, getUserIds_completed__, cookie__);
  16695. if (cb__ != null)
  16696. {
  16697. result__.whenCompletedWithAsyncCallback(cb__);
  16698. }
  16699. try
  16700. {
  16701. result__.prepare__(__getUserIds_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  16702. IceInternal.BasicStream os__ = result__.ostr__;
  16703. os__.writeStringSeq(names);
  16704. os__.endWriteEncaps();
  16705. result__.send__(true);
  16706. }
  16707. catch (Ice.LocalException ex__)
  16708. {
  16709. result__.exceptionAsync__(ex__);
  16710. }
  16711. return result__;
  16712. }
  16713.  
  16714. private void getUserIds_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getUserIds cb__, Ice.ExceptionCallback excb__)
  16715. {
  16716. _System.Collections.Generic.Dictionary<string, int> ret__;
  16717. try
  16718. {
  16719. ret__ = end_getUserIds(r__);
  16720. }
  16721. catch (Ice.Exception ex__)
  16722. {
  16723. if (excb__ != null)
  16724. {
  16725. excb__(ex__);
  16726. }
  16727. return;
  16728. }
  16729. if (cb__ != null)
  16730. {
  16731. cb__(ret__);
  16732. }
  16733. }
  16734.  
  16735. public Ice.AsyncResult<Murmur.Callback_Server_getUserNames> begin_getUserNames(int[] ids)
  16736. {
  16737. return begin_getUserNames(ids, null, false, null, null);
  16738. }
  16739.  
  16740. /// <summary>
  16741. /// Map a list of User.userid to a matching name.
  16742. /// </summary>
  16743. /// <param name="ctx__">The Context map to send with the invocation.</param>
  16744. public Ice.AsyncResult<Murmur.Callback_Server_getUserNames> begin_getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> ctx__)
  16745. {
  16746. return begin_getUserNames(ids, ctx__, true, null, null);
  16747. }
  16748.  
  16749. public Ice.AsyncResult begin_getUserNames(int[] ids, Ice.AsyncCallback cb__, object cookie__)
  16750. {
  16751. return begin_getUserNames(ids, null, false, cb__, cookie__);
  16752. }
  16753.  
  16754. public Ice.AsyncResult begin_getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  16755. {
  16756. return begin_getUserNames(ids, ctx__, true, cb__, cookie__);
  16757. }
  16758.  
  16759. private const string __getUserNames_name = "getUserNames";
  16760.  
  16761. public _System.Collections.Generic.Dictionary<int, string> end_getUserNames(Ice.AsyncResult r__)
  16762. {
  16763. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  16764. IceInternal.OutgoingAsync.check__(outAsync__, this, __getUserNames_name);
  16765. if (!outAsync__.wait__())
  16766. {
  16767. try
  16768. {
  16769. outAsync__.throwUserException__();
  16770. }
  16771. catch (Murmur.InvalidSecretException)
  16772. {
  16773. throw;
  16774. }
  16775. catch (Murmur.ServerBootedException)
  16776. {
  16777. throw;
  16778. }
  16779. catch (Ice.UserException ex__)
  16780. {
  16781. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  16782. }
  16783. }
  16784. _System.Collections.Generic.Dictionary<int, string> ret__;
  16785. IceInternal.BasicStream is__ = outAsync__.istr__;
  16786. is__.startReadEncaps();
  16787. ret__ = Murmur.NameMapHelper.read(is__);
  16788. is__.endReadEncaps();
  16789. return ret__;
  16790. }
  16791.  
  16792. private Ice.AsyncResult<Murmur.Callback_Server_getUserNames> begin_getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  16793. {
  16794. checkAsyncTwowayOnly__(__getUserNames_name);
  16795. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getUserNames> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getUserNames>(this, __getUserNames_name, getUserNames_completed__, cookie__);
  16796. if (cb__ != null)
  16797. {
  16798. result__.whenCompletedWithAsyncCallback(cb__);
  16799. }
  16800. try
  16801. {
  16802. result__.prepare__(__getUserNames_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  16803. IceInternal.BasicStream os__ = result__.ostr__;
  16804. os__.writeIntSeq(ids);
  16805. os__.endWriteEncaps();
  16806. result__.send__(true);
  16807. }
  16808. catch (Ice.LocalException ex__)
  16809. {
  16810. result__.exceptionAsync__(ex__);
  16811. }
  16812. return result__;
  16813. }
  16814.  
  16815. private void getUserNames_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getUserNames cb__, Ice.ExceptionCallback excb__)
  16816. {
  16817. _System.Collections.Generic.Dictionary<int, string> ret__;
  16818. try
  16819. {
  16820. ret__ = end_getUserNames(r__);
  16821. }
  16822. catch (Ice.Exception ex__)
  16823. {
  16824. if (excb__ != null)
  16825. {
  16826. excb__(ex__);
  16827. }
  16828. return;
  16829. }
  16830. if (cb__ != null)
  16831. {
  16832. cb__(ret__);
  16833. }
  16834. }
  16835.  
  16836. public Ice.AsyncResult<Murmur.Callback_Server_getUsers> begin_getUsers()
  16837. {
  16838. return begin_getUsers(null, false, null, null);
  16839. }
  16840.  
  16841. /// <summary>
  16842. /// Fetch all users.
  16843. /// This returns all currently connected users on the server.
  16844. /// </summary>
  16845. /// <param name="ctx__">The Context map to send with the invocation.</param>
  16846. public Ice.AsyncResult<Murmur.Callback_Server_getUsers> begin_getUsers(_System.Collections.Generic.Dictionary<string, string> ctx__)
  16847. {
  16848. return begin_getUsers(ctx__, true, null, null);
  16849. }
  16850.  
  16851. public Ice.AsyncResult begin_getUsers(Ice.AsyncCallback cb__, object cookie__)
  16852. {
  16853. return begin_getUsers(null, false, cb__, cookie__);
  16854. }
  16855.  
  16856. public Ice.AsyncResult begin_getUsers(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  16857. {
  16858. return begin_getUsers(ctx__, true, cb__, cookie__);
  16859. }
  16860.  
  16861. private const string __getUsers_name = "getUsers";
  16862.  
  16863. public _System.Collections.Generic.Dictionary<int, Murmur.User> end_getUsers(Ice.AsyncResult r__)
  16864. {
  16865. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  16866. IceInternal.OutgoingAsync.check__(outAsync__, this, __getUsers_name);
  16867. if (!outAsync__.wait__())
  16868. {
  16869. try
  16870. {
  16871. outAsync__.throwUserException__();
  16872. }
  16873. catch (Murmur.InvalidSecretException)
  16874. {
  16875. throw;
  16876. }
  16877. catch (Murmur.ServerBootedException)
  16878. {
  16879. throw;
  16880. }
  16881. catch (Ice.UserException ex__)
  16882. {
  16883. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  16884. }
  16885. }
  16886. _System.Collections.Generic.Dictionary<int, Murmur.User> ret__;
  16887. IceInternal.BasicStream is__ = outAsync__.istr__;
  16888. is__.startReadEncaps();
  16889. ret__ = Murmur.UserMapHelper.read(is__);
  16890. is__.endReadEncaps();
  16891. return ret__;
  16892. }
  16893.  
  16894. private Ice.AsyncResult<Murmur.Callback_Server_getUsers> begin_getUsers(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  16895. {
  16896. checkAsyncTwowayOnly__(__getUsers_name);
  16897. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getUsers> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_getUsers>(this, __getUsers_name, getUsers_completed__, cookie__);
  16898. if (cb__ != null)
  16899. {
  16900. result__.whenCompletedWithAsyncCallback(cb__);
  16901. }
  16902. try
  16903. {
  16904. result__.prepare__(__getUsers_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  16905. IceInternal.BasicStream os__ = result__.ostr__;
  16906. os__.endWriteEncaps();
  16907. result__.send__(true);
  16908. }
  16909. catch (Ice.LocalException ex__)
  16910. {
  16911. result__.exceptionAsync__(ex__);
  16912. }
  16913. return result__;
  16914. }
  16915.  
  16916. private void getUsers_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_getUsers cb__, Ice.ExceptionCallback excb__)
  16917. {
  16918. _System.Collections.Generic.Dictionary<int, Murmur.User> ret__;
  16919. try
  16920. {
  16921. ret__ = end_getUsers(r__);
  16922. }
  16923. catch (Ice.Exception ex__)
  16924. {
  16925. if (excb__ != null)
  16926. {
  16927. excb__(ex__);
  16928. }
  16929. return;
  16930. }
  16931. if (cb__ != null)
  16932. {
  16933. cb__(ret__);
  16934. }
  16935. }
  16936.  
  16937. public Ice.AsyncResult<Murmur.Callback_Server_hasPermission> begin_hasPermission(int session, int channelid, int perm)
  16938. {
  16939. return begin_hasPermission(session, channelid, perm, null, false, null, null);
  16940. }
  16941.  
  16942. /// <summary>
  16943. /// Check if user is permitted to perform action.
  16944. /// </summary>
  16945. /// <param name="session">Connection ID of user. See User.session.
  16946. /// </param>
  16947. /// <param name="channelid">ID of Channel. See Channel.id.
  16948. /// </param>
  16949. /// <param name="perm">Permission bits to check.
  16950. /// </param>
  16951. /// <param name="ctx__">The Context map to send with the invocation.</param>
  16952. public Ice.AsyncResult<Murmur.Callback_Server_hasPermission> begin_hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> ctx__)
  16953. {
  16954. return begin_hasPermission(session, channelid, perm, ctx__, true, null, null);
  16955. }
  16956.  
  16957. public Ice.AsyncResult begin_hasPermission(int session, int channelid, int perm, Ice.AsyncCallback cb__, object cookie__)
  16958. {
  16959. return begin_hasPermission(session, channelid, perm, null, false, cb__, cookie__);
  16960. }
  16961.  
  16962. public Ice.AsyncResult begin_hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  16963. {
  16964. return begin_hasPermission(session, channelid, perm, ctx__, true, cb__, cookie__);
  16965. }
  16966.  
  16967. private const string __hasPermission_name = "hasPermission";
  16968.  
  16969. public bool end_hasPermission(Ice.AsyncResult r__)
  16970. {
  16971. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  16972. IceInternal.OutgoingAsync.check__(outAsync__, this, __hasPermission_name);
  16973. if (!outAsync__.wait__())
  16974. {
  16975. try
  16976. {
  16977. outAsync__.throwUserException__();
  16978. }
  16979. catch (Murmur.InvalidChannelException)
  16980. {
  16981. throw;
  16982. }
  16983. catch (Murmur.InvalidSecretException)
  16984. {
  16985. throw;
  16986. }
  16987. catch (Murmur.InvalidSessionException)
  16988. {
  16989. throw;
  16990. }
  16991. catch (Murmur.ServerBootedException)
  16992. {
  16993. throw;
  16994. }
  16995. catch (Ice.UserException ex__)
  16996. {
  16997. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  16998. }
  16999. }
  17000. bool ret__;
  17001. IceInternal.BasicStream is__ = outAsync__.istr__;
  17002. is__.startReadEncaps();
  17003. ret__ = is__.readBool();
  17004. is__.endReadEncaps();
  17005. return ret__;
  17006. }
  17007.  
  17008. private Ice.AsyncResult<Murmur.Callback_Server_hasPermission> begin_hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  17009. {
  17010. checkAsyncTwowayOnly__(__hasPermission_name);
  17011. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_hasPermission> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_hasPermission>(this, __hasPermission_name, hasPermission_completed__, cookie__);
  17012. if (cb__ != null)
  17013. {
  17014. result__.whenCompletedWithAsyncCallback(cb__);
  17015. }
  17016. try
  17017. {
  17018. result__.prepare__(__hasPermission_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  17019. IceInternal.BasicStream os__ = result__.ostr__;
  17020. os__.writeInt(session);
  17021. os__.writeInt(channelid);
  17022. os__.writeInt(perm);
  17023. os__.endWriteEncaps();
  17024. result__.send__(true);
  17025. }
  17026. catch (Ice.LocalException ex__)
  17027. {
  17028. result__.exceptionAsync__(ex__);
  17029. }
  17030. return result__;
  17031. }
  17032.  
  17033. private void hasPermission_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_hasPermission cb__, Ice.ExceptionCallback excb__)
  17034. {
  17035. bool ret__;
  17036. try
  17037. {
  17038. ret__ = end_hasPermission(r__);
  17039. }
  17040. catch (Ice.Exception ex__)
  17041. {
  17042. if (excb__ != null)
  17043. {
  17044. excb__(ex__);
  17045. }
  17046. return;
  17047. }
  17048. if (cb__ != null)
  17049. {
  17050. cb__(ret__);
  17051. }
  17052. }
  17053.  
  17054. public Ice.AsyncResult<Murmur.Callback_Server_id> begin_id()
  17055. {
  17056. return begin_id(null, false, null, null);
  17057. }
  17058.  
  17059. /// <summary>
  17060. /// Fetch the server id.
  17061. /// </summary>
  17062. /// <param name="ctx__">The Context map to send with the invocation.</param>
  17063. public Ice.AsyncResult<Murmur.Callback_Server_id> begin_id(_System.Collections.Generic.Dictionary<string, string> ctx__)
  17064. {
  17065. return begin_id(ctx__, true, null, null);
  17066. }
  17067.  
  17068. public Ice.AsyncResult begin_id(Ice.AsyncCallback cb__, object cookie__)
  17069. {
  17070. return begin_id(null, false, cb__, cookie__);
  17071. }
  17072.  
  17073. public Ice.AsyncResult begin_id(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  17074. {
  17075. return begin_id(ctx__, true, cb__, cookie__);
  17076. }
  17077.  
  17078. private const string __id_name = "id";
  17079.  
  17080. public int end_id(Ice.AsyncResult r__)
  17081. {
  17082. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  17083. IceInternal.OutgoingAsync.check__(outAsync__, this, __id_name);
  17084. if (!outAsync__.wait__())
  17085. {
  17086. try
  17087. {
  17088. outAsync__.throwUserException__();
  17089. }
  17090. catch (Murmur.InvalidSecretException)
  17091. {
  17092. throw;
  17093. }
  17094. catch (Ice.UserException ex__)
  17095. {
  17096. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  17097. }
  17098. }
  17099. int ret__;
  17100. IceInternal.BasicStream is__ = outAsync__.istr__;
  17101. is__.startReadEncaps();
  17102. ret__ = is__.readInt();
  17103. is__.endReadEncaps();
  17104. return ret__;
  17105. }
  17106.  
  17107. private Ice.AsyncResult<Murmur.Callback_Server_id> begin_id(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  17108. {
  17109. checkAsyncTwowayOnly__(__id_name);
  17110. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_id> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_id>(this, __id_name, id_completed__, cookie__);
  17111. if (cb__ != null)
  17112. {
  17113. result__.whenCompletedWithAsyncCallback(cb__);
  17114. }
  17115. try
  17116. {
  17117. result__.prepare__(__id_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  17118. IceInternal.BasicStream os__ = result__.ostr__;
  17119. os__.endWriteEncaps();
  17120. result__.send__(true);
  17121. }
  17122. catch (Ice.LocalException ex__)
  17123. {
  17124. result__.exceptionAsync__(ex__);
  17125. }
  17126. return result__;
  17127. }
  17128.  
  17129. private void id_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_id cb__, Ice.ExceptionCallback excb__)
  17130. {
  17131. int ret__;
  17132. try
  17133. {
  17134. ret__ = end_id(r__);
  17135. }
  17136. catch (Ice.Exception ex__)
  17137. {
  17138. if (excb__ != null)
  17139. {
  17140. excb__(ex__);
  17141. }
  17142. return;
  17143. }
  17144. if (cb__ != null)
  17145. {
  17146. cb__(ret__);
  17147. }
  17148. }
  17149.  
  17150. public Ice.AsyncResult<Murmur.Callback_Server_isRunning> begin_isRunning()
  17151. {
  17152. return begin_isRunning(null, false, null, null);
  17153. }
  17154.  
  17155. /// <summary>
  17156. /// Shows if the server currently running (accepting users).
  17157. /// </summary>
  17158. /// <param name="ctx__">The Context map to send with the invocation.</param>
  17159. public Ice.AsyncResult<Murmur.Callback_Server_isRunning> begin_isRunning(_System.Collections.Generic.Dictionary<string, string> ctx__)
  17160. {
  17161. return begin_isRunning(ctx__, true, null, null);
  17162. }
  17163.  
  17164. public Ice.AsyncResult begin_isRunning(Ice.AsyncCallback cb__, object cookie__)
  17165. {
  17166. return begin_isRunning(null, false, cb__, cookie__);
  17167. }
  17168.  
  17169. public Ice.AsyncResult begin_isRunning(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  17170. {
  17171. return begin_isRunning(ctx__, true, cb__, cookie__);
  17172. }
  17173.  
  17174. private const string __isRunning_name = "isRunning";
  17175.  
  17176. public bool end_isRunning(Ice.AsyncResult r__)
  17177. {
  17178. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  17179. IceInternal.OutgoingAsync.check__(outAsync__, this, __isRunning_name);
  17180. if (!outAsync__.wait__())
  17181. {
  17182. try
  17183. {
  17184. outAsync__.throwUserException__();
  17185. }
  17186. catch (Murmur.InvalidSecretException)
  17187. {
  17188. throw;
  17189. }
  17190. catch (Ice.UserException ex__)
  17191. {
  17192. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  17193. }
  17194. }
  17195. bool ret__;
  17196. IceInternal.BasicStream is__ = outAsync__.istr__;
  17197. is__.startReadEncaps();
  17198. ret__ = is__.readBool();
  17199. is__.endReadEncaps();
  17200. return ret__;
  17201. }
  17202.  
  17203. private Ice.AsyncResult<Murmur.Callback_Server_isRunning> begin_isRunning(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  17204. {
  17205. checkAsyncTwowayOnly__(__isRunning_name);
  17206. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_isRunning> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_isRunning>(this, __isRunning_name, isRunning_completed__, cookie__);
  17207. if (cb__ != null)
  17208. {
  17209. result__.whenCompletedWithAsyncCallback(cb__);
  17210. }
  17211. try
  17212. {
  17213. result__.prepare__(__isRunning_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  17214. IceInternal.BasicStream os__ = result__.ostr__;
  17215. os__.endWriteEncaps();
  17216. result__.send__(true);
  17217. }
  17218. catch (Ice.LocalException ex__)
  17219. {
  17220. result__.exceptionAsync__(ex__);
  17221. }
  17222. return result__;
  17223. }
  17224.  
  17225. private void isRunning_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_isRunning cb__, Ice.ExceptionCallback excb__)
  17226. {
  17227. bool ret__;
  17228. try
  17229. {
  17230. ret__ = end_isRunning(r__);
  17231. }
  17232. catch (Ice.Exception ex__)
  17233. {
  17234. if (excb__ != null)
  17235. {
  17236. excb__(ex__);
  17237. }
  17238. return;
  17239. }
  17240. if (cb__ != null)
  17241. {
  17242. cb__(ret__);
  17243. }
  17244. }
  17245.  
  17246. public Ice.AsyncResult<Murmur.Callback_Server_kickUser> begin_kickUser(int session, string reason)
  17247. {
  17248. return begin_kickUser(session, reason, null, false, null, null);
  17249. }
  17250.  
  17251. /// <summary>
  17252. /// Kick a user.
  17253. /// The user is not banned, and is free to rejoin the server.
  17254. /// </summary>
  17255. /// <param name="session">Connection ID of user. See User.session.
  17256. /// </param>
  17257. /// <param name="reason">Text message to show when user is kicked.</param>
  17258. /// <param name="ctx__">The Context map to send with the invocation.</param>
  17259. public Ice.AsyncResult<Murmur.Callback_Server_kickUser> begin_kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> ctx__)
  17260. {
  17261. return begin_kickUser(session, reason, ctx__, true, null, null);
  17262. }
  17263.  
  17264. public Ice.AsyncResult begin_kickUser(int session, string reason, Ice.AsyncCallback cb__, object cookie__)
  17265. {
  17266. return begin_kickUser(session, reason, null, false, cb__, cookie__);
  17267. }
  17268.  
  17269. public Ice.AsyncResult begin_kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  17270. {
  17271. return begin_kickUser(session, reason, ctx__, true, cb__, cookie__);
  17272. }
  17273.  
  17274. private const string __kickUser_name = "kickUser";
  17275.  
  17276. public void end_kickUser(Ice.AsyncResult r__)
  17277. {
  17278. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  17279. IceInternal.OutgoingAsync.check__(outAsync__, this, __kickUser_name);
  17280. if (!outAsync__.wait__())
  17281. {
  17282. try
  17283. {
  17284. outAsync__.throwUserException__();
  17285. }
  17286. catch (Murmur.InvalidSecretException)
  17287. {
  17288. throw;
  17289. }
  17290. catch (Murmur.InvalidSessionException)
  17291. {
  17292. throw;
  17293. }
  17294. catch (Murmur.ServerBootedException)
  17295. {
  17296. throw;
  17297. }
  17298. catch (Ice.UserException ex__)
  17299. {
  17300. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  17301. }
  17302. }
  17303. }
  17304.  
  17305. private Ice.AsyncResult<Murmur.Callback_Server_kickUser> begin_kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  17306. {
  17307. checkAsyncTwowayOnly__(__kickUser_name);
  17308. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_kickUser> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_kickUser>(this, __kickUser_name, kickUser_completed__, cookie__);
  17309. if (cb__ != null)
  17310. {
  17311. result__.whenCompletedWithAsyncCallback(cb__);
  17312. }
  17313. try
  17314. {
  17315. result__.prepare__(__kickUser_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  17316. IceInternal.BasicStream os__ = result__.ostr__;
  17317. os__.writeInt(session);
  17318. os__.writeString(reason);
  17319. os__.endWriteEncaps();
  17320. result__.send__(true);
  17321. }
  17322. catch (Ice.LocalException ex__)
  17323. {
  17324. result__.exceptionAsync__(ex__);
  17325. }
  17326. return result__;
  17327. }
  17328.  
  17329. private void kickUser_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_kickUser cb__, Ice.ExceptionCallback excb__)
  17330. {
  17331. try
  17332. {
  17333. end_kickUser(r__);
  17334. }
  17335. catch (Ice.Exception ex__)
  17336. {
  17337. if (excb__ != null)
  17338. {
  17339. excb__(ex__);
  17340. }
  17341. return;
  17342. }
  17343. if (cb__ != null)
  17344. {
  17345. cb__();
  17346. }
  17347. }
  17348.  
  17349. public Ice.AsyncResult<Murmur.Callback_Server_redirectWhisperGroup> begin_redirectWhisperGroup(int session, string source, string target)
  17350. {
  17351. return begin_redirectWhisperGroup(session, source, target, null, false, null, null);
  17352. }
  17353.  
  17354. /// <summary>
  17355. /// Redirect whisper targets for user.
  17356. /// If set, whenever a user tries to whisper to group "source", the whisper will be redirected to group "target".
  17357. /// </summary>
  17358. /// <param name="session">Connection ID of user. See User.session.
  17359. /// </param>
  17360. /// <param name="source">Group name to redirect from.
  17361. /// </param>
  17362. /// <param name="target">Group name to redirect to.</param>
  17363. /// <param name="ctx__">The Context map to send with the invocation.</param>
  17364. public Ice.AsyncResult<Murmur.Callback_Server_redirectWhisperGroup> begin_redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> ctx__)
  17365. {
  17366. return begin_redirectWhisperGroup(session, source, target, ctx__, true, null, null);
  17367. }
  17368.  
  17369. public Ice.AsyncResult begin_redirectWhisperGroup(int session, string source, string target, Ice.AsyncCallback cb__, object cookie__)
  17370. {
  17371. return begin_redirectWhisperGroup(session, source, target, null, false, cb__, cookie__);
  17372. }
  17373.  
  17374. public Ice.AsyncResult begin_redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  17375. {
  17376. return begin_redirectWhisperGroup(session, source, target, ctx__, true, cb__, cookie__);
  17377. }
  17378.  
  17379. private const string __redirectWhisperGroup_name = "redirectWhisperGroup";
  17380.  
  17381. public void end_redirectWhisperGroup(Ice.AsyncResult r__)
  17382. {
  17383. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  17384. IceInternal.OutgoingAsync.check__(outAsync__, this, __redirectWhisperGroup_name);
  17385. if (!outAsync__.wait__())
  17386. {
  17387. try
  17388. {
  17389. outAsync__.throwUserException__();
  17390. }
  17391. catch (Murmur.InvalidSecretException)
  17392. {
  17393. throw;
  17394. }
  17395. catch (Murmur.InvalidSessionException)
  17396. {
  17397. throw;
  17398. }
  17399. catch (Murmur.ServerBootedException)
  17400. {
  17401. throw;
  17402. }
  17403. catch (Ice.UserException ex__)
  17404. {
  17405. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  17406. }
  17407. }
  17408. }
  17409.  
  17410. private Ice.AsyncResult<Murmur.Callback_Server_redirectWhisperGroup> begin_redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  17411. {
  17412. checkAsyncTwowayOnly__(__redirectWhisperGroup_name);
  17413. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_redirectWhisperGroup> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_redirectWhisperGroup>(this, __redirectWhisperGroup_name, redirectWhisperGroup_completed__, cookie__);
  17414. if (cb__ != null)
  17415. {
  17416. result__.whenCompletedWithAsyncCallback(cb__);
  17417. }
  17418. try
  17419. {
  17420. result__.prepare__(__redirectWhisperGroup_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  17421. IceInternal.BasicStream os__ = result__.ostr__;
  17422. os__.writeInt(session);
  17423. os__.writeString(source);
  17424. os__.writeString(target);
  17425. os__.endWriteEncaps();
  17426. result__.send__(true);
  17427. }
  17428. catch (Ice.LocalException ex__)
  17429. {
  17430. result__.exceptionAsync__(ex__);
  17431. }
  17432. return result__;
  17433. }
  17434.  
  17435. private void redirectWhisperGroup_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_redirectWhisperGroup cb__, Ice.ExceptionCallback excb__)
  17436. {
  17437. try
  17438. {
  17439. end_redirectWhisperGroup(r__);
  17440. }
  17441. catch (Ice.Exception ex__)
  17442. {
  17443. if (excb__ != null)
  17444. {
  17445. excb__(ex__);
  17446. }
  17447. return;
  17448. }
  17449. if (cb__ != null)
  17450. {
  17451. cb__();
  17452. }
  17453. }
  17454.  
  17455. public Ice.AsyncResult<Murmur.Callback_Server_registerUser> begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  17456. {
  17457. return begin_registerUser(info, null, false, null, null);
  17458. }
  17459.  
  17460. /// <summary>
  17461. /// Register a new user.
  17462. /// </summary>
  17463. /// <param name="info">Information about new user. Must include at least "name".
  17464. /// </param>
  17465. /// <param name="ctx__">The Context map to send with the invocation.</param>
  17466. public Ice.AsyncResult<Murmur.Callback_Server_registerUser> begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__)
  17467. {
  17468. return begin_registerUser(info, ctx__, true, null, null);
  17469. }
  17470.  
  17471. public Ice.AsyncResult begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncCallback cb__, object cookie__)
  17472. {
  17473. return begin_registerUser(info, null, false, cb__, cookie__);
  17474. }
  17475.  
  17476. public Ice.AsyncResult begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  17477. {
  17478. return begin_registerUser(info, ctx__, true, cb__, cookie__);
  17479. }
  17480.  
  17481. private const string __registerUser_name = "registerUser";
  17482.  
  17483. public int end_registerUser(Ice.AsyncResult r__)
  17484. {
  17485. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  17486. IceInternal.OutgoingAsync.check__(outAsync__, this, __registerUser_name);
  17487. if (!outAsync__.wait__())
  17488. {
  17489. try
  17490. {
  17491. outAsync__.throwUserException__();
  17492. }
  17493. catch (Murmur.InvalidSecretException)
  17494. {
  17495. throw;
  17496. }
  17497. catch (Murmur.InvalidUserException)
  17498. {
  17499. throw;
  17500. }
  17501. catch (Murmur.ServerBootedException)
  17502. {
  17503. throw;
  17504. }
  17505. catch (Ice.UserException ex__)
  17506. {
  17507. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  17508. }
  17509. }
  17510. int ret__;
  17511. IceInternal.BasicStream is__ = outAsync__.istr__;
  17512. is__.startReadEncaps();
  17513. ret__ = is__.readInt();
  17514. is__.endReadEncaps();
  17515. return ret__;
  17516. }
  17517.  
  17518. private Ice.AsyncResult<Murmur.Callback_Server_registerUser> begin_registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  17519. {
  17520. checkAsyncTwowayOnly__(__registerUser_name);
  17521. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_registerUser> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_registerUser>(this, __registerUser_name, registerUser_completed__, cookie__);
  17522. if (cb__ != null)
  17523. {
  17524. result__.whenCompletedWithAsyncCallback(cb__);
  17525. }
  17526. try
  17527. {
  17528. result__.prepare__(__registerUser_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  17529. IceInternal.BasicStream os__ = result__.ostr__;
  17530. Murmur.UserInfoMapHelper.write(os__, info);
  17531. os__.endWriteEncaps();
  17532. result__.send__(true);
  17533. }
  17534. catch (Ice.LocalException ex__)
  17535. {
  17536. result__.exceptionAsync__(ex__);
  17537. }
  17538. return result__;
  17539. }
  17540.  
  17541. private void registerUser_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_registerUser cb__, Ice.ExceptionCallback excb__)
  17542. {
  17543. int ret__;
  17544. try
  17545. {
  17546. ret__ = end_registerUser(r__);
  17547. }
  17548. catch (Ice.Exception ex__)
  17549. {
  17550. if (excb__ != null)
  17551. {
  17552. excb__(ex__);
  17553. }
  17554. return;
  17555. }
  17556. if (cb__ != null)
  17557. {
  17558. cb__(ret__);
  17559. }
  17560. }
  17561.  
  17562. public Ice.AsyncResult<Murmur.Callback_Server_removeCallback> begin_removeCallback(Murmur.ServerCallbackPrx cb)
  17563. {
  17564. return begin_removeCallback(cb, null, false, null, null);
  17565. }
  17566.  
  17567. /// <summary>
  17568. /// Remove a callback.
  17569. /// </summary>
  17570. /// <param name="cb">Callback interface to be removed.
  17571. /// </param>
  17572. /// <param name="ctx__">The Context map to send with the invocation.</param>
  17573. public Ice.AsyncResult<Murmur.Callback_Server_removeCallback> begin_removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__)
  17574. {
  17575. return begin_removeCallback(cb, ctx__, true, null, null);
  17576. }
  17577.  
  17578. public Ice.AsyncResult begin_removeCallback(Murmur.ServerCallbackPrx cb, Ice.AsyncCallback cb__, object cookie__)
  17579. {
  17580. return begin_removeCallback(cb, null, false, cb__, cookie__);
  17581. }
  17582.  
  17583. public Ice.AsyncResult begin_removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  17584. {
  17585. return begin_removeCallback(cb, ctx__, true, cb__, cookie__);
  17586. }
  17587.  
  17588. private const string __removeCallback_name = "removeCallback";
  17589.  
  17590. public void end_removeCallback(Ice.AsyncResult r__)
  17591. {
  17592. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  17593. IceInternal.OutgoingAsync.check__(outAsync__, this, __removeCallback_name);
  17594. if (!outAsync__.wait__())
  17595. {
  17596. try
  17597. {
  17598. outAsync__.throwUserException__();
  17599. }
  17600. catch (Murmur.InvalidCallbackException)
  17601. {
  17602. throw;
  17603. }
  17604. catch (Murmur.InvalidSecretException)
  17605. {
  17606. throw;
  17607. }
  17608. catch (Murmur.ServerBootedException)
  17609. {
  17610. throw;
  17611. }
  17612. catch (Ice.UserException ex__)
  17613. {
  17614. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  17615. }
  17616. }
  17617. }
  17618.  
  17619. private Ice.AsyncResult<Murmur.Callback_Server_removeCallback> begin_removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  17620. {
  17621. checkAsyncTwowayOnly__(__removeCallback_name);
  17622. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_removeCallback> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_removeCallback>(this, __removeCallback_name, removeCallback_completed__, cookie__);
  17623. if (cb__ != null)
  17624. {
  17625. result__.whenCompletedWithAsyncCallback(cb__);
  17626. }
  17627. try
  17628. {
  17629. result__.prepare__(__removeCallback_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  17630. IceInternal.BasicStream os__ = result__.ostr__;
  17631. Murmur.ServerCallbackPrxHelper.write__(os__, cb);
  17632. os__.endWriteEncaps();
  17633. result__.send__(true);
  17634. }
  17635. catch (Ice.LocalException ex__)
  17636. {
  17637. result__.exceptionAsync__(ex__);
  17638. }
  17639. return result__;
  17640. }
  17641.  
  17642. private void removeCallback_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_removeCallback cb__, Ice.ExceptionCallback excb__)
  17643. {
  17644. try
  17645. {
  17646. end_removeCallback(r__);
  17647. }
  17648. catch (Ice.Exception ex__)
  17649. {
  17650. if (excb__ != null)
  17651. {
  17652. excb__(ex__);
  17653. }
  17654. return;
  17655. }
  17656. if (cb__ != null)
  17657. {
  17658. cb__();
  17659. }
  17660. }
  17661.  
  17662. public Ice.AsyncResult<Murmur.Callback_Server_removeChannel> begin_removeChannel(int channelid)
  17663. {
  17664. return begin_removeChannel(channelid, null, false, null, null);
  17665. }
  17666.  
  17667. /// <summary>
  17668. /// Remove a channel and all its subchannels.
  17669. /// </summary>
  17670. /// <param name="channelid">ID of Channel. See Channel.id.</param>
  17671. /// <param name="ctx__">The Context map to send with the invocation.</param>
  17672. public Ice.AsyncResult<Murmur.Callback_Server_removeChannel> begin_removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__)
  17673. {
  17674. return begin_removeChannel(channelid, ctx__, true, null, null);
  17675. }
  17676.  
  17677. public Ice.AsyncResult begin_removeChannel(int channelid, Ice.AsyncCallback cb__, object cookie__)
  17678. {
  17679. return begin_removeChannel(channelid, null, false, cb__, cookie__);
  17680. }
  17681.  
  17682. public Ice.AsyncResult begin_removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  17683. {
  17684. return begin_removeChannel(channelid, ctx__, true, cb__, cookie__);
  17685. }
  17686.  
  17687. private const string __removeChannel_name = "removeChannel";
  17688.  
  17689. public void end_removeChannel(Ice.AsyncResult r__)
  17690. {
  17691. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  17692. IceInternal.OutgoingAsync.check__(outAsync__, this, __removeChannel_name);
  17693. if (!outAsync__.wait__())
  17694. {
  17695. try
  17696. {
  17697. outAsync__.throwUserException__();
  17698. }
  17699. catch (Murmur.InvalidChannelException)
  17700. {
  17701. throw;
  17702. }
  17703. catch (Murmur.InvalidSecretException)
  17704. {
  17705. throw;
  17706. }
  17707. catch (Murmur.ServerBootedException)
  17708. {
  17709. throw;
  17710. }
  17711. catch (Ice.UserException ex__)
  17712. {
  17713. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  17714. }
  17715. }
  17716. }
  17717.  
  17718. private Ice.AsyncResult<Murmur.Callback_Server_removeChannel> begin_removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  17719. {
  17720. checkAsyncTwowayOnly__(__removeChannel_name);
  17721. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_removeChannel> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_removeChannel>(this, __removeChannel_name, removeChannel_completed__, cookie__);
  17722. if (cb__ != null)
  17723. {
  17724. result__.whenCompletedWithAsyncCallback(cb__);
  17725. }
  17726. try
  17727. {
  17728. result__.prepare__(__removeChannel_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  17729. IceInternal.BasicStream os__ = result__.ostr__;
  17730. os__.writeInt(channelid);
  17731. os__.endWriteEncaps();
  17732. result__.send__(true);
  17733. }
  17734. catch (Ice.LocalException ex__)
  17735. {
  17736. result__.exceptionAsync__(ex__);
  17737. }
  17738. return result__;
  17739. }
  17740.  
  17741. private void removeChannel_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_removeChannel cb__, Ice.ExceptionCallback excb__)
  17742. {
  17743. try
  17744. {
  17745. end_removeChannel(r__);
  17746. }
  17747. catch (Ice.Exception ex__)
  17748. {
  17749. if (excb__ != null)
  17750. {
  17751. excb__(ex__);
  17752. }
  17753. return;
  17754. }
  17755. if (cb__ != null)
  17756. {
  17757. cb__();
  17758. }
  17759. }
  17760.  
  17761. public Ice.AsyncResult<Murmur.Callback_Server_removeContextCallback> begin_removeContextCallback(Murmur.ServerContextCallbackPrx cb)
  17762. {
  17763. return begin_removeContextCallback(cb, null, false, null, null);
  17764. }
  17765.  
  17766. /// <summary>
  17767. /// Remove a callback.
  17768. /// </summary>
  17769. /// <param name="cb">Callback interface to be removed. This callback will be removed from all from all users.
  17770. /// </param>
  17771. /// <param name="ctx__">The Context map to send with the invocation.</param>
  17772. public Ice.AsyncResult<Murmur.Callback_Server_removeContextCallback> begin_removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__)
  17773. {
  17774. return begin_removeContextCallback(cb, ctx__, true, null, null);
  17775. }
  17776.  
  17777. public Ice.AsyncResult begin_removeContextCallback(Murmur.ServerContextCallbackPrx cb, Ice.AsyncCallback cb__, object cookie__)
  17778. {
  17779. return begin_removeContextCallback(cb, null, false, cb__, cookie__);
  17780. }
  17781.  
  17782. public Ice.AsyncResult begin_removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  17783. {
  17784. return begin_removeContextCallback(cb, ctx__, true, cb__, cookie__);
  17785. }
  17786.  
  17787. private const string __removeContextCallback_name = "removeContextCallback";
  17788.  
  17789. public void end_removeContextCallback(Ice.AsyncResult r__)
  17790. {
  17791. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  17792. IceInternal.OutgoingAsync.check__(outAsync__, this, __removeContextCallback_name);
  17793. if (!outAsync__.wait__())
  17794. {
  17795. try
  17796. {
  17797. outAsync__.throwUserException__();
  17798. }
  17799. catch (Murmur.InvalidCallbackException)
  17800. {
  17801. throw;
  17802. }
  17803. catch (Murmur.InvalidSecretException)
  17804. {
  17805. throw;
  17806. }
  17807. catch (Murmur.ServerBootedException)
  17808. {
  17809. throw;
  17810. }
  17811. catch (Ice.UserException ex__)
  17812. {
  17813. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  17814. }
  17815. }
  17816. }
  17817.  
  17818. private Ice.AsyncResult<Murmur.Callback_Server_removeContextCallback> begin_removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  17819. {
  17820. checkAsyncTwowayOnly__(__removeContextCallback_name);
  17821. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_removeContextCallback> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_removeContextCallback>(this, __removeContextCallback_name, removeContextCallback_completed__, cookie__);
  17822. if (cb__ != null)
  17823. {
  17824. result__.whenCompletedWithAsyncCallback(cb__);
  17825. }
  17826. try
  17827. {
  17828. result__.prepare__(__removeContextCallback_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  17829. IceInternal.BasicStream os__ = result__.ostr__;
  17830. Murmur.ServerContextCallbackPrxHelper.write__(os__, cb);
  17831. os__.endWriteEncaps();
  17832. result__.send__(true);
  17833. }
  17834. catch (Ice.LocalException ex__)
  17835. {
  17836. result__.exceptionAsync__(ex__);
  17837. }
  17838. return result__;
  17839. }
  17840.  
  17841. private void removeContextCallback_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_removeContextCallback cb__, Ice.ExceptionCallback excb__)
  17842. {
  17843. try
  17844. {
  17845. end_removeContextCallback(r__);
  17846. }
  17847. catch (Ice.Exception ex__)
  17848. {
  17849. if (excb__ != null)
  17850. {
  17851. excb__(ex__);
  17852. }
  17853. return;
  17854. }
  17855. if (cb__ != null)
  17856. {
  17857. cb__();
  17858. }
  17859. }
  17860.  
  17861. public Ice.AsyncResult<Murmur.Callback_Server_removeUserFromGroup> begin_removeUserFromGroup(int channelid, int session, string group)
  17862. {
  17863. return begin_removeUserFromGroup(channelid, session, group, null, false, null, null);
  17864. }
  17865.  
  17866. /// <summary>
  17867. /// Remove a user from a temporary group membership on a channel.
  17868. /// This state is not saved, and is intended for temporary memberships.
  17869. /// </summary>
  17870. /// <param name="channelid">Channel ID of channel to add to. See Channel.id.
  17871. /// </param>
  17872. /// <param name="session">Connection ID of user. See User.session.
  17873. /// </param>
  17874. /// <param name="group">Group name to remove from.</param>
  17875. /// <param name="ctx__">The Context map to send with the invocation.</param>
  17876. public Ice.AsyncResult<Murmur.Callback_Server_removeUserFromGroup> begin_removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> ctx__)
  17877. {
  17878. return begin_removeUserFromGroup(channelid, session, group, ctx__, true, null, null);
  17879. }
  17880.  
  17881. public Ice.AsyncResult begin_removeUserFromGroup(int channelid, int session, string group, Ice.AsyncCallback cb__, object cookie__)
  17882. {
  17883. return begin_removeUserFromGroup(channelid, session, group, null, false, cb__, cookie__);
  17884. }
  17885.  
  17886. public Ice.AsyncResult begin_removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  17887. {
  17888. return begin_removeUserFromGroup(channelid, session, group, ctx__, true, cb__, cookie__);
  17889. }
  17890.  
  17891. private const string __removeUserFromGroup_name = "removeUserFromGroup";
  17892.  
  17893. public void end_removeUserFromGroup(Ice.AsyncResult r__)
  17894. {
  17895. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  17896. IceInternal.OutgoingAsync.check__(outAsync__, this, __removeUserFromGroup_name);
  17897. if (!outAsync__.wait__())
  17898. {
  17899. try
  17900. {
  17901. outAsync__.throwUserException__();
  17902. }
  17903. catch (Murmur.InvalidChannelException)
  17904. {
  17905. throw;
  17906. }
  17907. catch (Murmur.InvalidSecretException)
  17908. {
  17909. throw;
  17910. }
  17911. catch (Murmur.InvalidSessionException)
  17912. {
  17913. throw;
  17914. }
  17915. catch (Murmur.ServerBootedException)
  17916. {
  17917. throw;
  17918. }
  17919. catch (Ice.UserException ex__)
  17920. {
  17921. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  17922. }
  17923. }
  17924. }
  17925.  
  17926. private Ice.AsyncResult<Murmur.Callback_Server_removeUserFromGroup> begin_removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  17927. {
  17928. checkAsyncTwowayOnly__(__removeUserFromGroup_name);
  17929. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_removeUserFromGroup> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_removeUserFromGroup>(this, __removeUserFromGroup_name, removeUserFromGroup_completed__, cookie__);
  17930. if (cb__ != null)
  17931. {
  17932. result__.whenCompletedWithAsyncCallback(cb__);
  17933. }
  17934. try
  17935. {
  17936. result__.prepare__(__removeUserFromGroup_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  17937. IceInternal.BasicStream os__ = result__.ostr__;
  17938. os__.writeInt(channelid);
  17939. os__.writeInt(session);
  17940. os__.writeString(group);
  17941. os__.endWriteEncaps();
  17942. result__.send__(true);
  17943. }
  17944. catch (Ice.LocalException ex__)
  17945. {
  17946. result__.exceptionAsync__(ex__);
  17947. }
  17948. return result__;
  17949. }
  17950.  
  17951. private void removeUserFromGroup_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_removeUserFromGroup cb__, Ice.ExceptionCallback excb__)
  17952. {
  17953. try
  17954. {
  17955. end_removeUserFromGroup(r__);
  17956. }
  17957. catch (Ice.Exception ex__)
  17958. {
  17959. if (excb__ != null)
  17960. {
  17961. excb__(ex__);
  17962. }
  17963. return;
  17964. }
  17965. if (cb__ != null)
  17966. {
  17967. cb__();
  17968. }
  17969. }
  17970.  
  17971. public Ice.AsyncResult<Murmur.Callback_Server_sendMessage> begin_sendMessage(int session, string text)
  17972. {
  17973. return begin_sendMessage(session, text, null, false, null, null);
  17974. }
  17975.  
  17976. /// <summary>
  17977. /// Send text message to a single user.
  17978. /// </summary>
  17979. /// <param name="session">Connection ID of user. See User.session.
  17980. /// </param>
  17981. /// <param name="text">Message to send.
  17982. /// </param>
  17983. /// <param name="ctx__">The Context map to send with the invocation.</param>
  17984. public Ice.AsyncResult<Murmur.Callback_Server_sendMessage> begin_sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> ctx__)
  17985. {
  17986. return begin_sendMessage(session, text, ctx__, true, null, null);
  17987. }
  17988.  
  17989. public Ice.AsyncResult begin_sendMessage(int session, string text, Ice.AsyncCallback cb__, object cookie__)
  17990. {
  17991. return begin_sendMessage(session, text, null, false, cb__, cookie__);
  17992. }
  17993.  
  17994. public Ice.AsyncResult begin_sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  17995. {
  17996. return begin_sendMessage(session, text, ctx__, true, cb__, cookie__);
  17997. }
  17998.  
  17999. private const string __sendMessage_name = "sendMessage";
  18000.  
  18001. public void end_sendMessage(Ice.AsyncResult r__)
  18002. {
  18003. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  18004. IceInternal.OutgoingAsync.check__(outAsync__, this, __sendMessage_name);
  18005. if (!outAsync__.wait__())
  18006. {
  18007. try
  18008. {
  18009. outAsync__.throwUserException__();
  18010. }
  18011. catch (Murmur.InvalidSecretException)
  18012. {
  18013. throw;
  18014. }
  18015. catch (Murmur.InvalidSessionException)
  18016. {
  18017. throw;
  18018. }
  18019. catch (Murmur.ServerBootedException)
  18020. {
  18021. throw;
  18022. }
  18023. catch (Ice.UserException ex__)
  18024. {
  18025. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  18026. }
  18027. }
  18028. }
  18029.  
  18030. private Ice.AsyncResult<Murmur.Callback_Server_sendMessage> begin_sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  18031. {
  18032. checkAsyncTwowayOnly__(__sendMessage_name);
  18033. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_sendMessage> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_sendMessage>(this, __sendMessage_name, sendMessage_completed__, cookie__);
  18034. if (cb__ != null)
  18035. {
  18036. result__.whenCompletedWithAsyncCallback(cb__);
  18037. }
  18038. try
  18039. {
  18040. result__.prepare__(__sendMessage_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  18041. IceInternal.BasicStream os__ = result__.ostr__;
  18042. os__.writeInt(session);
  18043. os__.writeString(text);
  18044. os__.endWriteEncaps();
  18045. result__.send__(true);
  18046. }
  18047. catch (Ice.LocalException ex__)
  18048. {
  18049. result__.exceptionAsync__(ex__);
  18050. }
  18051. return result__;
  18052. }
  18053.  
  18054. private void sendMessage_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_sendMessage cb__, Ice.ExceptionCallback excb__)
  18055. {
  18056. try
  18057. {
  18058. end_sendMessage(r__);
  18059. }
  18060. catch (Ice.Exception ex__)
  18061. {
  18062. if (excb__ != null)
  18063. {
  18064. excb__(ex__);
  18065. }
  18066. return;
  18067. }
  18068. if (cb__ != null)
  18069. {
  18070. cb__();
  18071. }
  18072. }
  18073.  
  18074. public Ice.AsyncResult<Murmur.Callback_Server_sendMessageChannel> begin_sendMessageChannel(int channelid, bool tree, string text)
  18075. {
  18076. return begin_sendMessageChannel(channelid, tree, text, null, false, null, null);
  18077. }
  18078.  
  18079. /// <summary>
  18080. /// Send text message to channel or a tree of channels.
  18081. /// </summary>
  18082. /// <param name="channelid">Channel ID of channel to send to. See Channel.id.
  18083. /// </param>
  18084. /// <param name="tree">If true, the message will be sent to the channel and all its subchannels.
  18085. /// </param>
  18086. /// <param name="text">Message to send.
  18087. /// </param>
  18088. /// <param name="ctx__">The Context map to send with the invocation.</param>
  18089. public Ice.AsyncResult<Murmur.Callback_Server_sendMessageChannel> begin_sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> ctx__)
  18090. {
  18091. return begin_sendMessageChannel(channelid, tree, text, ctx__, true, null, null);
  18092. }
  18093.  
  18094. public Ice.AsyncResult begin_sendMessageChannel(int channelid, bool tree, string text, Ice.AsyncCallback cb__, object cookie__)
  18095. {
  18096. return begin_sendMessageChannel(channelid, tree, text, null, false, cb__, cookie__);
  18097. }
  18098.  
  18099. public Ice.AsyncResult begin_sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  18100. {
  18101. return begin_sendMessageChannel(channelid, tree, text, ctx__, true, cb__, cookie__);
  18102. }
  18103.  
  18104. private const string __sendMessageChannel_name = "sendMessageChannel";
  18105.  
  18106. public void end_sendMessageChannel(Ice.AsyncResult r__)
  18107. {
  18108. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  18109. IceInternal.OutgoingAsync.check__(outAsync__, this, __sendMessageChannel_name);
  18110. if (!outAsync__.wait__())
  18111. {
  18112. try
  18113. {
  18114. outAsync__.throwUserException__();
  18115. }
  18116. catch (Murmur.InvalidChannelException)
  18117. {
  18118. throw;
  18119. }
  18120. catch (Murmur.InvalidSecretException)
  18121. {
  18122. throw;
  18123. }
  18124. catch (Murmur.ServerBootedException)
  18125. {
  18126. throw;
  18127. }
  18128. catch (Ice.UserException ex__)
  18129. {
  18130. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  18131. }
  18132. }
  18133. }
  18134.  
  18135. private Ice.AsyncResult<Murmur.Callback_Server_sendMessageChannel> begin_sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  18136. {
  18137. checkAsyncTwowayOnly__(__sendMessageChannel_name);
  18138. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_sendMessageChannel> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_sendMessageChannel>(this, __sendMessageChannel_name, sendMessageChannel_completed__, cookie__);
  18139. if (cb__ != null)
  18140. {
  18141. result__.whenCompletedWithAsyncCallback(cb__);
  18142. }
  18143. try
  18144. {
  18145. result__.prepare__(__sendMessageChannel_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  18146. IceInternal.BasicStream os__ = result__.ostr__;
  18147. os__.writeInt(channelid);
  18148. os__.writeBool(tree);
  18149. os__.writeString(text);
  18150. os__.endWriteEncaps();
  18151. result__.send__(true);
  18152. }
  18153. catch (Ice.LocalException ex__)
  18154. {
  18155. result__.exceptionAsync__(ex__);
  18156. }
  18157. return result__;
  18158. }
  18159.  
  18160. private void sendMessageChannel_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_sendMessageChannel cb__, Ice.ExceptionCallback excb__)
  18161. {
  18162. try
  18163. {
  18164. end_sendMessageChannel(r__);
  18165. }
  18166. catch (Ice.Exception ex__)
  18167. {
  18168. if (excb__ != null)
  18169. {
  18170. excb__(ex__);
  18171. }
  18172. return;
  18173. }
  18174. if (cb__ != null)
  18175. {
  18176. cb__();
  18177. }
  18178. }
  18179.  
  18180. public Ice.AsyncResult<Murmur.Callback_Server_setACL> begin_setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit)
  18181. {
  18182. return begin_setACL(channelid, acls, groups, inherit, null, false, null, null);
  18183. }
  18184.  
  18185. /// <summary>
  18186. /// Set ACLs and Groups on a channel.
  18187. /// Note that this will replace all existing ACLs and groups on the channel.
  18188. /// </summary>
  18189. /// <param name="channelid">Channel ID of channel to fetch from. See Channel.id.
  18190. /// </param>
  18191. /// <param name="acls">List of ACLs on the channel.
  18192. /// </param>
  18193. /// <param name="groups">List of groups on the channel.
  18194. /// </param>
  18195. /// <param name="inherit">Should this channel inherit ACLs from the parent channel?</param>
  18196. /// <param name="ctx__">The Context map to send with the invocation.</param>
  18197. public Ice.AsyncResult<Murmur.Callback_Server_setACL> begin_setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> ctx__)
  18198. {
  18199. return begin_setACL(channelid, acls, groups, inherit, ctx__, true, null, null);
  18200. }
  18201.  
  18202. public Ice.AsyncResult begin_setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, Ice.AsyncCallback cb__, object cookie__)
  18203. {
  18204. return begin_setACL(channelid, acls, groups, inherit, null, false, cb__, cookie__);
  18205. }
  18206.  
  18207. public Ice.AsyncResult begin_setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  18208. {
  18209. return begin_setACL(channelid, acls, groups, inherit, ctx__, true, cb__, cookie__);
  18210. }
  18211.  
  18212. private const string __setACL_name = "setACL";
  18213.  
  18214. public void end_setACL(Ice.AsyncResult r__)
  18215. {
  18216. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  18217. IceInternal.OutgoingAsync.check__(outAsync__, this, __setACL_name);
  18218. if (!outAsync__.wait__())
  18219. {
  18220. try
  18221. {
  18222. outAsync__.throwUserException__();
  18223. }
  18224. catch (Murmur.InvalidChannelException)
  18225. {
  18226. throw;
  18227. }
  18228. catch (Murmur.InvalidSecretException)
  18229. {
  18230. throw;
  18231. }
  18232. catch (Murmur.ServerBootedException)
  18233. {
  18234. throw;
  18235. }
  18236. catch (Ice.UserException ex__)
  18237. {
  18238. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  18239. }
  18240. }
  18241. }
  18242.  
  18243. private Ice.AsyncResult<Murmur.Callback_Server_setACL> begin_setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  18244. {
  18245. checkAsyncTwowayOnly__(__setACL_name);
  18246. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setACL> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setACL>(this, __setACL_name, setACL_completed__, cookie__);
  18247. if (cb__ != null)
  18248. {
  18249. result__.whenCompletedWithAsyncCallback(cb__);
  18250. }
  18251. try
  18252. {
  18253. result__.prepare__(__setACL_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  18254. IceInternal.BasicStream os__ = result__.ostr__;
  18255. os__.writeInt(channelid);
  18256. if (acls == null)
  18257. {
  18258. os__.writeSize(0);
  18259. }
  18260. else
  18261. {
  18262. os__.writeSize(acls.Length);
  18263. for (int ix__ = 0; ix__ < acls.Length; ++ix__)
  18264. {
  18265. (acls[ix__] == null ? new Murmur.ACL() : acls[ix__]).write__(os__);
  18266. }
  18267. }
  18268. if (groups == null)
  18269. {
  18270. os__.writeSize(0);
  18271. }
  18272. else
  18273. {
  18274. os__.writeSize(groups.Length);
  18275. for (int ix__ = 0; ix__ < groups.Length; ++ix__)
  18276. {
  18277. (groups[ix__] == null ? new Murmur.Group() : groups[ix__]).write__(os__);
  18278. }
  18279. }
  18280. os__.writeBool(inherit);
  18281. os__.endWriteEncaps();
  18282. result__.send__(true);
  18283. }
  18284. catch (Ice.LocalException ex__)
  18285. {
  18286. result__.exceptionAsync__(ex__);
  18287. }
  18288. return result__;
  18289. }
  18290.  
  18291. private void setACL_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_setACL cb__, Ice.ExceptionCallback excb__)
  18292. {
  18293. try
  18294. {
  18295. end_setACL(r__);
  18296. }
  18297. catch (Ice.Exception ex__)
  18298. {
  18299. if (excb__ != null)
  18300. {
  18301. excb__(ex__);
  18302. }
  18303. return;
  18304. }
  18305. if (cb__ != null)
  18306. {
  18307. cb__();
  18308. }
  18309. }
  18310.  
  18311. public Ice.AsyncResult<Murmur.Callback_Server_setAuthenticator> begin_setAuthenticator(Murmur.ServerAuthenticatorPrx auth)
  18312. {
  18313. return begin_setAuthenticator(auth, null, false, null, null);
  18314. }
  18315.  
  18316. /// <summary>
  18317. /// Set external authenticator.
  18318. /// If set, all authentications from clients are forwarded to this
  18319. /// </summary>
  18320. /// <param name="auth">Authenticator object to perform subsequent authentications.</param>
  18321. /// <param name="ctx__">The Context map to send with the invocation.</param>
  18322. public Ice.AsyncResult<Murmur.Callback_Server_setAuthenticator> begin_setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> ctx__)
  18323. {
  18324. return begin_setAuthenticator(auth, ctx__, true, null, null);
  18325. }
  18326.  
  18327. public Ice.AsyncResult begin_setAuthenticator(Murmur.ServerAuthenticatorPrx auth, Ice.AsyncCallback cb__, object cookie__)
  18328. {
  18329. return begin_setAuthenticator(auth, null, false, cb__, cookie__);
  18330. }
  18331.  
  18332. public Ice.AsyncResult begin_setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  18333. {
  18334. return begin_setAuthenticator(auth, ctx__, true, cb__, cookie__);
  18335. }
  18336.  
  18337. private const string __setAuthenticator_name = "setAuthenticator";
  18338.  
  18339. public void end_setAuthenticator(Ice.AsyncResult r__)
  18340. {
  18341. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  18342. IceInternal.OutgoingAsync.check__(outAsync__, this, __setAuthenticator_name);
  18343. if (!outAsync__.wait__())
  18344. {
  18345. try
  18346. {
  18347. outAsync__.throwUserException__();
  18348. }
  18349. catch (Murmur.InvalidCallbackException)
  18350. {
  18351. throw;
  18352. }
  18353. catch (Murmur.InvalidSecretException)
  18354. {
  18355. throw;
  18356. }
  18357. catch (Murmur.ServerBootedException)
  18358. {
  18359. throw;
  18360. }
  18361. catch (Ice.UserException ex__)
  18362. {
  18363. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  18364. }
  18365. }
  18366. }
  18367.  
  18368. private Ice.AsyncResult<Murmur.Callback_Server_setAuthenticator> begin_setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  18369. {
  18370. checkAsyncTwowayOnly__(__setAuthenticator_name);
  18371. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setAuthenticator> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setAuthenticator>(this, __setAuthenticator_name, setAuthenticator_completed__, cookie__);
  18372. if (cb__ != null)
  18373. {
  18374. result__.whenCompletedWithAsyncCallback(cb__);
  18375. }
  18376. try
  18377. {
  18378. result__.prepare__(__setAuthenticator_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  18379. IceInternal.BasicStream os__ = result__.ostr__;
  18380. Murmur.ServerAuthenticatorPrxHelper.write__(os__, auth);
  18381. os__.endWriteEncaps();
  18382. result__.send__(true);
  18383. }
  18384. catch (Ice.LocalException ex__)
  18385. {
  18386. result__.exceptionAsync__(ex__);
  18387. }
  18388. return result__;
  18389. }
  18390.  
  18391. private void setAuthenticator_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_setAuthenticator cb__, Ice.ExceptionCallback excb__)
  18392. {
  18393. try
  18394. {
  18395. end_setAuthenticator(r__);
  18396. }
  18397. catch (Ice.Exception ex__)
  18398. {
  18399. if (excb__ != null)
  18400. {
  18401. excb__(ex__);
  18402. }
  18403. return;
  18404. }
  18405. if (cb__ != null)
  18406. {
  18407. cb__();
  18408. }
  18409. }
  18410.  
  18411. public Ice.AsyncResult<Murmur.Callback_Server_setBans> begin_setBans(Murmur.Ban[] bans)
  18412. {
  18413. return begin_setBans(bans, null, false, null, null);
  18414. }
  18415.  
  18416. /// <summary>
  18417. /// Set all current IP bans on the server.
  18418. /// This will replace any bans already present, so if you want to add a ban, be sure to call getBans and then
  18419. /// </summary>
  18420. /// <param name="bans">List of bans.</param>
  18421. /// <param name="ctx__">The Context map to send with the invocation.</param>
  18422. public Ice.AsyncResult<Murmur.Callback_Server_setBans> begin_setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> ctx__)
  18423. {
  18424. return begin_setBans(bans, ctx__, true, null, null);
  18425. }
  18426.  
  18427. public Ice.AsyncResult begin_setBans(Murmur.Ban[] bans, Ice.AsyncCallback cb__, object cookie__)
  18428. {
  18429. return begin_setBans(bans, null, false, cb__, cookie__);
  18430. }
  18431.  
  18432. public Ice.AsyncResult begin_setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  18433. {
  18434. return begin_setBans(bans, ctx__, true, cb__, cookie__);
  18435. }
  18436.  
  18437. private const string __setBans_name = "setBans";
  18438.  
  18439. public void end_setBans(Ice.AsyncResult r__)
  18440. {
  18441. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  18442. IceInternal.OutgoingAsync.check__(outAsync__, this, __setBans_name);
  18443. if (!outAsync__.wait__())
  18444. {
  18445. try
  18446. {
  18447. outAsync__.throwUserException__();
  18448. }
  18449. catch (Murmur.InvalidSecretException)
  18450. {
  18451. throw;
  18452. }
  18453. catch (Murmur.ServerBootedException)
  18454. {
  18455. throw;
  18456. }
  18457. catch (Ice.UserException ex__)
  18458. {
  18459. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  18460. }
  18461. }
  18462. }
  18463.  
  18464. private Ice.AsyncResult<Murmur.Callback_Server_setBans> begin_setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  18465. {
  18466. checkAsyncTwowayOnly__(__setBans_name);
  18467. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setBans> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setBans>(this, __setBans_name, setBans_completed__, cookie__);
  18468. if (cb__ != null)
  18469. {
  18470. result__.whenCompletedWithAsyncCallback(cb__);
  18471. }
  18472. try
  18473. {
  18474. result__.prepare__(__setBans_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  18475. IceInternal.BasicStream os__ = result__.ostr__;
  18476. if (bans == null)
  18477. {
  18478. os__.writeSize(0);
  18479. }
  18480. else
  18481. {
  18482. os__.writeSize(bans.Length);
  18483. for (int ix__ = 0; ix__ < bans.Length; ++ix__)
  18484. {
  18485. (bans[ix__] == null ? new Murmur.Ban() : bans[ix__]).write__(os__);
  18486. }
  18487. }
  18488. os__.endWriteEncaps();
  18489. result__.send__(true);
  18490. }
  18491. catch (Ice.LocalException ex__)
  18492. {
  18493. result__.exceptionAsync__(ex__);
  18494. }
  18495. return result__;
  18496. }
  18497.  
  18498. private void setBans_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_setBans cb__, Ice.ExceptionCallback excb__)
  18499. {
  18500. try
  18501. {
  18502. end_setBans(r__);
  18503. }
  18504. catch (Ice.Exception ex__)
  18505. {
  18506. if (excb__ != null)
  18507. {
  18508. excb__(ex__);
  18509. }
  18510. return;
  18511. }
  18512. if (cb__ != null)
  18513. {
  18514. cb__();
  18515. }
  18516. }
  18517.  
  18518. public Ice.AsyncResult<Murmur.Callback_Server_setChannelState> begin_setChannelState(Murmur.Channel state)
  18519. {
  18520. return begin_setChannelState(state, null, false, null, null);
  18521. }
  18522.  
  18523. /// <summary>
  18524. /// Set state of a single channel.
  18525. /// You can use this to move or relink channels.
  18526. /// </summary>
  18527. /// <param name="state">Channel state to set.
  18528. /// </param>
  18529. /// <param name="ctx__">The Context map to send with the invocation.</param>
  18530. public Ice.AsyncResult<Murmur.Callback_Server_setChannelState> begin_setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__)
  18531. {
  18532. return begin_setChannelState(state, ctx__, true, null, null);
  18533. }
  18534.  
  18535. public Ice.AsyncResult begin_setChannelState(Murmur.Channel state, Ice.AsyncCallback cb__, object cookie__)
  18536. {
  18537. return begin_setChannelState(state, null, false, cb__, cookie__);
  18538. }
  18539.  
  18540. public Ice.AsyncResult begin_setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  18541. {
  18542. return begin_setChannelState(state, ctx__, true, cb__, cookie__);
  18543. }
  18544.  
  18545. private const string __setChannelState_name = "setChannelState";
  18546.  
  18547. public void end_setChannelState(Ice.AsyncResult r__)
  18548. {
  18549. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  18550. IceInternal.OutgoingAsync.check__(outAsync__, this, __setChannelState_name);
  18551. if (!outAsync__.wait__())
  18552. {
  18553. try
  18554. {
  18555. outAsync__.throwUserException__();
  18556. }
  18557. catch (Murmur.InvalidChannelException)
  18558. {
  18559. throw;
  18560. }
  18561. catch (Murmur.InvalidSecretException)
  18562. {
  18563. throw;
  18564. }
  18565. catch (Murmur.NestingLimitException)
  18566. {
  18567. throw;
  18568. }
  18569. catch (Murmur.ServerBootedException)
  18570. {
  18571. throw;
  18572. }
  18573. catch (Ice.UserException ex__)
  18574. {
  18575. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  18576. }
  18577. }
  18578. }
  18579.  
  18580. private Ice.AsyncResult<Murmur.Callback_Server_setChannelState> begin_setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  18581. {
  18582. checkAsyncTwowayOnly__(__setChannelState_name);
  18583. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setChannelState> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setChannelState>(this, __setChannelState_name, setChannelState_completed__, cookie__);
  18584. if (cb__ != null)
  18585. {
  18586. result__.whenCompletedWithAsyncCallback(cb__);
  18587. }
  18588. try
  18589. {
  18590. result__.prepare__(__setChannelState_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  18591. IceInternal.BasicStream os__ = result__.ostr__;
  18592. if (state == null)
  18593. {
  18594. Murmur.Channel tmp__ = new Murmur.Channel();
  18595. tmp__.write__(os__);
  18596. }
  18597. else
  18598. {
  18599. state.write__(os__);
  18600. }
  18601. os__.endWriteEncaps();
  18602. result__.send__(true);
  18603. }
  18604. catch (Ice.LocalException ex__)
  18605. {
  18606. result__.exceptionAsync__(ex__);
  18607. }
  18608. return result__;
  18609. }
  18610.  
  18611. private void setChannelState_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_setChannelState cb__, Ice.ExceptionCallback excb__)
  18612. {
  18613. try
  18614. {
  18615. end_setChannelState(r__);
  18616. }
  18617. catch (Ice.Exception ex__)
  18618. {
  18619. if (excb__ != null)
  18620. {
  18621. excb__(ex__);
  18622. }
  18623. return;
  18624. }
  18625. if (cb__ != null)
  18626. {
  18627. cb__();
  18628. }
  18629. }
  18630.  
  18631. public Ice.AsyncResult<Murmur.Callback_Server_setConf> begin_setConf(string key, string value)
  18632. {
  18633. return begin_setConf(key, value, null, false, null, null);
  18634. }
  18635.  
  18636. /// <summary>
  18637. /// Set a configuration item.
  18638. /// </summary>
  18639. /// <param name="key">Configuration key.
  18640. /// </param>
  18641. /// <param name="value">Configuration value.</param>
  18642. /// <param name="ctx__">The Context map to send with the invocation.</param>
  18643. public Ice.AsyncResult<Murmur.Callback_Server_setConf> begin_setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> ctx__)
  18644. {
  18645. return begin_setConf(key, value, ctx__, true, null, null);
  18646. }
  18647.  
  18648. public Ice.AsyncResult begin_setConf(string key, string value, Ice.AsyncCallback cb__, object cookie__)
  18649. {
  18650. return begin_setConf(key, value, null, false, cb__, cookie__);
  18651. }
  18652.  
  18653. public Ice.AsyncResult begin_setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  18654. {
  18655. return begin_setConf(key, value, ctx__, true, cb__, cookie__);
  18656. }
  18657.  
  18658. private const string __setConf_name = "setConf";
  18659.  
  18660. public void end_setConf(Ice.AsyncResult r__)
  18661. {
  18662. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  18663. IceInternal.OutgoingAsync.check__(outAsync__, this, __setConf_name);
  18664. if (!outAsync__.wait__())
  18665. {
  18666. try
  18667. {
  18668. outAsync__.throwUserException__();
  18669. }
  18670. catch (Murmur.InvalidSecretException)
  18671. {
  18672. throw;
  18673. }
  18674. catch (Ice.UserException ex__)
  18675. {
  18676. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  18677. }
  18678. }
  18679. }
  18680.  
  18681. private Ice.AsyncResult<Murmur.Callback_Server_setConf> begin_setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  18682. {
  18683. checkAsyncTwowayOnly__(__setConf_name);
  18684. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setConf> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setConf>(this, __setConf_name, setConf_completed__, cookie__);
  18685. if (cb__ != null)
  18686. {
  18687. result__.whenCompletedWithAsyncCallback(cb__);
  18688. }
  18689. try
  18690. {
  18691. result__.prepare__(__setConf_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  18692. IceInternal.BasicStream os__ = result__.ostr__;
  18693. os__.writeString(key);
  18694. os__.writeString(value);
  18695. os__.endWriteEncaps();
  18696. result__.send__(true);
  18697. }
  18698. catch (Ice.LocalException ex__)
  18699. {
  18700. result__.exceptionAsync__(ex__);
  18701. }
  18702. return result__;
  18703. }
  18704.  
  18705. private void setConf_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_setConf cb__, Ice.ExceptionCallback excb__)
  18706. {
  18707. try
  18708. {
  18709. end_setConf(r__);
  18710. }
  18711. catch (Ice.Exception ex__)
  18712. {
  18713. if (excb__ != null)
  18714. {
  18715. excb__(ex__);
  18716. }
  18717. return;
  18718. }
  18719. if (cb__ != null)
  18720. {
  18721. cb__();
  18722. }
  18723. }
  18724.  
  18725. public Ice.AsyncResult<Murmur.Callback_Server_setState> begin_setState(Murmur.User state)
  18726. {
  18727. return begin_setState(state, null, false, null, null);
  18728. }
  18729.  
  18730. /// <summary>
  18731. /// Set user state.
  18732. /// You can use this to move, mute and deafen users.
  18733. /// </summary>
  18734. /// <param name="state">User state to set.
  18735. /// </param>
  18736. /// <param name="ctx__">The Context map to send with the invocation.</param>
  18737. public Ice.AsyncResult<Murmur.Callback_Server_setState> begin_setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__)
  18738. {
  18739. return begin_setState(state, ctx__, true, null, null);
  18740. }
  18741.  
  18742. public Ice.AsyncResult begin_setState(Murmur.User state, Ice.AsyncCallback cb__, object cookie__)
  18743. {
  18744. return begin_setState(state, null, false, cb__, cookie__);
  18745. }
  18746.  
  18747. public Ice.AsyncResult begin_setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  18748. {
  18749. return begin_setState(state, ctx__, true, cb__, cookie__);
  18750. }
  18751.  
  18752. private const string __setState_name = "setState";
  18753.  
  18754. public void end_setState(Ice.AsyncResult r__)
  18755. {
  18756. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  18757. IceInternal.OutgoingAsync.check__(outAsync__, this, __setState_name);
  18758. if (!outAsync__.wait__())
  18759. {
  18760. try
  18761. {
  18762. outAsync__.throwUserException__();
  18763. }
  18764. catch (Murmur.InvalidChannelException)
  18765. {
  18766. throw;
  18767. }
  18768. catch (Murmur.InvalidSecretException)
  18769. {
  18770. throw;
  18771. }
  18772. catch (Murmur.InvalidSessionException)
  18773. {
  18774. throw;
  18775. }
  18776. catch (Murmur.ServerBootedException)
  18777. {
  18778. throw;
  18779. }
  18780. catch (Ice.UserException ex__)
  18781. {
  18782. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  18783. }
  18784. }
  18785. }
  18786.  
  18787. private Ice.AsyncResult<Murmur.Callback_Server_setState> begin_setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  18788. {
  18789. checkAsyncTwowayOnly__(__setState_name);
  18790. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setState> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setState>(this, __setState_name, setState_completed__, cookie__);
  18791. if (cb__ != null)
  18792. {
  18793. result__.whenCompletedWithAsyncCallback(cb__);
  18794. }
  18795. try
  18796. {
  18797. result__.prepare__(__setState_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  18798. IceInternal.BasicStream os__ = result__.ostr__;
  18799. if (state == null)
  18800. {
  18801. Murmur.User tmp__ = new Murmur.User();
  18802. tmp__.write__(os__);
  18803. }
  18804. else
  18805. {
  18806. state.write__(os__);
  18807. }
  18808. os__.endWriteEncaps();
  18809. result__.send__(true);
  18810. }
  18811. catch (Ice.LocalException ex__)
  18812. {
  18813. result__.exceptionAsync__(ex__);
  18814. }
  18815. return result__;
  18816. }
  18817.  
  18818. private void setState_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_setState cb__, Ice.ExceptionCallback excb__)
  18819. {
  18820. try
  18821. {
  18822. end_setState(r__);
  18823. }
  18824. catch (Ice.Exception ex__)
  18825. {
  18826. if (excb__ != null)
  18827. {
  18828. excb__(ex__);
  18829. }
  18830. return;
  18831. }
  18832. if (cb__ != null)
  18833. {
  18834. cb__();
  18835. }
  18836. }
  18837.  
  18838. public Ice.AsyncResult<Murmur.Callback_Server_setSuperuserPassword> begin_setSuperuserPassword(string pw)
  18839. {
  18840. return begin_setSuperuserPassword(pw, null, false, null, null);
  18841. }
  18842.  
  18843. /// <summary>
  18844. /// Set superuser password.
  18845. /// This is just a convenience for using updateRegistration on user id 0.
  18846. /// </summary>
  18847. /// <param name="pw">Password.</param>
  18848. /// <param name="ctx__">The Context map to send with the invocation.</param>
  18849. public Ice.AsyncResult<Murmur.Callback_Server_setSuperuserPassword> begin_setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> ctx__)
  18850. {
  18851. return begin_setSuperuserPassword(pw, ctx__, true, null, null);
  18852. }
  18853.  
  18854. public Ice.AsyncResult begin_setSuperuserPassword(string pw, Ice.AsyncCallback cb__, object cookie__)
  18855. {
  18856. return begin_setSuperuserPassword(pw, null, false, cb__, cookie__);
  18857. }
  18858.  
  18859. public Ice.AsyncResult begin_setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  18860. {
  18861. return begin_setSuperuserPassword(pw, ctx__, true, cb__, cookie__);
  18862. }
  18863.  
  18864. private const string __setSuperuserPassword_name = "setSuperuserPassword";
  18865.  
  18866. public void end_setSuperuserPassword(Ice.AsyncResult r__)
  18867. {
  18868. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  18869. IceInternal.OutgoingAsync.check__(outAsync__, this, __setSuperuserPassword_name);
  18870. if (!outAsync__.wait__())
  18871. {
  18872. try
  18873. {
  18874. outAsync__.throwUserException__();
  18875. }
  18876. catch (Murmur.InvalidSecretException)
  18877. {
  18878. throw;
  18879. }
  18880. catch (Ice.UserException ex__)
  18881. {
  18882. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  18883. }
  18884. }
  18885. }
  18886.  
  18887. private Ice.AsyncResult<Murmur.Callback_Server_setSuperuserPassword> begin_setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  18888. {
  18889. checkAsyncTwowayOnly__(__setSuperuserPassword_name);
  18890. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setSuperuserPassword> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setSuperuserPassword>(this, __setSuperuserPassword_name, setSuperuserPassword_completed__, cookie__);
  18891. if (cb__ != null)
  18892. {
  18893. result__.whenCompletedWithAsyncCallback(cb__);
  18894. }
  18895. try
  18896. {
  18897. result__.prepare__(__setSuperuserPassword_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  18898. IceInternal.BasicStream os__ = result__.ostr__;
  18899. os__.writeString(pw);
  18900. os__.endWriteEncaps();
  18901. result__.send__(true);
  18902. }
  18903. catch (Ice.LocalException ex__)
  18904. {
  18905. result__.exceptionAsync__(ex__);
  18906. }
  18907. return result__;
  18908. }
  18909.  
  18910. private void setSuperuserPassword_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_setSuperuserPassword cb__, Ice.ExceptionCallback excb__)
  18911. {
  18912. try
  18913. {
  18914. end_setSuperuserPassword(r__);
  18915. }
  18916. catch (Ice.Exception ex__)
  18917. {
  18918. if (excb__ != null)
  18919. {
  18920. excb__(ex__);
  18921. }
  18922. return;
  18923. }
  18924. if (cb__ != null)
  18925. {
  18926. cb__();
  18927. }
  18928. }
  18929.  
  18930. public Ice.AsyncResult<Murmur.Callback_Server_setTexture> begin_setTexture(int userid, byte[] tex)
  18931. {
  18932. return begin_setTexture(userid, tex, null, false, null, null);
  18933. }
  18934.  
  18935. /// <summary>
  18936. /// Set a user texture (now called avatar).
  18937. /// </summary>
  18938. /// <param name="userid">ID of registered user. See RegisteredUser.userid.
  18939. /// </param>
  18940. /// <param name="tex">Texture (as a Byte-Array) to set for the user, or an empty texture to remove the existing texture.</param>
  18941. /// <param name="ctx__">The Context map to send with the invocation.</param>
  18942. public Ice.AsyncResult<Murmur.Callback_Server_setTexture> begin_setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> ctx__)
  18943. {
  18944. return begin_setTexture(userid, tex, ctx__, true, null, null);
  18945. }
  18946.  
  18947. public Ice.AsyncResult begin_setTexture(int userid, byte[] tex, Ice.AsyncCallback cb__, object cookie__)
  18948. {
  18949. return begin_setTexture(userid, tex, null, false, cb__, cookie__);
  18950. }
  18951.  
  18952. public Ice.AsyncResult begin_setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  18953. {
  18954. return begin_setTexture(userid, tex, ctx__, true, cb__, cookie__);
  18955. }
  18956.  
  18957. private const string __setTexture_name = "setTexture";
  18958.  
  18959. public void end_setTexture(Ice.AsyncResult r__)
  18960. {
  18961. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  18962. IceInternal.OutgoingAsync.check__(outAsync__, this, __setTexture_name);
  18963. if (!outAsync__.wait__())
  18964. {
  18965. try
  18966. {
  18967. outAsync__.throwUserException__();
  18968. }
  18969. catch (Murmur.InvalidSecretException)
  18970. {
  18971. throw;
  18972. }
  18973. catch (Murmur.InvalidTextureException)
  18974. {
  18975. throw;
  18976. }
  18977. catch (Murmur.InvalidUserException)
  18978. {
  18979. throw;
  18980. }
  18981. catch (Murmur.ServerBootedException)
  18982. {
  18983. throw;
  18984. }
  18985. catch (Ice.UserException ex__)
  18986. {
  18987. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  18988. }
  18989. }
  18990. }
  18991.  
  18992. private Ice.AsyncResult<Murmur.Callback_Server_setTexture> begin_setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  18993. {
  18994. checkAsyncTwowayOnly__(__setTexture_name);
  18995. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setTexture> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_setTexture>(this, __setTexture_name, setTexture_completed__, cookie__);
  18996. if (cb__ != null)
  18997. {
  18998. result__.whenCompletedWithAsyncCallback(cb__);
  18999. }
  19000. try
  19001. {
  19002. result__.prepare__(__setTexture_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  19003. IceInternal.BasicStream os__ = result__.ostr__;
  19004. os__.writeInt(userid);
  19005. os__.writeByteSeq(tex);
  19006. os__.endWriteEncaps();
  19007. result__.send__(true);
  19008. }
  19009. catch (Ice.LocalException ex__)
  19010. {
  19011. result__.exceptionAsync__(ex__);
  19012. }
  19013. return result__;
  19014. }
  19015.  
  19016. private void setTexture_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_setTexture cb__, Ice.ExceptionCallback excb__)
  19017. {
  19018. try
  19019. {
  19020. end_setTexture(r__);
  19021. }
  19022. catch (Ice.Exception ex__)
  19023. {
  19024. if (excb__ != null)
  19025. {
  19026. excb__(ex__);
  19027. }
  19028. return;
  19029. }
  19030. if (cb__ != null)
  19031. {
  19032. cb__();
  19033. }
  19034. }
  19035.  
  19036. public Ice.AsyncResult<Murmur.Callback_Server_start> begin_start()
  19037. {
  19038. return begin_start(null, false, null, null);
  19039. }
  19040.  
  19041. /// <summary>
  19042. /// Start server.
  19043. /// </summary>
  19044. /// <param name="ctx__">The Context map to send with the invocation.</param>
  19045. public Ice.AsyncResult<Murmur.Callback_Server_start> begin_start(_System.Collections.Generic.Dictionary<string, string> ctx__)
  19046. {
  19047. return begin_start(ctx__, true, null, null);
  19048. }
  19049.  
  19050. public Ice.AsyncResult begin_start(Ice.AsyncCallback cb__, object cookie__)
  19051. {
  19052. return begin_start(null, false, cb__, cookie__);
  19053. }
  19054.  
  19055. public Ice.AsyncResult begin_start(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  19056. {
  19057. return begin_start(ctx__, true, cb__, cookie__);
  19058. }
  19059.  
  19060. private const string __start_name = "start";
  19061.  
  19062. public void end_start(Ice.AsyncResult r__)
  19063. {
  19064. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  19065. IceInternal.OutgoingAsync.check__(outAsync__, this, __start_name);
  19066. if (!outAsync__.wait__())
  19067. {
  19068. try
  19069. {
  19070. outAsync__.throwUserException__();
  19071. }
  19072. catch (Murmur.InvalidSecretException)
  19073. {
  19074. throw;
  19075. }
  19076. catch (Murmur.ServerBootedException)
  19077. {
  19078. throw;
  19079. }
  19080. catch (Murmur.ServerFailureException)
  19081. {
  19082. throw;
  19083. }
  19084. catch (Ice.UserException ex__)
  19085. {
  19086. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  19087. }
  19088. }
  19089. }
  19090.  
  19091. private Ice.AsyncResult<Murmur.Callback_Server_start> begin_start(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  19092. {
  19093. checkAsyncTwowayOnly__(__start_name);
  19094. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_start> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_start>(this, __start_name, start_completed__, cookie__);
  19095. if (cb__ != null)
  19096. {
  19097. result__.whenCompletedWithAsyncCallback(cb__);
  19098. }
  19099. try
  19100. {
  19101. result__.prepare__(__start_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  19102. IceInternal.BasicStream os__ = result__.ostr__;
  19103. os__.endWriteEncaps();
  19104. result__.send__(true);
  19105. }
  19106. catch (Ice.LocalException ex__)
  19107. {
  19108. result__.exceptionAsync__(ex__);
  19109. }
  19110. return result__;
  19111. }
  19112.  
  19113. private void start_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_start cb__, Ice.ExceptionCallback excb__)
  19114. {
  19115. try
  19116. {
  19117. end_start(r__);
  19118. }
  19119. catch (Ice.Exception ex__)
  19120. {
  19121. if (excb__ != null)
  19122. {
  19123. excb__(ex__);
  19124. }
  19125. return;
  19126. }
  19127. if (cb__ != null)
  19128. {
  19129. cb__();
  19130. }
  19131. }
  19132.  
  19133. public Ice.AsyncResult<Murmur.Callback_Server_stop> begin_stop()
  19134. {
  19135. return begin_stop(null, false, null, null);
  19136. }
  19137.  
  19138. /// <summary>
  19139. /// Stop server.
  19140. /// Note: Server will be restarted on Murmur restart unless explicitly disabled
  19141. /// </summary>
  19142. /// <param name="ctx__">The Context map to send with the invocation.</param>
  19143. public Ice.AsyncResult<Murmur.Callback_Server_stop> begin_stop(_System.Collections.Generic.Dictionary<string, string> ctx__)
  19144. {
  19145. return begin_stop(ctx__, true, null, null);
  19146. }
  19147.  
  19148. public Ice.AsyncResult begin_stop(Ice.AsyncCallback cb__, object cookie__)
  19149. {
  19150. return begin_stop(null, false, cb__, cookie__);
  19151. }
  19152.  
  19153. public Ice.AsyncResult begin_stop(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  19154. {
  19155. return begin_stop(ctx__, true, cb__, cookie__);
  19156. }
  19157.  
  19158. private const string __stop_name = "stop";
  19159.  
  19160. public void end_stop(Ice.AsyncResult r__)
  19161. {
  19162. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  19163. IceInternal.OutgoingAsync.check__(outAsync__, this, __stop_name);
  19164. if (!outAsync__.wait__())
  19165. {
  19166. try
  19167. {
  19168. outAsync__.throwUserException__();
  19169. }
  19170. catch (Murmur.InvalidSecretException)
  19171. {
  19172. throw;
  19173. }
  19174. catch (Murmur.ServerBootedException)
  19175. {
  19176. throw;
  19177. }
  19178. catch (Ice.UserException ex__)
  19179. {
  19180. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  19181. }
  19182. }
  19183. }
  19184.  
  19185. private Ice.AsyncResult<Murmur.Callback_Server_stop> begin_stop(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  19186. {
  19187. checkAsyncTwowayOnly__(__stop_name);
  19188. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_stop> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_stop>(this, __stop_name, stop_completed__, cookie__);
  19189. if (cb__ != null)
  19190. {
  19191. result__.whenCompletedWithAsyncCallback(cb__);
  19192. }
  19193. try
  19194. {
  19195. result__.prepare__(__stop_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  19196. IceInternal.BasicStream os__ = result__.ostr__;
  19197. os__.endWriteEncaps();
  19198. result__.send__(true);
  19199. }
  19200. catch (Ice.LocalException ex__)
  19201. {
  19202. result__.exceptionAsync__(ex__);
  19203. }
  19204. return result__;
  19205. }
  19206.  
  19207. private void stop_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_stop cb__, Ice.ExceptionCallback excb__)
  19208. {
  19209. try
  19210. {
  19211. end_stop(r__);
  19212. }
  19213. catch (Ice.Exception ex__)
  19214. {
  19215. if (excb__ != null)
  19216. {
  19217. excb__(ex__);
  19218. }
  19219. return;
  19220. }
  19221. if (cb__ != null)
  19222. {
  19223. cb__();
  19224. }
  19225. }
  19226.  
  19227. public Ice.AsyncResult<Murmur.Callback_Server_unregisterUser> begin_unregisterUser(int userid)
  19228. {
  19229. return begin_unregisterUser(userid, null, false, null, null);
  19230. }
  19231.  
  19232. /// <summary>
  19233. /// Remove a user registration.
  19234. /// </summary>
  19235. /// <param name="userid">ID of registered user. See RegisteredUser.userid.</param>
  19236. /// <param name="ctx__">The Context map to send with the invocation.</param>
  19237. public Ice.AsyncResult<Murmur.Callback_Server_unregisterUser> begin_unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__)
  19238. {
  19239. return begin_unregisterUser(userid, ctx__, true, null, null);
  19240. }
  19241.  
  19242. public Ice.AsyncResult begin_unregisterUser(int userid, Ice.AsyncCallback cb__, object cookie__)
  19243. {
  19244. return begin_unregisterUser(userid, null, false, cb__, cookie__);
  19245. }
  19246.  
  19247. public Ice.AsyncResult begin_unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  19248. {
  19249. return begin_unregisterUser(userid, ctx__, true, cb__, cookie__);
  19250. }
  19251.  
  19252. private const string __unregisterUser_name = "unregisterUser";
  19253.  
  19254. public void end_unregisterUser(Ice.AsyncResult r__)
  19255. {
  19256. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  19257. IceInternal.OutgoingAsync.check__(outAsync__, this, __unregisterUser_name);
  19258. if (!outAsync__.wait__())
  19259. {
  19260. try
  19261. {
  19262. outAsync__.throwUserException__();
  19263. }
  19264. catch (Murmur.InvalidSecretException)
  19265. {
  19266. throw;
  19267. }
  19268. catch (Murmur.InvalidUserException)
  19269. {
  19270. throw;
  19271. }
  19272. catch (Murmur.ServerBootedException)
  19273. {
  19274. throw;
  19275. }
  19276. catch (Ice.UserException ex__)
  19277. {
  19278. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  19279. }
  19280. }
  19281. }
  19282.  
  19283. private Ice.AsyncResult<Murmur.Callback_Server_unregisterUser> begin_unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  19284. {
  19285. checkAsyncTwowayOnly__(__unregisterUser_name);
  19286. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_unregisterUser> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_unregisterUser>(this, __unregisterUser_name, unregisterUser_completed__, cookie__);
  19287. if (cb__ != null)
  19288. {
  19289. result__.whenCompletedWithAsyncCallback(cb__);
  19290. }
  19291. try
  19292. {
  19293. result__.prepare__(__unregisterUser_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  19294. IceInternal.BasicStream os__ = result__.ostr__;
  19295. os__.writeInt(userid);
  19296. os__.endWriteEncaps();
  19297. result__.send__(true);
  19298. }
  19299. catch (Ice.LocalException ex__)
  19300. {
  19301. result__.exceptionAsync__(ex__);
  19302. }
  19303. return result__;
  19304. }
  19305.  
  19306. private void unregisterUser_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_unregisterUser cb__, Ice.ExceptionCallback excb__)
  19307. {
  19308. try
  19309. {
  19310. end_unregisterUser(r__);
  19311. }
  19312. catch (Ice.Exception ex__)
  19313. {
  19314. if (excb__ != null)
  19315. {
  19316. excb__(ex__);
  19317. }
  19318. return;
  19319. }
  19320. if (cb__ != null)
  19321. {
  19322. cb__();
  19323. }
  19324. }
  19325.  
  19326. public Ice.AsyncResult<Murmur.Callback_Server_updateCertificate> begin_updateCertificate(string certificate, string privateKey, string passphrase)
  19327. {
  19328. return begin_updateCertificate(certificate, privateKey, passphrase, null, false, null, null);
  19329. }
  19330.  
  19331. /// <summary>
  19332. /// Update the server's certificate information.
  19333. /// Reconfigure the running server's TLS socket with the given
  19334. /// </summary>
  19335. /// <param name="ctx__">The Context map to send with the invocation.</param>
  19336. public Ice.AsyncResult<Murmur.Callback_Server_updateCertificate> begin_updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> ctx__)
  19337. {
  19338. return begin_updateCertificate(certificate, privateKey, passphrase, ctx__, true, null, null);
  19339. }
  19340.  
  19341. public Ice.AsyncResult begin_updateCertificate(string certificate, string privateKey, string passphrase, Ice.AsyncCallback cb__, object cookie__)
  19342. {
  19343. return begin_updateCertificate(certificate, privateKey, passphrase, null, false, cb__, cookie__);
  19344. }
  19345.  
  19346. public Ice.AsyncResult begin_updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  19347. {
  19348. return begin_updateCertificate(certificate, privateKey, passphrase, ctx__, true, cb__, cookie__);
  19349. }
  19350.  
  19351. private const string __updateCertificate_name = "updateCertificate";
  19352.  
  19353. public void end_updateCertificate(Ice.AsyncResult r__)
  19354. {
  19355. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  19356. IceInternal.OutgoingAsync.check__(outAsync__, this, __updateCertificate_name);
  19357. if (!outAsync__.wait__())
  19358. {
  19359. try
  19360. {
  19361. outAsync__.throwUserException__();
  19362. }
  19363. catch (Murmur.InvalidInputDataException)
  19364. {
  19365. throw;
  19366. }
  19367. catch (Murmur.InvalidSecretException)
  19368. {
  19369. throw;
  19370. }
  19371. catch (Murmur.ServerBootedException)
  19372. {
  19373. throw;
  19374. }
  19375. catch (Ice.UserException ex__)
  19376. {
  19377. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  19378. }
  19379. }
  19380. }
  19381.  
  19382. private Ice.AsyncResult<Murmur.Callback_Server_updateCertificate> begin_updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  19383. {
  19384. checkAsyncTwowayOnly__(__updateCertificate_name);
  19385. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_updateCertificate> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_updateCertificate>(this, __updateCertificate_name, updateCertificate_completed__, cookie__);
  19386. if (cb__ != null)
  19387. {
  19388. result__.whenCompletedWithAsyncCallback(cb__);
  19389. }
  19390. try
  19391. {
  19392. result__.prepare__(__updateCertificate_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  19393. IceInternal.BasicStream os__ = result__.ostr__;
  19394. os__.writeString(certificate);
  19395. os__.writeString(privateKey);
  19396. os__.writeString(passphrase);
  19397. os__.endWriteEncaps();
  19398. result__.send__(true);
  19399. }
  19400. catch (Ice.LocalException ex__)
  19401. {
  19402. result__.exceptionAsync__(ex__);
  19403. }
  19404. return result__;
  19405. }
  19406.  
  19407. private void updateCertificate_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_updateCertificate cb__, Ice.ExceptionCallback excb__)
  19408. {
  19409. try
  19410. {
  19411. end_updateCertificate(r__);
  19412. }
  19413. catch (Ice.Exception ex__)
  19414. {
  19415. if (excb__ != null)
  19416. {
  19417. excb__(ex__);
  19418. }
  19419. return;
  19420. }
  19421. if (cb__ != null)
  19422. {
  19423. cb__();
  19424. }
  19425. }
  19426.  
  19427. public Ice.AsyncResult<Murmur.Callback_Server_updateRegistration> begin_updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  19428. {
  19429. return begin_updateRegistration(userid, info, null, false, null, null);
  19430. }
  19431.  
  19432. /// <summary>
  19433. /// Update the registration for a user.
  19434. /// You can use this to set the email or password of a user,
  19435. /// </summary>
  19436. /// <param name="ctx__">The Context map to send with the invocation.</param>
  19437. public Ice.AsyncResult<Murmur.Callback_Server_updateRegistration> begin_updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__)
  19438. {
  19439. return begin_updateRegistration(userid, info, ctx__, true, null, null);
  19440. }
  19441.  
  19442. public Ice.AsyncResult begin_updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.AsyncCallback cb__, object cookie__)
  19443. {
  19444. return begin_updateRegistration(userid, info, null, false, cb__, cookie__);
  19445. }
  19446.  
  19447. public Ice.AsyncResult begin_updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  19448. {
  19449. return begin_updateRegistration(userid, info, ctx__, true, cb__, cookie__);
  19450. }
  19451.  
  19452. private const string __updateRegistration_name = "updateRegistration";
  19453.  
  19454. public void end_updateRegistration(Ice.AsyncResult r__)
  19455. {
  19456. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  19457. IceInternal.OutgoingAsync.check__(outAsync__, this, __updateRegistration_name);
  19458. if (!outAsync__.wait__())
  19459. {
  19460. try
  19461. {
  19462. outAsync__.throwUserException__();
  19463. }
  19464. catch (Murmur.InvalidSecretException)
  19465. {
  19466. throw;
  19467. }
  19468. catch (Murmur.InvalidUserException)
  19469. {
  19470. throw;
  19471. }
  19472. catch (Murmur.ServerBootedException)
  19473. {
  19474. throw;
  19475. }
  19476. catch (Ice.UserException ex__)
  19477. {
  19478. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  19479. }
  19480. }
  19481. }
  19482.  
  19483. private Ice.AsyncResult<Murmur.Callback_Server_updateRegistration> begin_updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  19484. {
  19485. checkAsyncTwowayOnly__(__updateRegistration_name);
  19486. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_updateRegistration> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_updateRegistration>(this, __updateRegistration_name, updateRegistration_completed__, cookie__);
  19487. if (cb__ != null)
  19488. {
  19489. result__.whenCompletedWithAsyncCallback(cb__);
  19490. }
  19491. try
  19492. {
  19493. result__.prepare__(__updateRegistration_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  19494. IceInternal.BasicStream os__ = result__.ostr__;
  19495. os__.writeInt(userid);
  19496. Murmur.UserInfoMapHelper.write(os__, info);
  19497. os__.endWriteEncaps();
  19498. result__.send__(true);
  19499. }
  19500. catch (Ice.LocalException ex__)
  19501. {
  19502. result__.exceptionAsync__(ex__);
  19503. }
  19504. return result__;
  19505. }
  19506.  
  19507. private void updateRegistration_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_updateRegistration cb__, Ice.ExceptionCallback excb__)
  19508. {
  19509. try
  19510. {
  19511. end_updateRegistration(r__);
  19512. }
  19513. catch (Ice.Exception ex__)
  19514. {
  19515. if (excb__ != null)
  19516. {
  19517. excb__(ex__);
  19518. }
  19519. return;
  19520. }
  19521. if (cb__ != null)
  19522. {
  19523. cb__();
  19524. }
  19525. }
  19526.  
  19527. public Ice.AsyncResult<Murmur.Callback_Server_verifyPassword> begin_verifyPassword(string name, string pw)
  19528. {
  19529. return begin_verifyPassword(name, pw, null, false, null, null);
  19530. }
  19531.  
  19532. /// <summary>
  19533. /// Verify the password of a user.
  19534. /// You can use this to verify a user's credentials.
  19535. /// </summary>
  19536. /// <param name="name">User name. See RegisteredUser.name.
  19537. /// </param>
  19538. /// <param name="pw">User password.
  19539. /// </param>
  19540. /// <param name="ctx__">The Context map to send with the invocation.</param>
  19541. public Ice.AsyncResult<Murmur.Callback_Server_verifyPassword> begin_verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> ctx__)
  19542. {
  19543. return begin_verifyPassword(name, pw, ctx__, true, null, null);
  19544. }
  19545.  
  19546. public Ice.AsyncResult begin_verifyPassword(string name, string pw, Ice.AsyncCallback cb__, object cookie__)
  19547. {
  19548. return begin_verifyPassword(name, pw, null, false, cb__, cookie__);
  19549. }
  19550.  
  19551. public Ice.AsyncResult begin_verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  19552. {
  19553. return begin_verifyPassword(name, pw, ctx__, true, cb__, cookie__);
  19554. }
  19555.  
  19556. private const string __verifyPassword_name = "verifyPassword";
  19557.  
  19558. public int end_verifyPassword(Ice.AsyncResult r__)
  19559. {
  19560. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  19561. IceInternal.OutgoingAsync.check__(outAsync__, this, __verifyPassword_name);
  19562. if (!outAsync__.wait__())
  19563. {
  19564. try
  19565. {
  19566. outAsync__.throwUserException__();
  19567. }
  19568. catch (Murmur.InvalidSecretException)
  19569. {
  19570. throw;
  19571. }
  19572. catch (Murmur.ServerBootedException)
  19573. {
  19574. throw;
  19575. }
  19576. catch (Ice.UserException ex__)
  19577. {
  19578. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  19579. }
  19580. }
  19581. int ret__;
  19582. IceInternal.BasicStream is__ = outAsync__.istr__;
  19583. is__.startReadEncaps();
  19584. ret__ = is__.readInt();
  19585. is__.endReadEncaps();
  19586. return ret__;
  19587. }
  19588.  
  19589. private Ice.AsyncResult<Murmur.Callback_Server_verifyPassword> begin_verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  19590. {
  19591. checkAsyncTwowayOnly__(__verifyPassword_name);
  19592. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_verifyPassword> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Server_verifyPassword>(this, __verifyPassword_name, verifyPassword_completed__, cookie__);
  19593. if (cb__ != null)
  19594. {
  19595. result__.whenCompletedWithAsyncCallback(cb__);
  19596. }
  19597. try
  19598. {
  19599. result__.prepare__(__verifyPassword_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  19600. IceInternal.BasicStream os__ = result__.ostr__;
  19601. os__.writeString(name);
  19602. os__.writeString(pw);
  19603. os__.endWriteEncaps();
  19604. result__.send__(true);
  19605. }
  19606. catch (Ice.LocalException ex__)
  19607. {
  19608. result__.exceptionAsync__(ex__);
  19609. }
  19610. return result__;
  19611. }
  19612.  
  19613. private void verifyPassword_completed__(Ice.AsyncResult r__, Murmur.Callback_Server_verifyPassword cb__, Ice.ExceptionCallback excb__)
  19614. {
  19615. int ret__;
  19616. try
  19617. {
  19618. ret__ = end_verifyPassword(r__);
  19619. }
  19620. catch (Ice.Exception ex__)
  19621. {
  19622. if (excb__ != null)
  19623. {
  19624. excb__(ex__);
  19625. }
  19626. return;
  19627. }
  19628. if (cb__ != null)
  19629. {
  19630. cb__(ret__);
  19631. }
  19632. }
  19633.  
  19634. #endregion
  19635.  
  19636. #region Checked and unchecked cast operations
  19637.  
  19638. public static ServerPrx checkedCast(Ice.ObjectPrx b)
  19639. {
  19640. if (b == null)
  19641. {
  19642. return null;
  19643. }
  19644. ServerPrx r = b as ServerPrx;
  19645. if ((r == null) && b.ice_isA(ice_staticId()))
  19646. {
  19647. ServerPrxHelper h = new ServerPrxHelper();
  19648. h.copyFrom__(b);
  19649. r = h;
  19650. }
  19651. return r;
  19652. }
  19653.  
  19654. public static ServerPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
  19655. {
  19656. if (b == null)
  19657. {
  19658. return null;
  19659. }
  19660. ServerPrx r = b as ServerPrx;
  19661. if ((r == null) && b.ice_isA(ice_staticId(), ctx))
  19662. {
  19663. ServerPrxHelper h = new ServerPrxHelper();
  19664. h.copyFrom__(b);
  19665. r = h;
  19666. }
  19667. return r;
  19668. }
  19669.  
  19670. public static ServerPrx checkedCast(Ice.ObjectPrx b, string f)
  19671. {
  19672. if (b == null)
  19673. {
  19674. return null;
  19675. }
  19676. Ice.ObjectPrx bb = b.ice_facet(f);
  19677. try
  19678. {
  19679. if (bb.ice_isA(ice_staticId()))
  19680. {
  19681. ServerPrxHelper h = new ServerPrxHelper();
  19682. h.copyFrom__(bb);
  19683. return h;
  19684. }
  19685. }
  19686. catch (Ice.FacetNotExistException)
  19687. {
  19688. }
  19689. return null;
  19690. }
  19691.  
  19692. public static ServerPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
  19693. {
  19694. if (b == null)
  19695. {
  19696. return null;
  19697. }
  19698. Ice.ObjectPrx bb = b.ice_facet(f);
  19699. try
  19700. {
  19701. if (bb.ice_isA(ice_staticId(), ctx))
  19702. {
  19703. ServerPrxHelper h = new ServerPrxHelper();
  19704. h.copyFrom__(bb);
  19705. return h;
  19706. }
  19707. }
  19708. catch (Ice.FacetNotExistException)
  19709. {
  19710. }
  19711. return null;
  19712. }
  19713.  
  19714. public static ServerPrx uncheckedCast(Ice.ObjectPrx b)
  19715. {
  19716. if (b == null)
  19717. {
  19718. return null;
  19719. }
  19720. ServerPrx r = b as ServerPrx;
  19721. if (r == null)
  19722. {
  19723. ServerPrxHelper h = new ServerPrxHelper();
  19724. h.copyFrom__(b);
  19725. r = h;
  19726. }
  19727. return r;
  19728. }
  19729.  
  19730. public static ServerPrx uncheckedCast(Ice.ObjectPrx b, string f)
  19731. {
  19732. if (b == null)
  19733. {
  19734. return null;
  19735. }
  19736. Ice.ObjectPrx bb = b.ice_facet(f);
  19737. ServerPrxHelper h = new ServerPrxHelper();
  19738. h.copyFrom__(bb);
  19739. return h;
  19740. }
  19741.  
  19742. public static readonly string[] ids__ =
  19743. {
  19744. "::Ice::Object",
  19745. "::Murmur::Server"
  19746. };
  19747.  
  19748. public static string ice_staticId()
  19749. {
  19750. return ids__[1];
  19751. }
  19752.  
  19753. #endregion
  19754.  
  19755. #region Marshaling support
  19756.  
  19757. protected override Ice.ObjectDelM_ createDelegateM__()
  19758. {
  19759. return new ServerDelM_();
  19760. }
  19761.  
  19762. protected override Ice.ObjectDelD_ createDelegateD__()
  19763. {
  19764. return new ServerDelD_();
  19765. }
  19766.  
  19767. public static void write__(IceInternal.BasicStream os__, ServerPrx v__)
  19768. {
  19769. os__.writeProxy(v__);
  19770. }
  19771.  
  19772. public static ServerPrx read__(IceInternal.BasicStream is__)
  19773. {
  19774. Ice.ObjectPrx proxy = is__.readProxy();
  19775. if (proxy != null)
  19776. {
  19777. ServerPrxHelper result = new ServerPrxHelper();
  19778. result.copyFrom__(proxy);
  19779. return result;
  19780. }
  19781. return null;
  19782. }
  19783.  
  19784. #endregion
  19785. }
  19786.  
  19787. /// <summary>
  19788. /// Callback interface for Meta.
  19789. /// You can supply an implementation of this to receive notifications
  19790. /// when servers are stopped or started.
  19791. /// If an added callback ever throws an exception or goes away, it will be automatically removed.
  19792. /// Please note that all callbacks are done asynchronously; murmur does not wait for the callback to
  19793. /// complete before continuing processing.
  19794. /// </summary>
  19795.  
  19796. [_System.Runtime.InteropServices.ComVisible(false)]
  19797. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  19798. public sealed class MetaCallbackPrxHelper : Ice.ObjectPrxHelperBase, MetaCallbackPrx
  19799. {
  19800. #region Synchronous operations
  19801.  
  19802. /// <summary>
  19803. /// Called when a server is started.
  19804. /// The server is up and running when this event is sent, so all methods that
  19805. /// need a running server will work.
  19806. /// </summary>
  19807. /// <param name="srv">Interface for started server.</param>
  19808.  
  19809. public void started(Murmur.ServerPrx srv)
  19810. {
  19811. started(srv, null, false);
  19812. }
  19813.  
  19814. /// <summary>
  19815. /// Called when a server is started.
  19816. /// The server is up and running when this event is sent, so all methods that
  19817. /// need a running server will work.
  19818. /// </summary>
  19819. /// <param name="srv">Interface for started server.</param>
  19820. /// <param name="context__">The Context map to send with the invocation.</param>
  19821.  
  19822. public void started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__)
  19823. {
  19824. started(srv, context__, true);
  19825. }
  19826.  
  19827. private void started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  19828. {
  19829. if (explicitContext__ && context__ == null)
  19830. {
  19831. context__ = emptyContext_;
  19832. }
  19833. int cnt__ = 0;
  19834. while (true)
  19835. {
  19836. Ice.ObjectDel_ delBase__ = null;
  19837. try
  19838. {
  19839. delBase__ = getDelegate__(false);
  19840. MetaCallbackDel_ del__ = (MetaCallbackDel_)delBase__;
  19841. del__.started(srv, context__);
  19842. return;
  19843. }
  19844. catch (IceInternal.LocalExceptionWrapper ex__)
  19845. {
  19846. handleExceptionWrapper__(delBase__, ex__);
  19847. }
  19848. catch (Ice.LocalException ex__)
  19849. {
  19850. handleException__(delBase__, ex__, true, ref cnt__);
  19851. }
  19852. }
  19853. }
  19854.  
  19855. /// <summary>
  19856. /// Called when a server is stopped.
  19857. /// The server is already stopped when this event is sent, so no methods that
  19858. /// need a running server will work.
  19859. /// </summary>
  19860. /// <param name="srv">Interface for started server.</param>
  19861.  
  19862. public void stopped(Murmur.ServerPrx srv)
  19863. {
  19864. stopped(srv, null, false);
  19865. }
  19866.  
  19867. /// <summary>
  19868. /// Called when a server is stopped.
  19869. /// The server is already stopped when this event is sent, so no methods that
  19870. /// need a running server will work.
  19871. /// </summary>
  19872. /// <param name="srv">Interface for started server.</param>
  19873. /// <param name="context__">The Context map to send with the invocation.</param>
  19874.  
  19875. public void stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__)
  19876. {
  19877. stopped(srv, context__, true);
  19878. }
  19879.  
  19880. private void stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  19881. {
  19882. if (explicitContext__ && context__ == null)
  19883. {
  19884. context__ = emptyContext_;
  19885. }
  19886. int cnt__ = 0;
  19887. while (true)
  19888. {
  19889. Ice.ObjectDel_ delBase__ = null;
  19890. try
  19891. {
  19892. delBase__ = getDelegate__(false);
  19893. MetaCallbackDel_ del__ = (MetaCallbackDel_)delBase__;
  19894. del__.stopped(srv, context__);
  19895. return;
  19896. }
  19897. catch (IceInternal.LocalExceptionWrapper ex__)
  19898. {
  19899. handleExceptionWrapper__(delBase__, ex__);
  19900. }
  19901. catch (Ice.LocalException ex__)
  19902. {
  19903. handleException__(delBase__, ex__, true, ref cnt__);
  19904. }
  19905. }
  19906. }
  19907.  
  19908. #endregion
  19909.  
  19910. #region Asynchronous operations
  19911.  
  19912. public Ice.AsyncResult<Murmur.Callback_MetaCallback_started> begin_started(Murmur.ServerPrx srv)
  19913. {
  19914. return begin_started(srv, null, false, null, null);
  19915. }
  19916.  
  19917. /// <summary>
  19918. /// Called when a server is started.
  19919. /// The server is up and running when this event is sent, so all methods that
  19920. /// </summary>
  19921. /// <param name="srv">Interface for started server.</param>
  19922. /// <param name="ctx__">The Context map to send with the invocation.</param>
  19923. public Ice.AsyncResult<Murmur.Callback_MetaCallback_started> begin_started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> ctx__)
  19924. {
  19925. return begin_started(srv, ctx__, true, null, null);
  19926. }
  19927.  
  19928. public Ice.AsyncResult begin_started(Murmur.ServerPrx srv, Ice.AsyncCallback cb__, object cookie__)
  19929. {
  19930. return begin_started(srv, null, false, cb__, cookie__);
  19931. }
  19932.  
  19933. public Ice.AsyncResult begin_started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  19934. {
  19935. return begin_started(srv, ctx__, true, cb__, cookie__);
  19936. }
  19937.  
  19938. private const string __started_name = "started";
  19939.  
  19940. public void end_started(Ice.AsyncResult r__)
  19941. {
  19942. end__(r__, __started_name);
  19943. }
  19944.  
  19945. private Ice.AsyncResult<Murmur.Callback_MetaCallback_started> begin_started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  19946. {
  19947. IceInternal.OnewayOutgoingAsync<Murmur.Callback_MetaCallback_started> result__ = new IceInternal.OnewayOutgoingAsync<Murmur.Callback_MetaCallback_started>(this, __started_name, started_completed__, cookie__);
  19948. if (cb__ != null)
  19949. {
  19950. result__.whenCompletedWithAsyncCallback(cb__);
  19951. }
  19952. try
  19953. {
  19954. result__.prepare__(__started_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  19955. IceInternal.BasicStream os__ = result__.ostr__;
  19956. Murmur.ServerPrxHelper.write__(os__, srv);
  19957. os__.endWriteEncaps();
  19958. result__.send__(true);
  19959. }
  19960. catch (Ice.LocalException ex__)
  19961. {
  19962. result__.exceptionAsync__(ex__);
  19963. }
  19964. return result__;
  19965. }
  19966.  
  19967. private void started_completed__(Murmur.Callback_MetaCallback_started cb__)
  19968. {
  19969. if (cb__ != null)
  19970. {
  19971. cb__();
  19972. }
  19973. }
  19974.  
  19975. public Ice.AsyncResult<Murmur.Callback_MetaCallback_stopped> begin_stopped(Murmur.ServerPrx srv)
  19976. {
  19977. return begin_stopped(srv, null, false, null, null);
  19978. }
  19979.  
  19980. /// <summary>
  19981. /// Called when a server is stopped.
  19982. /// The server is already stopped when this event is sent, so no methods that
  19983. /// </summary>
  19984. /// <param name="srv">Interface for started server.</param>
  19985. /// <param name="ctx__">The Context map to send with the invocation.</param>
  19986. public Ice.AsyncResult<Murmur.Callback_MetaCallback_stopped> begin_stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> ctx__)
  19987. {
  19988. return begin_stopped(srv, ctx__, true, null, null);
  19989. }
  19990.  
  19991. public Ice.AsyncResult begin_stopped(Murmur.ServerPrx srv, Ice.AsyncCallback cb__, object cookie__)
  19992. {
  19993. return begin_stopped(srv, null, false, cb__, cookie__);
  19994. }
  19995.  
  19996. public Ice.AsyncResult begin_stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  19997. {
  19998. return begin_stopped(srv, ctx__, true, cb__, cookie__);
  19999. }
  20000.  
  20001. private const string __stopped_name = "stopped";
  20002.  
  20003. public void end_stopped(Ice.AsyncResult r__)
  20004. {
  20005. end__(r__, __stopped_name);
  20006. }
  20007.  
  20008. private Ice.AsyncResult<Murmur.Callback_MetaCallback_stopped> begin_stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  20009. {
  20010. IceInternal.OnewayOutgoingAsync<Murmur.Callback_MetaCallback_stopped> result__ = new IceInternal.OnewayOutgoingAsync<Murmur.Callback_MetaCallback_stopped>(this, __stopped_name, stopped_completed__, cookie__);
  20011. if (cb__ != null)
  20012. {
  20013. result__.whenCompletedWithAsyncCallback(cb__);
  20014. }
  20015. try
  20016. {
  20017. result__.prepare__(__stopped_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  20018. IceInternal.BasicStream os__ = result__.ostr__;
  20019. Murmur.ServerPrxHelper.write__(os__, srv);
  20020. os__.endWriteEncaps();
  20021. result__.send__(true);
  20022. }
  20023. catch (Ice.LocalException ex__)
  20024. {
  20025. result__.exceptionAsync__(ex__);
  20026. }
  20027. return result__;
  20028. }
  20029.  
  20030. private void stopped_completed__(Murmur.Callback_MetaCallback_stopped cb__)
  20031. {
  20032. if (cb__ != null)
  20033. {
  20034. cb__();
  20035. }
  20036. }
  20037.  
  20038. #endregion
  20039.  
  20040. #region Checked and unchecked cast operations
  20041.  
  20042. public static MetaCallbackPrx checkedCast(Ice.ObjectPrx b)
  20043. {
  20044. if (b == null)
  20045. {
  20046. return null;
  20047. }
  20048. MetaCallbackPrx r = b as MetaCallbackPrx;
  20049. if ((r == null) && b.ice_isA(ice_staticId()))
  20050. {
  20051. MetaCallbackPrxHelper h = new MetaCallbackPrxHelper();
  20052. h.copyFrom__(b);
  20053. r = h;
  20054. }
  20055. return r;
  20056. }
  20057.  
  20058. public static MetaCallbackPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
  20059. {
  20060. if (b == null)
  20061. {
  20062. return null;
  20063. }
  20064. MetaCallbackPrx r = b as MetaCallbackPrx;
  20065. if ((r == null) && b.ice_isA(ice_staticId(), ctx))
  20066. {
  20067. MetaCallbackPrxHelper h = new MetaCallbackPrxHelper();
  20068. h.copyFrom__(b);
  20069. r = h;
  20070. }
  20071. return r;
  20072. }
  20073.  
  20074. public static MetaCallbackPrx checkedCast(Ice.ObjectPrx b, string f)
  20075. {
  20076. if (b == null)
  20077. {
  20078. return null;
  20079. }
  20080. Ice.ObjectPrx bb = b.ice_facet(f);
  20081. try
  20082. {
  20083. if (bb.ice_isA(ice_staticId()))
  20084. {
  20085. MetaCallbackPrxHelper h = new MetaCallbackPrxHelper();
  20086. h.copyFrom__(bb);
  20087. return h;
  20088. }
  20089. }
  20090. catch (Ice.FacetNotExistException)
  20091. {
  20092. }
  20093. return null;
  20094. }
  20095.  
  20096. public static MetaCallbackPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
  20097. {
  20098. if (b == null)
  20099. {
  20100. return null;
  20101. }
  20102. Ice.ObjectPrx bb = b.ice_facet(f);
  20103. try
  20104. {
  20105. if (bb.ice_isA(ice_staticId(), ctx))
  20106. {
  20107. MetaCallbackPrxHelper h = new MetaCallbackPrxHelper();
  20108. h.copyFrom__(bb);
  20109. return h;
  20110. }
  20111. }
  20112. catch (Ice.FacetNotExistException)
  20113. {
  20114. }
  20115. return null;
  20116. }
  20117.  
  20118. public static MetaCallbackPrx uncheckedCast(Ice.ObjectPrx b)
  20119. {
  20120. if (b == null)
  20121. {
  20122. return null;
  20123. }
  20124. MetaCallbackPrx r = b as MetaCallbackPrx;
  20125. if (r == null)
  20126. {
  20127. MetaCallbackPrxHelper h = new MetaCallbackPrxHelper();
  20128. h.copyFrom__(b);
  20129. r = h;
  20130. }
  20131. return r;
  20132. }
  20133.  
  20134. public static MetaCallbackPrx uncheckedCast(Ice.ObjectPrx b, string f)
  20135. {
  20136. if (b == null)
  20137. {
  20138. return null;
  20139. }
  20140. Ice.ObjectPrx bb = b.ice_facet(f);
  20141. MetaCallbackPrxHelper h = new MetaCallbackPrxHelper();
  20142. h.copyFrom__(bb);
  20143. return h;
  20144. }
  20145.  
  20146. public static readonly string[] ids__ =
  20147. {
  20148. "::Ice::Object",
  20149. "::Murmur::MetaCallback"
  20150. };
  20151.  
  20152. public static string ice_staticId()
  20153. {
  20154. return ids__[1];
  20155. }
  20156.  
  20157. #endregion
  20158.  
  20159. #region Marshaling support
  20160.  
  20161. protected override Ice.ObjectDelM_ createDelegateM__()
  20162. {
  20163. return new MetaCallbackDelM_();
  20164. }
  20165.  
  20166. protected override Ice.ObjectDelD_ createDelegateD__()
  20167. {
  20168. return new MetaCallbackDelD_();
  20169. }
  20170.  
  20171. public static void write__(IceInternal.BasicStream os__, MetaCallbackPrx v__)
  20172. {
  20173. os__.writeProxy(v__);
  20174. }
  20175.  
  20176. public static MetaCallbackPrx read__(IceInternal.BasicStream is__)
  20177. {
  20178. Ice.ObjectPrx proxy = is__.readProxy();
  20179. if (proxy != null)
  20180. {
  20181. MetaCallbackPrxHelper result = new MetaCallbackPrxHelper();
  20182. result.copyFrom__(proxy);
  20183. return result;
  20184. }
  20185. return null;
  20186. }
  20187.  
  20188. #endregion
  20189. }
  20190.  
  20191. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  20192. public sealed class ServerListHelper
  20193. {
  20194. public static void write(IceInternal.BasicStream os__, Murmur.ServerPrx[] v__)
  20195. {
  20196. if (v__ == null)
  20197. {
  20198. os__.writeSize(0);
  20199. }
  20200. else
  20201. {
  20202. os__.writeSize(v__.Length);
  20203. for (int ix__ = 0; ix__ < v__.Length; ++ix__)
  20204. {
  20205. Murmur.ServerPrxHelper.write__(os__, v__[ix__]);
  20206. }
  20207. }
  20208. }
  20209.  
  20210. public static Murmur.ServerPrx[] read(IceInternal.BasicStream is__)
  20211. {
  20212. Murmur.ServerPrx[] v__;
  20213. {
  20214. int szx__ = is__.readAndCheckSeqSize(2);
  20215. v__ = new Murmur.ServerPrx[szx__];
  20216. for (int ix__ = 0; ix__ < szx__; ++ix__)
  20217. {
  20218. v__[ix__] = Murmur.ServerPrxHelper.read__(is__);
  20219. }
  20220. }
  20221. return v__;
  20222. }
  20223. }
  20224.  
  20225. /// <summary>
  20226. /// This is the meta interface.
  20227. /// It is primarily used for retrieving the Server interfaces for each individual server.
  20228. /// </summary>
  20229.  
  20230. [_System.Runtime.InteropServices.ComVisible(false)]
  20231. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  20232. public sealed class MetaPrxHelper : Ice.ObjectPrxHelperBase, MetaPrx
  20233. {
  20234. #region Synchronous operations
  20235.  
  20236. /// <summary>
  20237. /// Add a callback.
  20238. /// The callback will receive notifications when servers are started or stopped.
  20239. ///
  20240. /// </summary>
  20241. /// <param name="cb">Callback interface which will receive notifications.</param>
  20242.  
  20243. public void addCallback(Murmur.MetaCallbackPrx cb)
  20244. {
  20245. addCallback(cb, null, false);
  20246. }
  20247.  
  20248. /// <summary>
  20249. /// Add a callback.
  20250. /// The callback will receive notifications when servers are started or stopped.
  20251. ///
  20252. /// </summary>
  20253. /// <param name="cb">Callback interface which will receive notifications.</param>
  20254. /// <param name="context__">The Context map to send with the invocation.</param>
  20255.  
  20256. public void addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  20257. {
  20258. addCallback(cb, context__, true);
  20259. }
  20260.  
  20261. private void addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20262. {
  20263. if (explicitContext__ && context__ == null)
  20264. {
  20265. context__ = emptyContext_;
  20266. }
  20267. int cnt__ = 0;
  20268. while (true)
  20269. {
  20270. Ice.ObjectDel_ delBase__ = null;
  20271. try
  20272. {
  20273. checkTwowayOnly__("addCallback");
  20274. delBase__ = getDelegate__(false);
  20275. MetaDel_ del__ = (MetaDel_)delBase__;
  20276. del__.addCallback(cb, context__);
  20277. return;
  20278. }
  20279. catch (IceInternal.LocalExceptionWrapper ex__)
  20280. {
  20281. handleExceptionWrapper__(delBase__, ex__);
  20282. }
  20283. catch (Ice.LocalException ex__)
  20284. {
  20285. handleException__(delBase__, ex__, true, ref cnt__);
  20286. }
  20287. }
  20288. }
  20289.  
  20290. /// <summary>
  20291. /// Fetch list of all defined servers.
  20292. /// </summary>
  20293. /// <returns>List of interfaces for all servers.</returns>
  20294.  
  20295. public Murmur.ServerPrx[] getAllServers()
  20296. {
  20297. return getAllServers(null, false);
  20298. }
  20299.  
  20300. /// <summary>
  20301. /// Fetch list of all defined servers.
  20302. /// </summary>
  20303. /// <returns>List of interfaces for all servers.</returns>
  20304. /// <param name="context__">The Context map to send with the invocation.</param>
  20305.  
  20306. public Murmur.ServerPrx[] getAllServers(_System.Collections.Generic.Dictionary<string, string> context__)
  20307. {
  20308. return getAllServers(context__, true);
  20309. }
  20310.  
  20311. private Murmur.ServerPrx[] getAllServers(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20312. {
  20313. if (explicitContext__ && context__ == null)
  20314. {
  20315. context__ = emptyContext_;
  20316. }
  20317. int cnt__ = 0;
  20318. while (true)
  20319. {
  20320. Ice.ObjectDel_ delBase__ = null;
  20321. try
  20322. {
  20323. checkTwowayOnly__("getAllServers");
  20324. delBase__ = getDelegate__(false);
  20325. MetaDel_ del__ = (MetaDel_)delBase__;
  20326. return del__.getAllServers(context__);
  20327. }
  20328. catch (IceInternal.LocalExceptionWrapper ex__)
  20329. {
  20330. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  20331. }
  20332. catch (Ice.LocalException ex__)
  20333. {
  20334. handleException__(delBase__, ex__, true, ref cnt__);
  20335. }
  20336. }
  20337. }
  20338.  
  20339. /// <summary>
  20340. /// Fetch list of all currently running servers.
  20341. /// </summary>
  20342. /// <returns>List of interfaces for running servers.</returns>
  20343.  
  20344. public Murmur.ServerPrx[] getBootedServers()
  20345. {
  20346. return getBootedServers(null, false);
  20347. }
  20348.  
  20349. /// <summary>
  20350. /// Fetch list of all currently running servers.
  20351. /// </summary>
  20352. /// <returns>List of interfaces for running servers.</returns>
  20353. /// <param name="context__">The Context map to send with the invocation.</param>
  20354.  
  20355. public Murmur.ServerPrx[] getBootedServers(_System.Collections.Generic.Dictionary<string, string> context__)
  20356. {
  20357. return getBootedServers(context__, true);
  20358. }
  20359.  
  20360. private Murmur.ServerPrx[] getBootedServers(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20361. {
  20362. if (explicitContext__ && context__ == null)
  20363. {
  20364. context__ = emptyContext_;
  20365. }
  20366. int cnt__ = 0;
  20367. while (true)
  20368. {
  20369. Ice.ObjectDel_ delBase__ = null;
  20370. try
  20371. {
  20372. checkTwowayOnly__("getBootedServers");
  20373. delBase__ = getDelegate__(false);
  20374. MetaDel_ del__ = (MetaDel_)delBase__;
  20375. return del__.getBootedServers(context__);
  20376. }
  20377. catch (IceInternal.LocalExceptionWrapper ex__)
  20378. {
  20379. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  20380. }
  20381. catch (Ice.LocalException ex__)
  20382. {
  20383. handleException__(delBase__, ex__, true, ref cnt__);
  20384. }
  20385. }
  20386. }
  20387.  
  20388. /// <summary>
  20389. /// Fetch default configuraion.
  20390. /// This returns the configuration items that were set in the configuration file, or
  20391. /// the built-in default. The individual servers will use these values unless they have been overridden in the
  20392. /// server specific configuration. The only special case is the port, which defaults to the value defined here +
  20393. /// the servers ID - 1 (so that virtual server #1 uses the defined port, server #2 uses port+1 etc).
  20394. /// </summary>
  20395. /// <returns>Default configuration of the servers.</returns>
  20396.  
  20397. public _System.Collections.Generic.Dictionary<string, string> getDefaultConf()
  20398. {
  20399. return getDefaultConf(null, false);
  20400. }
  20401.  
  20402. /// <summary>
  20403. /// Fetch default configuraion.
  20404. /// This returns the configuration items that were set in the configuration file, or
  20405. /// the built-in default. The individual servers will use these values unless they have been overridden in the
  20406. /// server specific configuration. The only special case is the port, which defaults to the value defined here +
  20407. /// the servers ID - 1 (so that virtual server #1 uses the defined port, server #2 uses port+1 etc).
  20408. /// </summary>
  20409. /// <returns>Default configuration of the servers.</returns>
  20410. /// <param name="context__">The Context map to send with the invocation.</param>
  20411.  
  20412. public _System.Collections.Generic.Dictionary<string, string> getDefaultConf(_System.Collections.Generic.Dictionary<string, string> context__)
  20413. {
  20414. return getDefaultConf(context__, true);
  20415. }
  20416.  
  20417. private _System.Collections.Generic.Dictionary<string, string> getDefaultConf(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20418. {
  20419. if (explicitContext__ && context__ == null)
  20420. {
  20421. context__ = emptyContext_;
  20422. }
  20423. int cnt__ = 0;
  20424. while (true)
  20425. {
  20426. Ice.ObjectDel_ delBase__ = null;
  20427. try
  20428. {
  20429. checkTwowayOnly__("getDefaultConf");
  20430. delBase__ = getDelegate__(false);
  20431. MetaDel_ del__ = (MetaDel_)delBase__;
  20432. return del__.getDefaultConf(context__);
  20433. }
  20434. catch (IceInternal.LocalExceptionWrapper ex__)
  20435. {
  20436. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  20437. }
  20438. catch (Ice.LocalException ex__)
  20439. {
  20440. handleException__(delBase__, ex__, true, ref cnt__);
  20441. }
  20442. }
  20443. }
  20444.  
  20445. /// <summary>
  20446. /// Fetch interface to specific server.
  20447. /// </summary>
  20448. /// <param name="id">Server ID. See Server.getId.
  20449. /// </param>
  20450. /// <returns>Interface for specified server, or a null proxy if id is invalid.</returns>
  20451.  
  20452. public Murmur.ServerPrx getServer(int id)
  20453. {
  20454. return getServer(id, null, false);
  20455. }
  20456.  
  20457. /// <summary>
  20458. /// Fetch interface to specific server.
  20459. /// </summary>
  20460. /// <param name="id">Server ID. See Server.getId.
  20461. /// </param>
  20462. /// <returns>Interface for specified server, or a null proxy if id is invalid.</returns>
  20463. /// <param name="context__">The Context map to send with the invocation.</param>
  20464.  
  20465. public Murmur.ServerPrx getServer(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  20466. {
  20467. return getServer(id, context__, true);
  20468. }
  20469.  
  20470. private Murmur.ServerPrx getServer(int id, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20471. {
  20472. if (explicitContext__ && context__ == null)
  20473. {
  20474. context__ = emptyContext_;
  20475. }
  20476. int cnt__ = 0;
  20477. while (true)
  20478. {
  20479. Ice.ObjectDel_ delBase__ = null;
  20480. try
  20481. {
  20482. checkTwowayOnly__("getServer");
  20483. delBase__ = getDelegate__(false);
  20484. MetaDel_ del__ = (MetaDel_)delBase__;
  20485. return del__.getServer(id, context__);
  20486. }
  20487. catch (IceInternal.LocalExceptionWrapper ex__)
  20488. {
  20489. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  20490. }
  20491. catch (Ice.LocalException ex__)
  20492. {
  20493. handleException__(delBase__, ex__, true, ref cnt__);
  20494. }
  20495. }
  20496. }
  20497.  
  20498. /// <summary>
  20499. /// Get slice file.
  20500. /// </summary>
  20501. /// <returns>Contents of the slice file server compiled with.</returns>
  20502.  
  20503. public string getSlice()
  20504. {
  20505. return getSlice(null, false);
  20506. }
  20507.  
  20508. /// <summary>
  20509. /// Get slice file.
  20510. /// </summary>
  20511. /// <returns>Contents of the slice file server compiled with.</returns>
  20512. /// <param name="context__">The Context map to send with the invocation.</param>
  20513.  
  20514. public string getSlice(_System.Collections.Generic.Dictionary<string, string> context__)
  20515. {
  20516. return getSlice(context__, true);
  20517. }
  20518.  
  20519. private string getSlice(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20520. {
  20521. if (explicitContext__ && context__ == null)
  20522. {
  20523. context__ = emptyContext_;
  20524. }
  20525. int cnt__ = 0;
  20526. while (true)
  20527. {
  20528. Ice.ObjectDel_ delBase__ = null;
  20529. try
  20530. {
  20531. checkTwowayOnly__("getSlice");
  20532. delBase__ = getDelegate__(false);
  20533. MetaDel_ del__ = (MetaDel_)delBase__;
  20534. return del__.getSlice(context__);
  20535. }
  20536. catch (IceInternal.LocalExceptionWrapper ex__)
  20537. {
  20538. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  20539. }
  20540. catch (Ice.LocalException ex__)
  20541. {
  20542. handleException__(delBase__, ex__, true, ref cnt__);
  20543. }
  20544. }
  20545. }
  20546.  
  20547. /// <summary>
  20548. /// Returns a checksum dict for the slice file.
  20549. /// </summary>
  20550. /// <returns>Checksum dict</returns>
  20551.  
  20552. public _System.Collections.Generic.Dictionary<string, string> getSliceChecksums()
  20553. {
  20554. return getSliceChecksums(null, false);
  20555. }
  20556.  
  20557. /// <summary>
  20558. /// Returns a checksum dict for the slice file.
  20559. /// </summary>
  20560. /// <returns>Checksum dict</returns>
  20561. /// <param name="context__">The Context map to send with the invocation.</param>
  20562.  
  20563. public _System.Collections.Generic.Dictionary<string, string> getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> context__)
  20564. {
  20565. return getSliceChecksums(context__, true);
  20566. }
  20567.  
  20568. private _System.Collections.Generic.Dictionary<string, string> getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20569. {
  20570. if (explicitContext__ && context__ == null)
  20571. {
  20572. context__ = emptyContext_;
  20573. }
  20574. int cnt__ = 0;
  20575. while (true)
  20576. {
  20577. Ice.ObjectDel_ delBase__ = null;
  20578. try
  20579. {
  20580. checkTwowayOnly__("getSliceChecksums");
  20581. delBase__ = getDelegate__(false);
  20582. MetaDel_ del__ = (MetaDel_)delBase__;
  20583. return del__.getSliceChecksums(context__);
  20584. }
  20585. catch (IceInternal.LocalExceptionWrapper ex__)
  20586. {
  20587. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  20588. }
  20589. catch (Ice.LocalException ex__)
  20590. {
  20591. handleException__(delBase__, ex__, true, ref cnt__);
  20592. }
  20593. }
  20594. }
  20595.  
  20596. /// <summary>
  20597. /// Get murmur uptime.
  20598. /// </summary>
  20599. /// <returns>Uptime of murmur in seconds</returns>
  20600.  
  20601. public int getUptime()
  20602. {
  20603. return getUptime(null, false);
  20604. }
  20605.  
  20606. /// <summary>
  20607. /// Get murmur uptime.
  20608. /// </summary>
  20609. /// <returns>Uptime of murmur in seconds</returns>
  20610. /// <param name="context__">The Context map to send with the invocation.</param>
  20611.  
  20612. public int getUptime(_System.Collections.Generic.Dictionary<string, string> context__)
  20613. {
  20614. return getUptime(context__, true);
  20615. }
  20616.  
  20617. private int getUptime(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20618. {
  20619. if (explicitContext__ && context__ == null)
  20620. {
  20621. context__ = emptyContext_;
  20622. }
  20623. int cnt__ = 0;
  20624. while (true)
  20625. {
  20626. Ice.ObjectDel_ delBase__ = null;
  20627. try
  20628. {
  20629. checkTwowayOnly__("getUptime");
  20630. delBase__ = getDelegate__(false);
  20631. MetaDel_ del__ = (MetaDel_)delBase__;
  20632. return del__.getUptime(context__);
  20633. }
  20634. catch (IceInternal.LocalExceptionWrapper ex__)
  20635. {
  20636. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  20637. }
  20638. catch (Ice.LocalException ex__)
  20639. {
  20640. handleException__(delBase__, ex__, true, ref cnt__);
  20641. }
  20642. }
  20643. }
  20644.  
  20645. /// <summary>
  20646. /// Fetch version of Murmur.
  20647. /// </summary>
  20648. /// <param name="major">Major version.
  20649. /// </param>
  20650. /// <param name="minor">Minor version.
  20651. /// </param>
  20652. /// <param name="patch">Patchlevel.
  20653. /// </param>
  20654. /// <param name="text">Textual representation of version. Note that this may not match the major, minor and patch levels, as it
  20655. /// may be simply the compile date or the SVN revision. This is usually the text you want to present to users.</param>
  20656.  
  20657. public void getVersion(out int major, out int minor, out int patch, out string text)
  20658. {
  20659. getVersion(out major, out minor, out patch, out text, null, false);
  20660. }
  20661.  
  20662. /// <summary>
  20663. /// Fetch version of Murmur.
  20664. /// </summary>
  20665. /// <param name="major">Major version.
  20666. /// </param>
  20667. /// <param name="minor">Minor version.
  20668. /// </param>
  20669. /// <param name="patch">Patchlevel.
  20670. /// </param>
  20671. /// <param name="text">Textual representation of version. Note that this may not match the major, minor and patch levels, as it
  20672. /// may be simply the compile date or the SVN revision. This is usually the text you want to present to users.</param>
  20673. /// <param name="context__">The Context map to send with the invocation.</param>
  20674.  
  20675. public void getVersion(out int major, out int minor, out int patch, out string text, _System.Collections.Generic.Dictionary<string, string> context__)
  20676. {
  20677. getVersion(out major, out minor, out patch, out text, context__, true);
  20678. }
  20679.  
  20680. private void getVersion(out int major, out int minor, out int patch, out string text, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20681. {
  20682. if (explicitContext__ && context__ == null)
  20683. {
  20684. context__ = emptyContext_;
  20685. }
  20686. int cnt__ = 0;
  20687. while (true)
  20688. {
  20689. Ice.ObjectDel_ delBase__ = null;
  20690. try
  20691. {
  20692. checkTwowayOnly__("getVersion");
  20693. delBase__ = getDelegate__(false);
  20694. MetaDel_ del__ = (MetaDel_)delBase__;
  20695. del__.getVersion(out major, out minor, out patch, out text, context__);
  20696. return;
  20697. }
  20698. catch (IceInternal.LocalExceptionWrapper ex__)
  20699. {
  20700. handleExceptionWrapperRelaxed__(delBase__, ex__, true, ref cnt__);
  20701. }
  20702. catch (Ice.LocalException ex__)
  20703. {
  20704. handleException__(delBase__, ex__, true, ref cnt__);
  20705. }
  20706. }
  20707. }
  20708.  
  20709. /// <summary>
  20710. /// Create a new server.
  20711. /// Call Server.getId on the returned interface to find it's ID.
  20712. /// </summary>
  20713. /// <returns>Interface for new server.</returns>
  20714.  
  20715. public Murmur.ServerPrx newServer()
  20716. {
  20717. return newServer(null, false);
  20718. }
  20719.  
  20720. /// <summary>
  20721. /// Create a new server.
  20722. /// Call Server.getId on the returned interface to find it's ID.
  20723. /// </summary>
  20724. /// <returns>Interface for new server.</returns>
  20725. /// <param name="context__">The Context map to send with the invocation.</param>
  20726.  
  20727. public Murmur.ServerPrx newServer(_System.Collections.Generic.Dictionary<string, string> context__)
  20728. {
  20729. return newServer(context__, true);
  20730. }
  20731.  
  20732. private Murmur.ServerPrx newServer(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20733. {
  20734. if (explicitContext__ && context__ == null)
  20735. {
  20736. context__ = emptyContext_;
  20737. }
  20738. int cnt__ = 0;
  20739. while (true)
  20740. {
  20741. Ice.ObjectDel_ delBase__ = null;
  20742. try
  20743. {
  20744. checkTwowayOnly__("newServer");
  20745. delBase__ = getDelegate__(false);
  20746. MetaDel_ del__ = (MetaDel_)delBase__;
  20747. return del__.newServer(context__);
  20748. }
  20749. catch (IceInternal.LocalExceptionWrapper ex__)
  20750. {
  20751. handleExceptionWrapper__(delBase__, ex__);
  20752. }
  20753. catch (Ice.LocalException ex__)
  20754. {
  20755. handleException__(delBase__, ex__, true, ref cnt__);
  20756. }
  20757. }
  20758. }
  20759.  
  20760. /// <summary>
  20761. /// Remove a callback.
  20762. /// </summary>
  20763. /// <param name="cb">Callback interface to be removed.</param>
  20764.  
  20765. public void removeCallback(Murmur.MetaCallbackPrx cb)
  20766. {
  20767. removeCallback(cb, null, false);
  20768. }
  20769.  
  20770. /// <summary>
  20771. /// Remove a callback.
  20772. /// </summary>
  20773. /// <param name="cb">Callback interface to be removed.</param>
  20774. /// <param name="context__">The Context map to send with the invocation.</param>
  20775.  
  20776. public void removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  20777. {
  20778. removeCallback(cb, context__, true);
  20779. }
  20780.  
  20781. private void removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
  20782. {
  20783. if (explicitContext__ && context__ == null)
  20784. {
  20785. context__ = emptyContext_;
  20786. }
  20787. int cnt__ = 0;
  20788. while (true)
  20789. {
  20790. Ice.ObjectDel_ delBase__ = null;
  20791. try
  20792. {
  20793. checkTwowayOnly__("removeCallback");
  20794. delBase__ = getDelegate__(false);
  20795. MetaDel_ del__ = (MetaDel_)delBase__;
  20796. del__.removeCallback(cb, context__);
  20797. return;
  20798. }
  20799. catch (IceInternal.LocalExceptionWrapper ex__)
  20800. {
  20801. handleExceptionWrapper__(delBase__, ex__);
  20802. }
  20803. catch (Ice.LocalException ex__)
  20804. {
  20805. handleException__(delBase__, ex__, true, ref cnt__);
  20806. }
  20807. }
  20808. }
  20809.  
  20810. #endregion
  20811.  
  20812. #region Asynchronous operations
  20813.  
  20814. public Ice.AsyncResult<Murmur.Callback_Meta_addCallback> begin_addCallback(Murmur.MetaCallbackPrx cb)
  20815. {
  20816. return begin_addCallback(cb, null, false, null, null);
  20817. }
  20818.  
  20819. /// <summary>
  20820. /// Add a callback.
  20821. /// The callback will receive notifications when servers are started or stopped.
  20822. /// </summary>
  20823. /// <param name="cb">Callback interface which will receive notifications.</param>
  20824. /// <param name="ctx__">The Context map to send with the invocation.</param>
  20825. public Ice.AsyncResult<Murmur.Callback_Meta_addCallback> begin_addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__)
  20826. {
  20827. return begin_addCallback(cb, ctx__, true, null, null);
  20828. }
  20829.  
  20830. public Ice.AsyncResult begin_addCallback(Murmur.MetaCallbackPrx cb, Ice.AsyncCallback cb__, object cookie__)
  20831. {
  20832. return begin_addCallback(cb, null, false, cb__, cookie__);
  20833. }
  20834.  
  20835. public Ice.AsyncResult begin_addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  20836. {
  20837. return begin_addCallback(cb, ctx__, true, cb__, cookie__);
  20838. }
  20839.  
  20840. private const string __addCallback_name = "addCallback";
  20841.  
  20842. public void end_addCallback(Ice.AsyncResult r__)
  20843. {
  20844. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  20845. IceInternal.OutgoingAsync.check__(outAsync__, this, __addCallback_name);
  20846. if (!outAsync__.wait__())
  20847. {
  20848. try
  20849. {
  20850. outAsync__.throwUserException__();
  20851. }
  20852. catch (Murmur.InvalidCallbackException)
  20853. {
  20854. throw;
  20855. }
  20856. catch (Murmur.InvalidSecretException)
  20857. {
  20858. throw;
  20859. }
  20860. catch (Ice.UserException ex__)
  20861. {
  20862. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  20863. }
  20864. }
  20865. }
  20866.  
  20867. private Ice.AsyncResult<Murmur.Callback_Meta_addCallback> begin_addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  20868. {
  20869. checkAsyncTwowayOnly__(__addCallback_name);
  20870. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_addCallback> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_addCallback>(this, __addCallback_name, addCallback_completed__, cookie__);
  20871. if (cb__ != null)
  20872. {
  20873. result__.whenCompletedWithAsyncCallback(cb__);
  20874. }
  20875. try
  20876. {
  20877. result__.prepare__(__addCallback_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  20878. IceInternal.BasicStream os__ = result__.ostr__;
  20879. Murmur.MetaCallbackPrxHelper.write__(os__, cb);
  20880. os__.endWriteEncaps();
  20881. result__.send__(true);
  20882. }
  20883. catch (Ice.LocalException ex__)
  20884. {
  20885. result__.exceptionAsync__(ex__);
  20886. }
  20887. return result__;
  20888. }
  20889.  
  20890. private void addCallback_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_addCallback cb__, Ice.ExceptionCallback excb__)
  20891. {
  20892. try
  20893. {
  20894. end_addCallback(r__);
  20895. }
  20896. catch (Ice.Exception ex__)
  20897. {
  20898. if (excb__ != null)
  20899. {
  20900. excb__(ex__);
  20901. }
  20902. return;
  20903. }
  20904. if (cb__ != null)
  20905. {
  20906. cb__();
  20907. }
  20908. }
  20909.  
  20910. public Ice.AsyncResult<Murmur.Callback_Meta_getAllServers> begin_getAllServers()
  20911. {
  20912. return begin_getAllServers(null, false, null, null);
  20913. }
  20914.  
  20915. /// <summary>
  20916. /// Fetch list of all defined servers.
  20917. /// </summary>
  20918. /// <param name="ctx__">The Context map to send with the invocation.</param>
  20919. public Ice.AsyncResult<Murmur.Callback_Meta_getAllServers> begin_getAllServers(_System.Collections.Generic.Dictionary<string, string> ctx__)
  20920. {
  20921. return begin_getAllServers(ctx__, true, null, null);
  20922. }
  20923.  
  20924. public Ice.AsyncResult begin_getAllServers(Ice.AsyncCallback cb__, object cookie__)
  20925. {
  20926. return begin_getAllServers(null, false, cb__, cookie__);
  20927. }
  20928.  
  20929. public Ice.AsyncResult begin_getAllServers(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  20930. {
  20931. return begin_getAllServers(ctx__, true, cb__, cookie__);
  20932. }
  20933.  
  20934. private const string __getAllServers_name = "getAllServers";
  20935.  
  20936. public Murmur.ServerPrx[] end_getAllServers(Ice.AsyncResult r__)
  20937. {
  20938. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  20939. IceInternal.OutgoingAsync.check__(outAsync__, this, __getAllServers_name);
  20940. if (!outAsync__.wait__())
  20941. {
  20942. try
  20943. {
  20944. outAsync__.throwUserException__();
  20945. }
  20946. catch (Murmur.InvalidSecretException)
  20947. {
  20948. throw;
  20949. }
  20950. catch (Ice.UserException ex__)
  20951. {
  20952. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  20953. }
  20954. }
  20955. Murmur.ServerPrx[] ret__;
  20956. IceInternal.BasicStream is__ = outAsync__.istr__;
  20957. is__.startReadEncaps();
  20958. {
  20959. int szx__ = is__.readAndCheckSeqSize(2);
  20960. ret__ = new Murmur.ServerPrx[szx__];
  20961. for (int ix__ = 0; ix__ < szx__; ++ix__)
  20962. {
  20963. ret__[ix__] = Murmur.ServerPrxHelper.read__(is__);
  20964. }
  20965. }
  20966. is__.endReadEncaps();
  20967. return ret__;
  20968. }
  20969.  
  20970. private Ice.AsyncResult<Murmur.Callback_Meta_getAllServers> begin_getAllServers(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  20971. {
  20972. checkAsyncTwowayOnly__(__getAllServers_name);
  20973. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getAllServers> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getAllServers>(this, __getAllServers_name, getAllServers_completed__, cookie__);
  20974. if (cb__ != null)
  20975. {
  20976. result__.whenCompletedWithAsyncCallback(cb__);
  20977. }
  20978. try
  20979. {
  20980. result__.prepare__(__getAllServers_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  20981. IceInternal.BasicStream os__ = result__.ostr__;
  20982. os__.endWriteEncaps();
  20983. result__.send__(true);
  20984. }
  20985. catch (Ice.LocalException ex__)
  20986. {
  20987. result__.exceptionAsync__(ex__);
  20988. }
  20989. return result__;
  20990. }
  20991.  
  20992. private void getAllServers_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_getAllServers cb__, Ice.ExceptionCallback excb__)
  20993. {
  20994. Murmur.ServerPrx[] ret__;
  20995. try
  20996. {
  20997. ret__ = end_getAllServers(r__);
  20998. }
  20999. catch (Ice.Exception ex__)
  21000. {
  21001. if (excb__ != null)
  21002. {
  21003. excb__(ex__);
  21004. }
  21005. return;
  21006. }
  21007. if (cb__ != null)
  21008. {
  21009. cb__(ret__);
  21010. }
  21011. }
  21012.  
  21013. public Ice.AsyncResult<Murmur.Callback_Meta_getBootedServers> begin_getBootedServers()
  21014. {
  21015. return begin_getBootedServers(null, false, null, null);
  21016. }
  21017.  
  21018. /// <summary>
  21019. /// Fetch list of all currently running servers.
  21020. /// </summary>
  21021. /// <param name="ctx__">The Context map to send with the invocation.</param>
  21022. public Ice.AsyncResult<Murmur.Callback_Meta_getBootedServers> begin_getBootedServers(_System.Collections.Generic.Dictionary<string, string> ctx__)
  21023. {
  21024. return begin_getBootedServers(ctx__, true, null, null);
  21025. }
  21026.  
  21027. public Ice.AsyncResult begin_getBootedServers(Ice.AsyncCallback cb__, object cookie__)
  21028. {
  21029. return begin_getBootedServers(null, false, cb__, cookie__);
  21030. }
  21031.  
  21032. public Ice.AsyncResult begin_getBootedServers(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  21033. {
  21034. return begin_getBootedServers(ctx__, true, cb__, cookie__);
  21035. }
  21036.  
  21037. private const string __getBootedServers_name = "getBootedServers";
  21038.  
  21039. public Murmur.ServerPrx[] end_getBootedServers(Ice.AsyncResult r__)
  21040. {
  21041. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  21042. IceInternal.OutgoingAsync.check__(outAsync__, this, __getBootedServers_name);
  21043. if (!outAsync__.wait__())
  21044. {
  21045. try
  21046. {
  21047. outAsync__.throwUserException__();
  21048. }
  21049. catch (Murmur.InvalidSecretException)
  21050. {
  21051. throw;
  21052. }
  21053. catch (Ice.UserException ex__)
  21054. {
  21055. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  21056. }
  21057. }
  21058. Murmur.ServerPrx[] ret__;
  21059. IceInternal.BasicStream is__ = outAsync__.istr__;
  21060. is__.startReadEncaps();
  21061. {
  21062. int szx__ = is__.readAndCheckSeqSize(2);
  21063. ret__ = new Murmur.ServerPrx[szx__];
  21064. for (int ix__ = 0; ix__ < szx__; ++ix__)
  21065. {
  21066. ret__[ix__] = Murmur.ServerPrxHelper.read__(is__);
  21067. }
  21068. }
  21069. is__.endReadEncaps();
  21070. return ret__;
  21071. }
  21072.  
  21073. private Ice.AsyncResult<Murmur.Callback_Meta_getBootedServers> begin_getBootedServers(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  21074. {
  21075. checkAsyncTwowayOnly__(__getBootedServers_name);
  21076. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getBootedServers> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getBootedServers>(this, __getBootedServers_name, getBootedServers_completed__, cookie__);
  21077. if (cb__ != null)
  21078. {
  21079. result__.whenCompletedWithAsyncCallback(cb__);
  21080. }
  21081. try
  21082. {
  21083. result__.prepare__(__getBootedServers_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  21084. IceInternal.BasicStream os__ = result__.ostr__;
  21085. os__.endWriteEncaps();
  21086. result__.send__(true);
  21087. }
  21088. catch (Ice.LocalException ex__)
  21089. {
  21090. result__.exceptionAsync__(ex__);
  21091. }
  21092. return result__;
  21093. }
  21094.  
  21095. private void getBootedServers_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_getBootedServers cb__, Ice.ExceptionCallback excb__)
  21096. {
  21097. Murmur.ServerPrx[] ret__;
  21098. try
  21099. {
  21100. ret__ = end_getBootedServers(r__);
  21101. }
  21102. catch (Ice.Exception ex__)
  21103. {
  21104. if (excb__ != null)
  21105. {
  21106. excb__(ex__);
  21107. }
  21108. return;
  21109. }
  21110. if (cb__ != null)
  21111. {
  21112. cb__(ret__);
  21113. }
  21114. }
  21115.  
  21116. public Ice.AsyncResult<Murmur.Callback_Meta_getDefaultConf> begin_getDefaultConf()
  21117. {
  21118. return begin_getDefaultConf(null, false, null, null);
  21119. }
  21120.  
  21121. /// <summary>
  21122. /// Fetch default configuraion.
  21123. /// This returns the configuration items that were set in the configuration file, or
  21124. /// </summary>
  21125. /// <param name="ctx__">The Context map to send with the invocation.</param>
  21126. public Ice.AsyncResult<Murmur.Callback_Meta_getDefaultConf> begin_getDefaultConf(_System.Collections.Generic.Dictionary<string, string> ctx__)
  21127. {
  21128. return begin_getDefaultConf(ctx__, true, null, null);
  21129. }
  21130.  
  21131. public Ice.AsyncResult begin_getDefaultConf(Ice.AsyncCallback cb__, object cookie__)
  21132. {
  21133. return begin_getDefaultConf(null, false, cb__, cookie__);
  21134. }
  21135.  
  21136. public Ice.AsyncResult begin_getDefaultConf(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  21137. {
  21138. return begin_getDefaultConf(ctx__, true, cb__, cookie__);
  21139. }
  21140.  
  21141. private const string __getDefaultConf_name = "getDefaultConf";
  21142.  
  21143. public _System.Collections.Generic.Dictionary<string, string> end_getDefaultConf(Ice.AsyncResult r__)
  21144. {
  21145. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  21146. IceInternal.OutgoingAsync.check__(outAsync__, this, __getDefaultConf_name);
  21147. if (!outAsync__.wait__())
  21148. {
  21149. try
  21150. {
  21151. outAsync__.throwUserException__();
  21152. }
  21153. catch (Murmur.InvalidSecretException)
  21154. {
  21155. throw;
  21156. }
  21157. catch (Ice.UserException ex__)
  21158. {
  21159. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  21160. }
  21161. }
  21162. _System.Collections.Generic.Dictionary<string, string> ret__;
  21163. IceInternal.BasicStream is__ = outAsync__.istr__;
  21164. is__.startReadEncaps();
  21165. ret__ = Murmur.ConfigMapHelper.read(is__);
  21166. is__.endReadEncaps();
  21167. return ret__;
  21168. }
  21169.  
  21170. private Ice.AsyncResult<Murmur.Callback_Meta_getDefaultConf> begin_getDefaultConf(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  21171. {
  21172. checkAsyncTwowayOnly__(__getDefaultConf_name);
  21173. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getDefaultConf> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getDefaultConf>(this, __getDefaultConf_name, getDefaultConf_completed__, cookie__);
  21174. if (cb__ != null)
  21175. {
  21176. result__.whenCompletedWithAsyncCallback(cb__);
  21177. }
  21178. try
  21179. {
  21180. result__.prepare__(__getDefaultConf_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  21181. IceInternal.BasicStream os__ = result__.ostr__;
  21182. os__.endWriteEncaps();
  21183. result__.send__(true);
  21184. }
  21185. catch (Ice.LocalException ex__)
  21186. {
  21187. result__.exceptionAsync__(ex__);
  21188. }
  21189. return result__;
  21190. }
  21191.  
  21192. private void getDefaultConf_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_getDefaultConf cb__, Ice.ExceptionCallback excb__)
  21193. {
  21194. _System.Collections.Generic.Dictionary<string, string> ret__;
  21195. try
  21196. {
  21197. ret__ = end_getDefaultConf(r__);
  21198. }
  21199. catch (Ice.Exception ex__)
  21200. {
  21201. if (excb__ != null)
  21202. {
  21203. excb__(ex__);
  21204. }
  21205. return;
  21206. }
  21207. if (cb__ != null)
  21208. {
  21209. cb__(ret__);
  21210. }
  21211. }
  21212.  
  21213. public Ice.AsyncResult<Murmur.Callback_Meta_getServer> begin_getServer(int id)
  21214. {
  21215. return begin_getServer(id, null, false, null, null);
  21216. }
  21217.  
  21218. /// <summary>
  21219. /// Fetch interface to specific server.
  21220. /// </summary>
  21221. /// <param name="id">Server ID. See Server.getId.
  21222. /// </param>
  21223. /// <param name="ctx__">The Context map to send with the invocation.</param>
  21224. public Ice.AsyncResult<Murmur.Callback_Meta_getServer> begin_getServer(int id, _System.Collections.Generic.Dictionary<string, string> ctx__)
  21225. {
  21226. return begin_getServer(id, ctx__, true, null, null);
  21227. }
  21228.  
  21229. public Ice.AsyncResult begin_getServer(int id, Ice.AsyncCallback cb__, object cookie__)
  21230. {
  21231. return begin_getServer(id, null, false, cb__, cookie__);
  21232. }
  21233.  
  21234. public Ice.AsyncResult begin_getServer(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  21235. {
  21236. return begin_getServer(id, ctx__, true, cb__, cookie__);
  21237. }
  21238.  
  21239. private const string __getServer_name = "getServer";
  21240.  
  21241. public Murmur.ServerPrx end_getServer(Ice.AsyncResult r__)
  21242. {
  21243. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  21244. IceInternal.OutgoingAsync.check__(outAsync__, this, __getServer_name);
  21245. if (!outAsync__.wait__())
  21246. {
  21247. try
  21248. {
  21249. outAsync__.throwUserException__();
  21250. }
  21251. catch (Murmur.InvalidSecretException)
  21252. {
  21253. throw;
  21254. }
  21255. catch (Ice.UserException ex__)
  21256. {
  21257. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  21258. }
  21259. }
  21260. Murmur.ServerPrx ret__;
  21261. IceInternal.BasicStream is__ = outAsync__.istr__;
  21262. is__.startReadEncaps();
  21263. ret__ = Murmur.ServerPrxHelper.read__(is__);
  21264. is__.endReadEncaps();
  21265. return ret__;
  21266. }
  21267.  
  21268. private Ice.AsyncResult<Murmur.Callback_Meta_getServer> begin_getServer(int id, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  21269. {
  21270. checkAsyncTwowayOnly__(__getServer_name);
  21271. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getServer> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getServer>(this, __getServer_name, getServer_completed__, cookie__);
  21272. if (cb__ != null)
  21273. {
  21274. result__.whenCompletedWithAsyncCallback(cb__);
  21275. }
  21276. try
  21277. {
  21278. result__.prepare__(__getServer_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  21279. IceInternal.BasicStream os__ = result__.ostr__;
  21280. os__.writeInt(id);
  21281. os__.endWriteEncaps();
  21282. result__.send__(true);
  21283. }
  21284. catch (Ice.LocalException ex__)
  21285. {
  21286. result__.exceptionAsync__(ex__);
  21287. }
  21288. return result__;
  21289. }
  21290.  
  21291. private void getServer_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_getServer cb__, Ice.ExceptionCallback excb__)
  21292. {
  21293. Murmur.ServerPrx ret__;
  21294. try
  21295. {
  21296. ret__ = end_getServer(r__);
  21297. }
  21298. catch (Ice.Exception ex__)
  21299. {
  21300. if (excb__ != null)
  21301. {
  21302. excb__(ex__);
  21303. }
  21304. return;
  21305. }
  21306. if (cb__ != null)
  21307. {
  21308. cb__(ret__);
  21309. }
  21310. }
  21311.  
  21312. public Ice.AsyncResult<Murmur.Callback_Meta_getSlice> begin_getSlice()
  21313. {
  21314. return begin_getSlice(null, false, null, null);
  21315. }
  21316.  
  21317. /// <summary>
  21318. /// Get slice file.
  21319. /// </summary>
  21320. /// <param name="ctx__">The Context map to send with the invocation.</param>
  21321. public Ice.AsyncResult<Murmur.Callback_Meta_getSlice> begin_getSlice(_System.Collections.Generic.Dictionary<string, string> ctx__)
  21322. {
  21323. return begin_getSlice(ctx__, true, null, null);
  21324. }
  21325.  
  21326. public Ice.AsyncResult begin_getSlice(Ice.AsyncCallback cb__, object cookie__)
  21327. {
  21328. return begin_getSlice(null, false, cb__, cookie__);
  21329. }
  21330.  
  21331. public Ice.AsyncResult begin_getSlice(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  21332. {
  21333. return begin_getSlice(ctx__, true, cb__, cookie__);
  21334. }
  21335.  
  21336. private const string __getSlice_name = "getSlice";
  21337.  
  21338. public string end_getSlice(Ice.AsyncResult r__)
  21339. {
  21340. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  21341. IceInternal.OutgoingAsync.check__(outAsync__, this, __getSlice_name);
  21342. if (!outAsync__.wait__())
  21343. {
  21344. try
  21345. {
  21346. outAsync__.throwUserException__();
  21347. }
  21348. catch (Ice.UserException ex__)
  21349. {
  21350. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  21351. }
  21352. }
  21353. string ret__;
  21354. IceInternal.BasicStream is__ = outAsync__.istr__;
  21355. is__.startReadEncaps();
  21356. ret__ = is__.readString();
  21357. is__.endReadEncaps();
  21358. return ret__;
  21359. }
  21360.  
  21361. private Ice.AsyncResult<Murmur.Callback_Meta_getSlice> begin_getSlice(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  21362. {
  21363. checkAsyncTwowayOnly__(__getSlice_name);
  21364. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getSlice> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getSlice>(this, __getSlice_name, getSlice_completed__, cookie__);
  21365. if (cb__ != null)
  21366. {
  21367. result__.whenCompletedWithAsyncCallback(cb__);
  21368. }
  21369. try
  21370. {
  21371. result__.prepare__(__getSlice_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  21372. IceInternal.BasicStream os__ = result__.ostr__;
  21373. os__.endWriteEncaps();
  21374. result__.send__(true);
  21375. }
  21376. catch (Ice.LocalException ex__)
  21377. {
  21378. result__.exceptionAsync__(ex__);
  21379. }
  21380. return result__;
  21381. }
  21382.  
  21383. private void getSlice_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_getSlice cb__, Ice.ExceptionCallback excb__)
  21384. {
  21385. string ret__;
  21386. try
  21387. {
  21388. ret__ = end_getSlice(r__);
  21389. }
  21390. catch (Ice.Exception ex__)
  21391. {
  21392. if (excb__ != null)
  21393. {
  21394. excb__(ex__);
  21395. }
  21396. return;
  21397. }
  21398. if (cb__ != null)
  21399. {
  21400. cb__(ret__);
  21401. }
  21402. }
  21403.  
  21404. public Ice.AsyncResult<Murmur.Callback_Meta_getSliceChecksums> begin_getSliceChecksums()
  21405. {
  21406. return begin_getSliceChecksums(null, false, null, null);
  21407. }
  21408.  
  21409. /// <summary>
  21410. /// Returns a checksum dict for the slice file.
  21411. /// </summary>
  21412. /// <param name="ctx__">The Context map to send with the invocation.</param>
  21413. public Ice.AsyncResult<Murmur.Callback_Meta_getSliceChecksums> begin_getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> ctx__)
  21414. {
  21415. return begin_getSliceChecksums(ctx__, true, null, null);
  21416. }
  21417.  
  21418. public Ice.AsyncResult begin_getSliceChecksums(Ice.AsyncCallback cb__, object cookie__)
  21419. {
  21420. return begin_getSliceChecksums(null, false, cb__, cookie__);
  21421. }
  21422.  
  21423. public Ice.AsyncResult begin_getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  21424. {
  21425. return begin_getSliceChecksums(ctx__, true, cb__, cookie__);
  21426. }
  21427.  
  21428. private const string __getSliceChecksums_name = "getSliceChecksums";
  21429.  
  21430. public _System.Collections.Generic.Dictionary<string, string> end_getSliceChecksums(Ice.AsyncResult r__)
  21431. {
  21432. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  21433. IceInternal.OutgoingAsync.check__(outAsync__, this, __getSliceChecksums_name);
  21434. if (!outAsync__.wait__())
  21435. {
  21436. try
  21437. {
  21438. outAsync__.throwUserException__();
  21439. }
  21440. catch (Ice.UserException ex__)
  21441. {
  21442. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  21443. }
  21444. }
  21445. _System.Collections.Generic.Dictionary<string, string> ret__;
  21446. IceInternal.BasicStream is__ = outAsync__.istr__;
  21447. is__.startReadEncaps();
  21448. ret__ = Ice.SliceChecksumDictHelper.read(is__);
  21449. is__.endReadEncaps();
  21450. return ret__;
  21451. }
  21452.  
  21453. private Ice.AsyncResult<Murmur.Callback_Meta_getSliceChecksums> begin_getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  21454. {
  21455. checkAsyncTwowayOnly__(__getSliceChecksums_name);
  21456. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getSliceChecksums> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getSliceChecksums>(this, __getSliceChecksums_name, getSliceChecksums_completed__, cookie__);
  21457. if (cb__ != null)
  21458. {
  21459. result__.whenCompletedWithAsyncCallback(cb__);
  21460. }
  21461. try
  21462. {
  21463. result__.prepare__(__getSliceChecksums_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  21464. IceInternal.BasicStream os__ = result__.ostr__;
  21465. os__.endWriteEncaps();
  21466. result__.send__(true);
  21467. }
  21468. catch (Ice.LocalException ex__)
  21469. {
  21470. result__.exceptionAsync__(ex__);
  21471. }
  21472. return result__;
  21473. }
  21474.  
  21475. private void getSliceChecksums_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_getSliceChecksums cb__, Ice.ExceptionCallback excb__)
  21476. {
  21477. _System.Collections.Generic.Dictionary<string, string> ret__;
  21478. try
  21479. {
  21480. ret__ = end_getSliceChecksums(r__);
  21481. }
  21482. catch (Ice.Exception ex__)
  21483. {
  21484. if (excb__ != null)
  21485. {
  21486. excb__(ex__);
  21487. }
  21488. return;
  21489. }
  21490. if (cb__ != null)
  21491. {
  21492. cb__(ret__);
  21493. }
  21494. }
  21495.  
  21496. public Ice.AsyncResult<Murmur.Callback_Meta_getUptime> begin_getUptime()
  21497. {
  21498. return begin_getUptime(null, false, null, null);
  21499. }
  21500.  
  21501. /// <summary>
  21502. /// Get murmur uptime.
  21503. /// </summary>
  21504. /// <param name="ctx__">The Context map to send with the invocation.</param>
  21505. public Ice.AsyncResult<Murmur.Callback_Meta_getUptime> begin_getUptime(_System.Collections.Generic.Dictionary<string, string> ctx__)
  21506. {
  21507. return begin_getUptime(ctx__, true, null, null);
  21508. }
  21509.  
  21510. public Ice.AsyncResult begin_getUptime(Ice.AsyncCallback cb__, object cookie__)
  21511. {
  21512. return begin_getUptime(null, false, cb__, cookie__);
  21513. }
  21514.  
  21515. public Ice.AsyncResult begin_getUptime(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  21516. {
  21517. return begin_getUptime(ctx__, true, cb__, cookie__);
  21518. }
  21519.  
  21520. private const string __getUptime_name = "getUptime";
  21521.  
  21522. public int end_getUptime(Ice.AsyncResult r__)
  21523. {
  21524. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  21525. IceInternal.OutgoingAsync.check__(outAsync__, this, __getUptime_name);
  21526. if (!outAsync__.wait__())
  21527. {
  21528. try
  21529. {
  21530. outAsync__.throwUserException__();
  21531. }
  21532. catch (Ice.UserException ex__)
  21533. {
  21534. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  21535. }
  21536. }
  21537. int ret__;
  21538. IceInternal.BasicStream is__ = outAsync__.istr__;
  21539. is__.startReadEncaps();
  21540. ret__ = is__.readInt();
  21541. is__.endReadEncaps();
  21542. return ret__;
  21543. }
  21544.  
  21545. private Ice.AsyncResult<Murmur.Callback_Meta_getUptime> begin_getUptime(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  21546. {
  21547. checkAsyncTwowayOnly__(__getUptime_name);
  21548. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getUptime> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getUptime>(this, __getUptime_name, getUptime_completed__, cookie__);
  21549. if (cb__ != null)
  21550. {
  21551. result__.whenCompletedWithAsyncCallback(cb__);
  21552. }
  21553. try
  21554. {
  21555. result__.prepare__(__getUptime_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  21556. IceInternal.BasicStream os__ = result__.ostr__;
  21557. os__.endWriteEncaps();
  21558. result__.send__(true);
  21559. }
  21560. catch (Ice.LocalException ex__)
  21561. {
  21562. result__.exceptionAsync__(ex__);
  21563. }
  21564. return result__;
  21565. }
  21566.  
  21567. private void getUptime_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_getUptime cb__, Ice.ExceptionCallback excb__)
  21568. {
  21569. int ret__;
  21570. try
  21571. {
  21572. ret__ = end_getUptime(r__);
  21573. }
  21574. catch (Ice.Exception ex__)
  21575. {
  21576. if (excb__ != null)
  21577. {
  21578. excb__(ex__);
  21579. }
  21580. return;
  21581. }
  21582. if (cb__ != null)
  21583. {
  21584. cb__(ret__);
  21585. }
  21586. }
  21587.  
  21588. public Ice.AsyncResult<Murmur.Callback_Meta_getVersion> begin_getVersion()
  21589. {
  21590. return begin_getVersion(null, false, null, null);
  21591. }
  21592.  
  21593. /// <summary>
  21594. /// Fetch version of Murmur.
  21595. /// </summary>
  21596. /// <param name="ctx__">The Context map to send with the invocation.</param>
  21597. public Ice.AsyncResult<Murmur.Callback_Meta_getVersion> begin_getVersion(_System.Collections.Generic.Dictionary<string, string> ctx__)
  21598. {
  21599. return begin_getVersion(ctx__, true, null, null);
  21600. }
  21601.  
  21602. public Ice.AsyncResult begin_getVersion(Ice.AsyncCallback cb__, object cookie__)
  21603. {
  21604. return begin_getVersion(null, false, cb__, cookie__);
  21605. }
  21606.  
  21607. public Ice.AsyncResult begin_getVersion(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  21608. {
  21609. return begin_getVersion(ctx__, true, cb__, cookie__);
  21610. }
  21611.  
  21612. private const string __getVersion_name = "getVersion";
  21613.  
  21614. public void end_getVersion(out int major, out int minor, out int patch, out string text, Ice.AsyncResult r__)
  21615. {
  21616. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  21617. IceInternal.OutgoingAsync.check__(outAsync__, this, __getVersion_name);
  21618. if (!outAsync__.wait__())
  21619. {
  21620. try
  21621. {
  21622. outAsync__.throwUserException__();
  21623. }
  21624. catch (Ice.UserException ex__)
  21625. {
  21626. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  21627. }
  21628. }
  21629. IceInternal.BasicStream is__ = outAsync__.istr__;
  21630. is__.startReadEncaps();
  21631. major = is__.readInt();
  21632. minor = is__.readInt();
  21633. patch = is__.readInt();
  21634. text = is__.readString();
  21635. is__.endReadEncaps();
  21636. }
  21637.  
  21638. private Ice.AsyncResult<Murmur.Callback_Meta_getVersion> begin_getVersion(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  21639. {
  21640. checkAsyncTwowayOnly__(__getVersion_name);
  21641. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getVersion> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_getVersion>(this, __getVersion_name, getVersion_completed__, cookie__);
  21642. if (cb__ != null)
  21643. {
  21644. result__.whenCompletedWithAsyncCallback(cb__);
  21645. }
  21646. try
  21647. {
  21648. result__.prepare__(__getVersion_name, Ice.OperationMode.Idempotent, ctx__, explicitContext__);
  21649. IceInternal.BasicStream os__ = result__.ostr__;
  21650. os__.endWriteEncaps();
  21651. result__.send__(true);
  21652. }
  21653. catch (Ice.LocalException ex__)
  21654. {
  21655. result__.exceptionAsync__(ex__);
  21656. }
  21657. return result__;
  21658. }
  21659.  
  21660. private void getVersion_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_getVersion cb__, Ice.ExceptionCallback excb__)
  21661. {
  21662. int major;
  21663. int minor;
  21664. int patch;
  21665. string text;
  21666. try
  21667. {
  21668. end_getVersion(out major, out minor, out patch, out text, r__);
  21669. }
  21670. catch (Ice.Exception ex__)
  21671. {
  21672. if (excb__ != null)
  21673. {
  21674. excb__(ex__);
  21675. }
  21676. return;
  21677. }
  21678. if (cb__ != null)
  21679. {
  21680. cb__(major, minor, patch, text);
  21681. }
  21682. }
  21683.  
  21684. public Ice.AsyncResult<Murmur.Callback_Meta_newServer> begin_newServer()
  21685. {
  21686. return begin_newServer(null, false, null, null);
  21687. }
  21688.  
  21689. /// <summary>
  21690. /// Create a new server.
  21691. /// Call Server.getId on the returned interface to find it's ID.
  21692. /// </summary>
  21693. /// <param name="ctx__">The Context map to send with the invocation.</param>
  21694. public Ice.AsyncResult<Murmur.Callback_Meta_newServer> begin_newServer(_System.Collections.Generic.Dictionary<string, string> ctx__)
  21695. {
  21696. return begin_newServer(ctx__, true, null, null);
  21697. }
  21698.  
  21699. public Ice.AsyncResult begin_newServer(Ice.AsyncCallback cb__, object cookie__)
  21700. {
  21701. return begin_newServer(null, false, cb__, cookie__);
  21702. }
  21703.  
  21704. public Ice.AsyncResult begin_newServer(_System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  21705. {
  21706. return begin_newServer(ctx__, true, cb__, cookie__);
  21707. }
  21708.  
  21709. private const string __newServer_name = "newServer";
  21710.  
  21711. public Murmur.ServerPrx end_newServer(Ice.AsyncResult r__)
  21712. {
  21713. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  21714. IceInternal.OutgoingAsync.check__(outAsync__, this, __newServer_name);
  21715. if (!outAsync__.wait__())
  21716. {
  21717. try
  21718. {
  21719. outAsync__.throwUserException__();
  21720. }
  21721. catch (Murmur.InvalidSecretException)
  21722. {
  21723. throw;
  21724. }
  21725. catch (Ice.UserException ex__)
  21726. {
  21727. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  21728. }
  21729. }
  21730. Murmur.ServerPrx ret__;
  21731. IceInternal.BasicStream is__ = outAsync__.istr__;
  21732. is__.startReadEncaps();
  21733. ret__ = Murmur.ServerPrxHelper.read__(is__);
  21734. is__.endReadEncaps();
  21735. return ret__;
  21736. }
  21737.  
  21738. private Ice.AsyncResult<Murmur.Callback_Meta_newServer> begin_newServer(_System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  21739. {
  21740. checkAsyncTwowayOnly__(__newServer_name);
  21741. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_newServer> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_newServer>(this, __newServer_name, newServer_completed__, cookie__);
  21742. if (cb__ != null)
  21743. {
  21744. result__.whenCompletedWithAsyncCallback(cb__);
  21745. }
  21746. try
  21747. {
  21748. result__.prepare__(__newServer_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  21749. IceInternal.BasicStream os__ = result__.ostr__;
  21750. os__.endWriteEncaps();
  21751. result__.send__(true);
  21752. }
  21753. catch (Ice.LocalException ex__)
  21754. {
  21755. result__.exceptionAsync__(ex__);
  21756. }
  21757. return result__;
  21758. }
  21759.  
  21760. private void newServer_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_newServer cb__, Ice.ExceptionCallback excb__)
  21761. {
  21762. Murmur.ServerPrx ret__;
  21763. try
  21764. {
  21765. ret__ = end_newServer(r__);
  21766. }
  21767. catch (Ice.Exception ex__)
  21768. {
  21769. if (excb__ != null)
  21770. {
  21771. excb__(ex__);
  21772. }
  21773. return;
  21774. }
  21775. if (cb__ != null)
  21776. {
  21777. cb__(ret__);
  21778. }
  21779. }
  21780.  
  21781. public Ice.AsyncResult<Murmur.Callback_Meta_removeCallback> begin_removeCallback(Murmur.MetaCallbackPrx cb)
  21782. {
  21783. return begin_removeCallback(cb, null, false, null, null);
  21784. }
  21785.  
  21786. /// <summary>
  21787. /// Remove a callback.
  21788. /// </summary>
  21789. /// <param name="cb">Callback interface to be removed.</param>
  21790. /// <param name="ctx__">The Context map to send with the invocation.</param>
  21791. public Ice.AsyncResult<Murmur.Callback_Meta_removeCallback> begin_removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__)
  21792. {
  21793. return begin_removeCallback(cb, ctx__, true, null, null);
  21794. }
  21795.  
  21796. public Ice.AsyncResult begin_removeCallback(Murmur.MetaCallbackPrx cb, Ice.AsyncCallback cb__, object cookie__)
  21797. {
  21798. return begin_removeCallback(cb, null, false, cb__, cookie__);
  21799. }
  21800.  
  21801. public Ice.AsyncResult begin_removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, Ice.AsyncCallback cb__, object cookie__)
  21802. {
  21803. return begin_removeCallback(cb, ctx__, true, cb__, cookie__);
  21804. }
  21805.  
  21806. private const string __removeCallback_name = "removeCallback";
  21807.  
  21808. public void end_removeCallback(Ice.AsyncResult r__)
  21809. {
  21810. IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__;
  21811. IceInternal.OutgoingAsync.check__(outAsync__, this, __removeCallback_name);
  21812. if (!outAsync__.wait__())
  21813. {
  21814. try
  21815. {
  21816. outAsync__.throwUserException__();
  21817. }
  21818. catch (Murmur.InvalidCallbackException)
  21819. {
  21820. throw;
  21821. }
  21822. catch (Murmur.InvalidSecretException)
  21823. {
  21824. throw;
  21825. }
  21826. catch (Ice.UserException ex__)
  21827. {
  21828. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  21829. }
  21830. }
  21831. }
  21832.  
  21833. private Ice.AsyncResult<Murmur.Callback_Meta_removeCallback> begin_removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> ctx__, bool explicitContext__, Ice.AsyncCallback cb__, object cookie__)
  21834. {
  21835. checkAsyncTwowayOnly__(__removeCallback_name);
  21836. IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_removeCallback> result__ = new IceInternal.TwowayOutgoingAsync<Murmur.Callback_Meta_removeCallback>(this, __removeCallback_name, removeCallback_completed__, cookie__);
  21837. if (cb__ != null)
  21838. {
  21839. result__.whenCompletedWithAsyncCallback(cb__);
  21840. }
  21841. try
  21842. {
  21843. result__.prepare__(__removeCallback_name, Ice.OperationMode.Normal, ctx__, explicitContext__);
  21844. IceInternal.BasicStream os__ = result__.ostr__;
  21845. Murmur.MetaCallbackPrxHelper.write__(os__, cb);
  21846. os__.endWriteEncaps();
  21847. result__.send__(true);
  21848. }
  21849. catch (Ice.LocalException ex__)
  21850. {
  21851. result__.exceptionAsync__(ex__);
  21852. }
  21853. return result__;
  21854. }
  21855.  
  21856. private void removeCallback_completed__(Ice.AsyncResult r__, Murmur.Callback_Meta_removeCallback cb__, Ice.ExceptionCallback excb__)
  21857. {
  21858. try
  21859. {
  21860. end_removeCallback(r__);
  21861. }
  21862. catch (Ice.Exception ex__)
  21863. {
  21864. if (excb__ != null)
  21865. {
  21866. excb__(ex__);
  21867. }
  21868. return;
  21869. }
  21870. if (cb__ != null)
  21871. {
  21872. cb__();
  21873. }
  21874. }
  21875.  
  21876. #endregion
  21877.  
  21878. #region Checked and unchecked cast operations
  21879.  
  21880. public static MetaPrx checkedCast(Ice.ObjectPrx b)
  21881. {
  21882. if (b == null)
  21883. {
  21884. return null;
  21885. }
  21886. MetaPrx r = b as MetaPrx;
  21887. if ((r == null) && b.ice_isA(ice_staticId()))
  21888. {
  21889. MetaPrxHelper h = new MetaPrxHelper();
  21890. h.copyFrom__(b);
  21891. r = h;
  21892. }
  21893. return r;
  21894. }
  21895.  
  21896. public static MetaPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
  21897. {
  21898. if (b == null)
  21899. {
  21900. return null;
  21901. }
  21902. MetaPrx r = b as MetaPrx;
  21903. if ((r == null) && b.ice_isA(ice_staticId(), ctx))
  21904. {
  21905. MetaPrxHelper h = new MetaPrxHelper();
  21906. h.copyFrom__(b);
  21907. r = h;
  21908. }
  21909. return r;
  21910. }
  21911.  
  21912. public static MetaPrx checkedCast(Ice.ObjectPrx b, string f)
  21913. {
  21914. if (b == null)
  21915. {
  21916. return null;
  21917. }
  21918. Ice.ObjectPrx bb = b.ice_facet(f);
  21919. try
  21920. {
  21921. if (bb.ice_isA(ice_staticId()))
  21922. {
  21923. MetaPrxHelper h = new MetaPrxHelper();
  21924. h.copyFrom__(bb);
  21925. return h;
  21926. }
  21927. }
  21928. catch (Ice.FacetNotExistException)
  21929. {
  21930. }
  21931. return null;
  21932. }
  21933.  
  21934. public static MetaPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
  21935. {
  21936. if (b == null)
  21937. {
  21938. return null;
  21939. }
  21940. Ice.ObjectPrx bb = b.ice_facet(f);
  21941. try
  21942. {
  21943. if (bb.ice_isA(ice_staticId(), ctx))
  21944. {
  21945. MetaPrxHelper h = new MetaPrxHelper();
  21946. h.copyFrom__(bb);
  21947. return h;
  21948. }
  21949. }
  21950. catch (Ice.FacetNotExistException)
  21951. {
  21952. }
  21953. return null;
  21954. }
  21955.  
  21956. public static MetaPrx uncheckedCast(Ice.ObjectPrx b)
  21957. {
  21958. if (b == null)
  21959. {
  21960. return null;
  21961. }
  21962. MetaPrx r = b as MetaPrx;
  21963. if (r == null)
  21964. {
  21965. MetaPrxHelper h = new MetaPrxHelper();
  21966. h.copyFrom__(b);
  21967. r = h;
  21968. }
  21969. return r;
  21970. }
  21971.  
  21972. public static MetaPrx uncheckedCast(Ice.ObjectPrx b, string f)
  21973. {
  21974. if (b == null)
  21975. {
  21976. return null;
  21977. }
  21978. Ice.ObjectPrx bb = b.ice_facet(f);
  21979. MetaPrxHelper h = new MetaPrxHelper();
  21980. h.copyFrom__(bb);
  21981. return h;
  21982. }
  21983.  
  21984. public static readonly string[] ids__ =
  21985. {
  21986. "::Ice::Object",
  21987. "::Murmur::Meta"
  21988. };
  21989.  
  21990. public static string ice_staticId()
  21991. {
  21992. return ids__[1];
  21993. }
  21994.  
  21995. #endregion
  21996.  
  21997. #region Marshaling support
  21998.  
  21999. protected override Ice.ObjectDelM_ createDelegateM__()
  22000. {
  22001. return new MetaDelM_();
  22002. }
  22003.  
  22004. protected override Ice.ObjectDelD_ createDelegateD__()
  22005. {
  22006. return new MetaDelD_();
  22007. }
  22008.  
  22009. public static void write__(IceInternal.BasicStream os__, MetaPrx v__)
  22010. {
  22011. os__.writeProxy(v__);
  22012. }
  22013.  
  22014. public static MetaPrx read__(IceInternal.BasicStream is__)
  22015. {
  22016. Ice.ObjectPrx proxy = is__.readProxy();
  22017. if (proxy != null)
  22018. {
  22019. MetaPrxHelper result = new MetaPrxHelper();
  22020. result.copyFrom__(proxy);
  22021. return result;
  22022. }
  22023. return null;
  22024. }
  22025.  
  22026. #endregion
  22027. }
  22028. }
  22029.  
  22030. namespace Murmur
  22031. {
  22032. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22033. public interface TreeDel_ : Ice.ObjectDel_
  22034. {
  22035. }
  22036.  
  22037. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22038. public interface ServerCallbackDel_ : Ice.ObjectDel_
  22039. {
  22040. void userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__);
  22041.  
  22042. void userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__);
  22043.  
  22044. void userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__);
  22045.  
  22046. void userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> context__);
  22047.  
  22048. void channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__);
  22049.  
  22050. void channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__);
  22051.  
  22052. void channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__);
  22053. }
  22054.  
  22055. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22056. public interface ServerContextCallbackDel_ : Ice.ObjectDel_
  22057. {
  22058. void contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__);
  22059. }
  22060.  
  22061. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22062. public interface ServerAuthenticatorDel_ : Ice.ObjectDel_
  22063. {
  22064. int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, _System.Collections.Generic.Dictionary<string, string> context__);
  22065.  
  22066. bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__);
  22067.  
  22068. int nameToId(string name, _System.Collections.Generic.Dictionary<string, string> context__);
  22069.  
  22070. string idToName(int id, _System.Collections.Generic.Dictionary<string, string> context__);
  22071.  
  22072. byte[] idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> context__);
  22073. }
  22074.  
  22075. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22076. public interface ServerUpdatingAuthenticatorDel_ : Murmur.ServerAuthenticatorDel_
  22077. {
  22078. int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__);
  22079.  
  22080. int unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> context__);
  22081.  
  22082. _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__);
  22083.  
  22084. int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__);
  22085.  
  22086. int setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__);
  22087. }
  22088.  
  22089. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22090. public interface ServerDel_ : Ice.ObjectDel_
  22091. {
  22092. bool isRunning(_System.Collections.Generic.Dictionary<string, string> context__);
  22093.  
  22094. void start(_System.Collections.Generic.Dictionary<string, string> context__);
  22095.  
  22096. void stop(_System.Collections.Generic.Dictionary<string, string> context__);
  22097.  
  22098. void delete(_System.Collections.Generic.Dictionary<string, string> context__);
  22099.  
  22100. int id(_System.Collections.Generic.Dictionary<string, string> context__);
  22101.  
  22102. void addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__);
  22103.  
  22104. void removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__);
  22105.  
  22106. void setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> context__);
  22107.  
  22108. string getConf(string key, _System.Collections.Generic.Dictionary<string, string> context__);
  22109.  
  22110. _System.Collections.Generic.Dictionary<string, string> getAllConf(_System.Collections.Generic.Dictionary<string, string> context__);
  22111.  
  22112. void setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> context__);
  22113.  
  22114. void setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> context__);
  22115.  
  22116. Murmur.LogEntry[] getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> context__);
  22117.  
  22118. int getLogLen(_System.Collections.Generic.Dictionary<string, string> context__);
  22119.  
  22120. _System.Collections.Generic.Dictionary<int, Murmur.User> getUsers(_System.Collections.Generic.Dictionary<string, string> context__);
  22121.  
  22122. _System.Collections.Generic.Dictionary<int, Murmur.Channel> getChannels(_System.Collections.Generic.Dictionary<string, string> context__);
  22123.  
  22124. byte[][] getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> context__);
  22125.  
  22126. Murmur.Tree getTree(_System.Collections.Generic.Dictionary<string, string> context__);
  22127.  
  22128. Murmur.Ban[] getBans(_System.Collections.Generic.Dictionary<string, string> context__);
  22129.  
  22130. void setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> context__);
  22131.  
  22132. void kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> context__);
  22133.  
  22134. Murmur.User getState(int session, _System.Collections.Generic.Dictionary<string, string> context__);
  22135.  
  22136. void setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__);
  22137.  
  22138. void sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> context__);
  22139.  
  22140. bool hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> context__);
  22141.  
  22142. int effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__);
  22143.  
  22144. void addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> context__);
  22145.  
  22146. void removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__);
  22147.  
  22148. Murmur.Channel getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> context__);
  22149.  
  22150. void setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__);
  22151.  
  22152. void removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> context__);
  22153.  
  22154. int addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> context__);
  22155.  
  22156. void sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> context__);
  22157.  
  22158. void getACL(int channelid, out Murmur.ACL[] acls, out Murmur.Group[] groups, out bool inherit, _System.Collections.Generic.Dictionary<string, string> context__);
  22159.  
  22160. void setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> context__);
  22161.  
  22162. void addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__);
  22163.  
  22164. void removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__);
  22165.  
  22166. void redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> context__);
  22167.  
  22168. _System.Collections.Generic.Dictionary<int, string> getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> context__);
  22169.  
  22170. _System.Collections.Generic.Dictionary<string, int> getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> context__);
  22171.  
  22172. int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__);
  22173.  
  22174. void unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> context__);
  22175.  
  22176. void updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__);
  22177.  
  22178. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> context__);
  22179.  
  22180. _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__);
  22181.  
  22182. int verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> context__);
  22183.  
  22184. byte[] getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> context__);
  22185.  
  22186. void setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__);
  22187.  
  22188. int getUptime(_System.Collections.Generic.Dictionary<string, string> context__);
  22189.  
  22190. void updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> context__);
  22191. }
  22192.  
  22193. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22194. public interface MetaCallbackDel_ : Ice.ObjectDel_
  22195. {
  22196. void started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__);
  22197.  
  22198. void stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__);
  22199. }
  22200.  
  22201. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22202. public interface MetaDel_ : Ice.ObjectDel_
  22203. {
  22204. Murmur.ServerPrx getServer(int id, _System.Collections.Generic.Dictionary<string, string> context__);
  22205.  
  22206. Murmur.ServerPrx newServer(_System.Collections.Generic.Dictionary<string, string> context__);
  22207.  
  22208. Murmur.ServerPrx[] getBootedServers(_System.Collections.Generic.Dictionary<string, string> context__);
  22209.  
  22210. Murmur.ServerPrx[] getAllServers(_System.Collections.Generic.Dictionary<string, string> context__);
  22211.  
  22212. _System.Collections.Generic.Dictionary<string, string> getDefaultConf(_System.Collections.Generic.Dictionary<string, string> context__);
  22213.  
  22214. void getVersion(out int major, out int minor, out int patch, out string text, _System.Collections.Generic.Dictionary<string, string> context__);
  22215.  
  22216. void addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__);
  22217.  
  22218. void removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__);
  22219.  
  22220. int getUptime(_System.Collections.Generic.Dictionary<string, string> context__);
  22221.  
  22222. string getSlice(_System.Collections.Generic.Dictionary<string, string> context__);
  22223.  
  22224. _System.Collections.Generic.Dictionary<string, string> getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> context__);
  22225. }
  22226. }
  22227.  
  22228. namespace Murmur
  22229. {
  22230. [_System.Runtime.InteropServices.ComVisible(false)]
  22231. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22232. public sealed class TreeDelM_ : Ice.ObjectDelM_, TreeDel_
  22233. {
  22234. }
  22235.  
  22236. [_System.Runtime.InteropServices.ComVisible(false)]
  22237. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22238. public sealed class ServerCallbackDelM_ : Ice.ObjectDelM_, ServerCallbackDel_
  22239. {
  22240. public void channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  22241. {
  22242. IceInternal.Outgoing og__ = handler__.getOutgoing("channelCreated", Ice.OperationMode.Idempotent, context__);
  22243. try
  22244. {
  22245. try
  22246. {
  22247. IceInternal.BasicStream os__ = og__.ostr();
  22248. if (state == null)
  22249. {
  22250. Murmur.Channel tmp__ = new Murmur.Channel();
  22251. tmp__.write__(os__);
  22252. }
  22253. else
  22254. {
  22255. state.write__(os__);
  22256. }
  22257. }
  22258. catch (Ice.LocalException ex__)
  22259. {
  22260. og__.abort(ex__);
  22261. }
  22262. bool ok__ = og__.invoke();
  22263. if (!og__.istr().isEmpty())
  22264. {
  22265. try
  22266. {
  22267. if (!ok__)
  22268. {
  22269. try
  22270. {
  22271. og__.throwUserException();
  22272. }
  22273. catch (Ice.UserException ex__)
  22274. {
  22275. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22276. }
  22277. }
  22278. og__.istr().skipEmptyEncaps();
  22279. }
  22280. catch (Ice.LocalException ex__)
  22281. {
  22282. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22283. }
  22284. }
  22285. }
  22286. finally
  22287. {
  22288. handler__.reclaimOutgoing(og__);
  22289. }
  22290. }
  22291.  
  22292. public void channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  22293. {
  22294. IceInternal.Outgoing og__ = handler__.getOutgoing("channelRemoved", Ice.OperationMode.Idempotent, context__);
  22295. try
  22296. {
  22297. try
  22298. {
  22299. IceInternal.BasicStream os__ = og__.ostr();
  22300. if (state == null)
  22301. {
  22302. Murmur.Channel tmp__ = new Murmur.Channel();
  22303. tmp__.write__(os__);
  22304. }
  22305. else
  22306. {
  22307. state.write__(os__);
  22308. }
  22309. }
  22310. catch (Ice.LocalException ex__)
  22311. {
  22312. og__.abort(ex__);
  22313. }
  22314. bool ok__ = og__.invoke();
  22315. if (!og__.istr().isEmpty())
  22316. {
  22317. try
  22318. {
  22319. if (!ok__)
  22320. {
  22321. try
  22322. {
  22323. og__.throwUserException();
  22324. }
  22325. catch (Ice.UserException ex__)
  22326. {
  22327. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22328. }
  22329. }
  22330. og__.istr().skipEmptyEncaps();
  22331. }
  22332. catch (Ice.LocalException ex__)
  22333. {
  22334. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22335. }
  22336. }
  22337. }
  22338. finally
  22339. {
  22340. handler__.reclaimOutgoing(og__);
  22341. }
  22342. }
  22343.  
  22344. public void channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  22345. {
  22346. IceInternal.Outgoing og__ = handler__.getOutgoing("channelStateChanged", Ice.OperationMode.Idempotent, context__);
  22347. try
  22348. {
  22349. try
  22350. {
  22351. IceInternal.BasicStream os__ = og__.ostr();
  22352. if (state == null)
  22353. {
  22354. Murmur.Channel tmp__ = new Murmur.Channel();
  22355. tmp__.write__(os__);
  22356. }
  22357. else
  22358. {
  22359. state.write__(os__);
  22360. }
  22361. }
  22362. catch (Ice.LocalException ex__)
  22363. {
  22364. og__.abort(ex__);
  22365. }
  22366. bool ok__ = og__.invoke();
  22367. if (!og__.istr().isEmpty())
  22368. {
  22369. try
  22370. {
  22371. if (!ok__)
  22372. {
  22373. try
  22374. {
  22375. og__.throwUserException();
  22376. }
  22377. catch (Ice.UserException ex__)
  22378. {
  22379. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22380. }
  22381. }
  22382. og__.istr().skipEmptyEncaps();
  22383. }
  22384. catch (Ice.LocalException ex__)
  22385. {
  22386. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22387. }
  22388. }
  22389. }
  22390. finally
  22391. {
  22392. handler__.reclaimOutgoing(og__);
  22393. }
  22394. }
  22395.  
  22396. public void userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  22397. {
  22398. IceInternal.Outgoing og__ = handler__.getOutgoing("userConnected", Ice.OperationMode.Idempotent, context__);
  22399. try
  22400. {
  22401. try
  22402. {
  22403. IceInternal.BasicStream os__ = og__.ostr();
  22404. if (state == null)
  22405. {
  22406. Murmur.User tmp__ = new Murmur.User();
  22407. tmp__.write__(os__);
  22408. }
  22409. else
  22410. {
  22411. state.write__(os__);
  22412. }
  22413. }
  22414. catch (Ice.LocalException ex__)
  22415. {
  22416. og__.abort(ex__);
  22417. }
  22418. bool ok__ = og__.invoke();
  22419. if (!og__.istr().isEmpty())
  22420. {
  22421. try
  22422. {
  22423. if (!ok__)
  22424. {
  22425. try
  22426. {
  22427. og__.throwUserException();
  22428. }
  22429. catch (Ice.UserException ex__)
  22430. {
  22431. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22432. }
  22433. }
  22434. og__.istr().skipEmptyEncaps();
  22435. }
  22436. catch (Ice.LocalException ex__)
  22437. {
  22438. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22439. }
  22440. }
  22441. }
  22442. finally
  22443. {
  22444. handler__.reclaimOutgoing(og__);
  22445. }
  22446. }
  22447.  
  22448. public void userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  22449. {
  22450. IceInternal.Outgoing og__ = handler__.getOutgoing("userDisconnected", Ice.OperationMode.Idempotent, context__);
  22451. try
  22452. {
  22453. try
  22454. {
  22455. IceInternal.BasicStream os__ = og__.ostr();
  22456. if (state == null)
  22457. {
  22458. Murmur.User tmp__ = new Murmur.User();
  22459. tmp__.write__(os__);
  22460. }
  22461. else
  22462. {
  22463. state.write__(os__);
  22464. }
  22465. }
  22466. catch (Ice.LocalException ex__)
  22467. {
  22468. og__.abort(ex__);
  22469. }
  22470. bool ok__ = og__.invoke();
  22471. if (!og__.istr().isEmpty())
  22472. {
  22473. try
  22474. {
  22475. if (!ok__)
  22476. {
  22477. try
  22478. {
  22479. og__.throwUserException();
  22480. }
  22481. catch (Ice.UserException ex__)
  22482. {
  22483. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22484. }
  22485. }
  22486. og__.istr().skipEmptyEncaps();
  22487. }
  22488. catch (Ice.LocalException ex__)
  22489. {
  22490. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22491. }
  22492. }
  22493. }
  22494. finally
  22495. {
  22496. handler__.reclaimOutgoing(og__);
  22497. }
  22498. }
  22499.  
  22500. public void userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  22501. {
  22502. IceInternal.Outgoing og__ = handler__.getOutgoing("userStateChanged", Ice.OperationMode.Idempotent, context__);
  22503. try
  22504. {
  22505. try
  22506. {
  22507. IceInternal.BasicStream os__ = og__.ostr();
  22508. if (state == null)
  22509. {
  22510. Murmur.User tmp__ = new Murmur.User();
  22511. tmp__.write__(os__);
  22512. }
  22513. else
  22514. {
  22515. state.write__(os__);
  22516. }
  22517. }
  22518. catch (Ice.LocalException ex__)
  22519. {
  22520. og__.abort(ex__);
  22521. }
  22522. bool ok__ = og__.invoke();
  22523. if (!og__.istr().isEmpty())
  22524. {
  22525. try
  22526. {
  22527. if (!ok__)
  22528. {
  22529. try
  22530. {
  22531. og__.throwUserException();
  22532. }
  22533. catch (Ice.UserException ex__)
  22534. {
  22535. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22536. }
  22537. }
  22538. og__.istr().skipEmptyEncaps();
  22539. }
  22540. catch (Ice.LocalException ex__)
  22541. {
  22542. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22543. }
  22544. }
  22545. }
  22546. finally
  22547. {
  22548. handler__.reclaimOutgoing(og__);
  22549. }
  22550. }
  22551.  
  22552. public void userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> context__)
  22553. {
  22554. IceInternal.Outgoing og__ = handler__.getOutgoing("userTextMessage", Ice.OperationMode.Idempotent, context__);
  22555. try
  22556. {
  22557. try
  22558. {
  22559. IceInternal.BasicStream os__ = og__.ostr();
  22560. if (state == null)
  22561. {
  22562. Murmur.User tmp__ = new Murmur.User();
  22563. tmp__.write__(os__);
  22564. }
  22565. else
  22566. {
  22567. state.write__(os__);
  22568. }
  22569. if (message == null)
  22570. {
  22571. Murmur.TextMessage tmp__ = new Murmur.TextMessage();
  22572. tmp__.write__(os__);
  22573. }
  22574. else
  22575. {
  22576. message.write__(os__);
  22577. }
  22578. }
  22579. catch (Ice.LocalException ex__)
  22580. {
  22581. og__.abort(ex__);
  22582. }
  22583. bool ok__ = og__.invoke();
  22584. if (!og__.istr().isEmpty())
  22585. {
  22586. try
  22587. {
  22588. if (!ok__)
  22589. {
  22590. try
  22591. {
  22592. og__.throwUserException();
  22593. }
  22594. catch (Ice.UserException ex__)
  22595. {
  22596. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22597. }
  22598. }
  22599. og__.istr().skipEmptyEncaps();
  22600. }
  22601. catch (Ice.LocalException ex__)
  22602. {
  22603. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22604. }
  22605. }
  22606. }
  22607. finally
  22608. {
  22609. handler__.reclaimOutgoing(og__);
  22610. }
  22611. }
  22612. }
  22613.  
  22614. [_System.Runtime.InteropServices.ComVisible(false)]
  22615. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22616. public sealed class ServerContextCallbackDelM_ : Ice.ObjectDelM_, ServerContextCallbackDel_
  22617. {
  22618. public void contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  22619. {
  22620. IceInternal.Outgoing og__ = handler__.getOutgoing("contextAction", Ice.OperationMode.Idempotent, context__);
  22621. try
  22622. {
  22623. try
  22624. {
  22625. IceInternal.BasicStream os__ = og__.ostr();
  22626. os__.writeString(action);
  22627. if (usr == null)
  22628. {
  22629. Murmur.User tmp__ = new Murmur.User();
  22630. tmp__.write__(os__);
  22631. }
  22632. else
  22633. {
  22634. usr.write__(os__);
  22635. }
  22636. os__.writeInt(session);
  22637. os__.writeInt(channelid);
  22638. }
  22639. catch (Ice.LocalException ex__)
  22640. {
  22641. og__.abort(ex__);
  22642. }
  22643. bool ok__ = og__.invoke();
  22644. if (!og__.istr().isEmpty())
  22645. {
  22646. try
  22647. {
  22648. if (!ok__)
  22649. {
  22650. try
  22651. {
  22652. og__.throwUserException();
  22653. }
  22654. catch (Ice.UserException ex__)
  22655. {
  22656. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22657. }
  22658. }
  22659. og__.istr().skipEmptyEncaps();
  22660. }
  22661. catch (Ice.LocalException ex__)
  22662. {
  22663. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22664. }
  22665. }
  22666. }
  22667. finally
  22668. {
  22669. handler__.reclaimOutgoing(og__);
  22670. }
  22671. }
  22672. }
  22673.  
  22674. [_System.Runtime.InteropServices.ComVisible(false)]
  22675. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22676. public sealed class ServerAuthenticatorDelM_ : Ice.ObjectDelM_, ServerAuthenticatorDel_
  22677. {
  22678. public int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, _System.Collections.Generic.Dictionary<string, string> context__)
  22679. {
  22680. IceInternal.Outgoing og__ = handler__.getOutgoing("authenticate", Ice.OperationMode.Idempotent, context__);
  22681. try
  22682. {
  22683. try
  22684. {
  22685. IceInternal.BasicStream os__ = og__.ostr();
  22686. os__.writeString(name);
  22687. os__.writeString(pw);
  22688. if (certificates == null)
  22689. {
  22690. os__.writeSize(0);
  22691. }
  22692. else
  22693. {
  22694. os__.writeSize(certificates.Length);
  22695. for (int ix__ = 0; ix__ < certificates.Length; ++ix__)
  22696. {
  22697. Murmur.CertificateDerHelper.write(os__, certificates[ix__]);
  22698. }
  22699. }
  22700. os__.writeString(certhash);
  22701. os__.writeBool(certstrong);
  22702. }
  22703. catch (Ice.LocalException ex__)
  22704. {
  22705. og__.abort(ex__);
  22706. }
  22707. bool ok__ = og__.invoke();
  22708. try
  22709. {
  22710. if (!ok__)
  22711. {
  22712. try
  22713. {
  22714. og__.throwUserException();
  22715. }
  22716. catch (Ice.UserException ex__)
  22717. {
  22718. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22719. }
  22720. }
  22721. IceInternal.BasicStream is__ = og__.istr();
  22722. is__.startReadEncaps();
  22723. newname = is__.readString();
  22724. groups = is__.readStringSeq();
  22725. int ret__;
  22726. ret__ = is__.readInt();
  22727. is__.endReadEncaps();
  22728. return ret__;
  22729. }
  22730. catch (Ice.LocalException ex__)
  22731. {
  22732. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22733. }
  22734. }
  22735. finally
  22736. {
  22737. handler__.reclaimOutgoing(og__);
  22738. }
  22739. }
  22740.  
  22741. public bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  22742. {
  22743. IceInternal.Outgoing og__ = handler__.getOutgoing("getInfo", Ice.OperationMode.Idempotent, context__);
  22744. try
  22745. {
  22746. try
  22747. {
  22748. IceInternal.BasicStream os__ = og__.ostr();
  22749. os__.writeInt(id);
  22750. }
  22751. catch (Ice.LocalException ex__)
  22752. {
  22753. og__.abort(ex__);
  22754. }
  22755. bool ok__ = og__.invoke();
  22756. try
  22757. {
  22758. if (!ok__)
  22759. {
  22760. try
  22761. {
  22762. og__.throwUserException();
  22763. }
  22764. catch (Ice.UserException ex__)
  22765. {
  22766. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22767. }
  22768. }
  22769. IceInternal.BasicStream is__ = og__.istr();
  22770. is__.startReadEncaps();
  22771. info = Murmur.UserInfoMapHelper.read(is__);
  22772. bool ret__;
  22773. ret__ = is__.readBool();
  22774. is__.endReadEncaps();
  22775. return ret__;
  22776. }
  22777. catch (Ice.LocalException ex__)
  22778. {
  22779. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22780. }
  22781. }
  22782. finally
  22783. {
  22784. handler__.reclaimOutgoing(og__);
  22785. }
  22786. }
  22787.  
  22788. public string idToName(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  22789. {
  22790. IceInternal.Outgoing og__ = handler__.getOutgoing("idToName", Ice.OperationMode.Idempotent, context__);
  22791. try
  22792. {
  22793. try
  22794. {
  22795. IceInternal.BasicStream os__ = og__.ostr();
  22796. os__.writeInt(id);
  22797. }
  22798. catch (Ice.LocalException ex__)
  22799. {
  22800. og__.abort(ex__);
  22801. }
  22802. bool ok__ = og__.invoke();
  22803. try
  22804. {
  22805. if (!ok__)
  22806. {
  22807. try
  22808. {
  22809. og__.throwUserException();
  22810. }
  22811. catch (Ice.UserException ex__)
  22812. {
  22813. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22814. }
  22815. }
  22816. IceInternal.BasicStream is__ = og__.istr();
  22817. is__.startReadEncaps();
  22818. string ret__;
  22819. ret__ = is__.readString();
  22820. is__.endReadEncaps();
  22821. return ret__;
  22822. }
  22823. catch (Ice.LocalException ex__)
  22824. {
  22825. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22826. }
  22827. }
  22828. finally
  22829. {
  22830. handler__.reclaimOutgoing(og__);
  22831. }
  22832. }
  22833.  
  22834. public byte[] idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  22835. {
  22836. IceInternal.Outgoing og__ = handler__.getOutgoing("idToTexture", Ice.OperationMode.Idempotent, context__);
  22837. try
  22838. {
  22839. try
  22840. {
  22841. IceInternal.BasicStream os__ = og__.ostr();
  22842. os__.writeInt(id);
  22843. }
  22844. catch (Ice.LocalException ex__)
  22845. {
  22846. og__.abort(ex__);
  22847. }
  22848. bool ok__ = og__.invoke();
  22849. try
  22850. {
  22851. if (!ok__)
  22852. {
  22853. try
  22854. {
  22855. og__.throwUserException();
  22856. }
  22857. catch (Ice.UserException ex__)
  22858. {
  22859. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22860. }
  22861. }
  22862. IceInternal.BasicStream is__ = og__.istr();
  22863. is__.startReadEncaps();
  22864. byte[] ret__;
  22865. ret__ = is__.readByteSeq();
  22866. is__.endReadEncaps();
  22867. return ret__;
  22868. }
  22869. catch (Ice.LocalException ex__)
  22870. {
  22871. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22872. }
  22873. }
  22874. finally
  22875. {
  22876. handler__.reclaimOutgoing(og__);
  22877. }
  22878. }
  22879.  
  22880. public int nameToId(string name, _System.Collections.Generic.Dictionary<string, string> context__)
  22881. {
  22882. IceInternal.Outgoing og__ = handler__.getOutgoing("nameToId", Ice.OperationMode.Idempotent, context__);
  22883. try
  22884. {
  22885. try
  22886. {
  22887. IceInternal.BasicStream os__ = og__.ostr();
  22888. os__.writeString(name);
  22889. }
  22890. catch (Ice.LocalException ex__)
  22891. {
  22892. og__.abort(ex__);
  22893. }
  22894. bool ok__ = og__.invoke();
  22895. try
  22896. {
  22897. if (!ok__)
  22898. {
  22899. try
  22900. {
  22901. og__.throwUserException();
  22902. }
  22903. catch (Ice.UserException ex__)
  22904. {
  22905. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22906. }
  22907. }
  22908. IceInternal.BasicStream is__ = og__.istr();
  22909. is__.startReadEncaps();
  22910. int ret__;
  22911. ret__ = is__.readInt();
  22912. is__.endReadEncaps();
  22913. return ret__;
  22914. }
  22915. catch (Ice.LocalException ex__)
  22916. {
  22917. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22918. }
  22919. }
  22920. finally
  22921. {
  22922. handler__.reclaimOutgoing(og__);
  22923. }
  22924. }
  22925. }
  22926.  
  22927. [_System.Runtime.InteropServices.ComVisible(false)]
  22928. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  22929. public sealed class ServerUpdatingAuthenticatorDelM_ : Ice.ObjectDelM_, ServerUpdatingAuthenticatorDel_
  22930. {
  22931. public int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, _System.Collections.Generic.Dictionary<string, string> context__)
  22932. {
  22933. IceInternal.Outgoing og__ = handler__.getOutgoing("authenticate", Ice.OperationMode.Idempotent, context__);
  22934. try
  22935. {
  22936. try
  22937. {
  22938. IceInternal.BasicStream os__ = og__.ostr();
  22939. os__.writeString(name);
  22940. os__.writeString(pw);
  22941. if (certificates == null)
  22942. {
  22943. os__.writeSize(0);
  22944. }
  22945. else
  22946. {
  22947. os__.writeSize(certificates.Length);
  22948. for (int ix__ = 0; ix__ < certificates.Length; ++ix__)
  22949. {
  22950. Murmur.CertificateDerHelper.write(os__, certificates[ix__]);
  22951. }
  22952. }
  22953. os__.writeString(certhash);
  22954. os__.writeBool(certstrong);
  22955. }
  22956. catch (Ice.LocalException ex__)
  22957. {
  22958. og__.abort(ex__);
  22959. }
  22960. bool ok__ = og__.invoke();
  22961. try
  22962. {
  22963. if (!ok__)
  22964. {
  22965. try
  22966. {
  22967. og__.throwUserException();
  22968. }
  22969. catch (Ice.UserException ex__)
  22970. {
  22971. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  22972. }
  22973. }
  22974. IceInternal.BasicStream is__ = og__.istr();
  22975. is__.startReadEncaps();
  22976. newname = is__.readString();
  22977. groups = is__.readStringSeq();
  22978. int ret__;
  22979. ret__ = is__.readInt();
  22980. is__.endReadEncaps();
  22981. return ret__;
  22982. }
  22983. catch (Ice.LocalException ex__)
  22984. {
  22985. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  22986. }
  22987. }
  22988. finally
  22989. {
  22990. handler__.reclaimOutgoing(og__);
  22991. }
  22992. }
  22993.  
  22994. public bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  22995. {
  22996. IceInternal.Outgoing og__ = handler__.getOutgoing("getInfo", Ice.OperationMode.Idempotent, context__);
  22997. try
  22998. {
  22999. try
  23000. {
  23001. IceInternal.BasicStream os__ = og__.ostr();
  23002. os__.writeInt(id);
  23003. }
  23004. catch (Ice.LocalException ex__)
  23005. {
  23006. og__.abort(ex__);
  23007. }
  23008. bool ok__ = og__.invoke();
  23009. try
  23010. {
  23011. if (!ok__)
  23012. {
  23013. try
  23014. {
  23015. og__.throwUserException();
  23016. }
  23017. catch (Ice.UserException ex__)
  23018. {
  23019. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23020. }
  23021. }
  23022. IceInternal.BasicStream is__ = og__.istr();
  23023. is__.startReadEncaps();
  23024. info = Murmur.UserInfoMapHelper.read(is__);
  23025. bool ret__;
  23026. ret__ = is__.readBool();
  23027. is__.endReadEncaps();
  23028. return ret__;
  23029. }
  23030. catch (Ice.LocalException ex__)
  23031. {
  23032. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23033. }
  23034. }
  23035. finally
  23036. {
  23037. handler__.reclaimOutgoing(og__);
  23038. }
  23039. }
  23040.  
  23041. public string idToName(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  23042. {
  23043. IceInternal.Outgoing og__ = handler__.getOutgoing("idToName", Ice.OperationMode.Idempotent, context__);
  23044. try
  23045. {
  23046. try
  23047. {
  23048. IceInternal.BasicStream os__ = og__.ostr();
  23049. os__.writeInt(id);
  23050. }
  23051. catch (Ice.LocalException ex__)
  23052. {
  23053. og__.abort(ex__);
  23054. }
  23055. bool ok__ = og__.invoke();
  23056. try
  23057. {
  23058. if (!ok__)
  23059. {
  23060. try
  23061. {
  23062. og__.throwUserException();
  23063. }
  23064. catch (Ice.UserException ex__)
  23065. {
  23066. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23067. }
  23068. }
  23069. IceInternal.BasicStream is__ = og__.istr();
  23070. is__.startReadEncaps();
  23071. string ret__;
  23072. ret__ = is__.readString();
  23073. is__.endReadEncaps();
  23074. return ret__;
  23075. }
  23076. catch (Ice.LocalException ex__)
  23077. {
  23078. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23079. }
  23080. }
  23081. finally
  23082. {
  23083. handler__.reclaimOutgoing(og__);
  23084. }
  23085. }
  23086.  
  23087. public byte[] idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  23088. {
  23089. IceInternal.Outgoing og__ = handler__.getOutgoing("idToTexture", Ice.OperationMode.Idempotent, context__);
  23090. try
  23091. {
  23092. try
  23093. {
  23094. IceInternal.BasicStream os__ = og__.ostr();
  23095. os__.writeInt(id);
  23096. }
  23097. catch (Ice.LocalException ex__)
  23098. {
  23099. og__.abort(ex__);
  23100. }
  23101. bool ok__ = og__.invoke();
  23102. try
  23103. {
  23104. if (!ok__)
  23105. {
  23106. try
  23107. {
  23108. og__.throwUserException();
  23109. }
  23110. catch (Ice.UserException ex__)
  23111. {
  23112. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23113. }
  23114. }
  23115. IceInternal.BasicStream is__ = og__.istr();
  23116. is__.startReadEncaps();
  23117. byte[] ret__;
  23118. ret__ = is__.readByteSeq();
  23119. is__.endReadEncaps();
  23120. return ret__;
  23121. }
  23122. catch (Ice.LocalException ex__)
  23123. {
  23124. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23125. }
  23126. }
  23127. finally
  23128. {
  23129. handler__.reclaimOutgoing(og__);
  23130. }
  23131. }
  23132.  
  23133. public int nameToId(string name, _System.Collections.Generic.Dictionary<string, string> context__)
  23134. {
  23135. IceInternal.Outgoing og__ = handler__.getOutgoing("nameToId", Ice.OperationMode.Idempotent, context__);
  23136. try
  23137. {
  23138. try
  23139. {
  23140. IceInternal.BasicStream os__ = og__.ostr();
  23141. os__.writeString(name);
  23142. }
  23143. catch (Ice.LocalException ex__)
  23144. {
  23145. og__.abort(ex__);
  23146. }
  23147. bool ok__ = og__.invoke();
  23148. try
  23149. {
  23150. if (!ok__)
  23151. {
  23152. try
  23153. {
  23154. og__.throwUserException();
  23155. }
  23156. catch (Ice.UserException ex__)
  23157. {
  23158. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23159. }
  23160. }
  23161. IceInternal.BasicStream is__ = og__.istr();
  23162. is__.startReadEncaps();
  23163. int ret__;
  23164. ret__ = is__.readInt();
  23165. is__.endReadEncaps();
  23166. return ret__;
  23167. }
  23168. catch (Ice.LocalException ex__)
  23169. {
  23170. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23171. }
  23172. }
  23173. finally
  23174. {
  23175. handler__.reclaimOutgoing(og__);
  23176. }
  23177. }
  23178.  
  23179. public _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__)
  23180. {
  23181. IceInternal.Outgoing og__ = handler__.getOutgoing("getRegisteredUsers", Ice.OperationMode.Idempotent, context__);
  23182. try
  23183. {
  23184. try
  23185. {
  23186. IceInternal.BasicStream os__ = og__.ostr();
  23187. os__.writeString(filter);
  23188. }
  23189. catch (Ice.LocalException ex__)
  23190. {
  23191. og__.abort(ex__);
  23192. }
  23193. bool ok__ = og__.invoke();
  23194. try
  23195. {
  23196. if (!ok__)
  23197. {
  23198. try
  23199. {
  23200. og__.throwUserException();
  23201. }
  23202. catch (Ice.UserException ex__)
  23203. {
  23204. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23205. }
  23206. }
  23207. IceInternal.BasicStream is__ = og__.istr();
  23208. is__.startReadEncaps();
  23209. _System.Collections.Generic.Dictionary<int, string> ret__;
  23210. ret__ = Murmur.NameMapHelper.read(is__);
  23211. is__.endReadEncaps();
  23212. return ret__;
  23213. }
  23214. catch (Ice.LocalException ex__)
  23215. {
  23216. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23217. }
  23218. }
  23219. finally
  23220. {
  23221. handler__.reclaimOutgoing(og__);
  23222. }
  23223. }
  23224.  
  23225. public int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  23226. {
  23227. IceInternal.Outgoing og__ = handler__.getOutgoing("registerUser", Ice.OperationMode.Normal, context__);
  23228. try
  23229. {
  23230. try
  23231. {
  23232. IceInternal.BasicStream os__ = og__.ostr();
  23233. Murmur.UserInfoMapHelper.write(os__, info);
  23234. }
  23235. catch (Ice.LocalException ex__)
  23236. {
  23237. og__.abort(ex__);
  23238. }
  23239. bool ok__ = og__.invoke();
  23240. try
  23241. {
  23242. if (!ok__)
  23243. {
  23244. try
  23245. {
  23246. og__.throwUserException();
  23247. }
  23248. catch (Ice.UserException ex__)
  23249. {
  23250. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23251. }
  23252. }
  23253. IceInternal.BasicStream is__ = og__.istr();
  23254. is__.startReadEncaps();
  23255. int ret__;
  23256. ret__ = is__.readInt();
  23257. is__.endReadEncaps();
  23258. return ret__;
  23259. }
  23260. catch (Ice.LocalException ex__)
  23261. {
  23262. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23263. }
  23264. }
  23265. finally
  23266. {
  23267. handler__.reclaimOutgoing(og__);
  23268. }
  23269. }
  23270.  
  23271. public int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  23272. {
  23273. IceInternal.Outgoing og__ = handler__.getOutgoing("setInfo", Ice.OperationMode.Idempotent, context__);
  23274. try
  23275. {
  23276. try
  23277. {
  23278. IceInternal.BasicStream os__ = og__.ostr();
  23279. os__.writeInt(id);
  23280. Murmur.UserInfoMapHelper.write(os__, info);
  23281. }
  23282. catch (Ice.LocalException ex__)
  23283. {
  23284. og__.abort(ex__);
  23285. }
  23286. bool ok__ = og__.invoke();
  23287. try
  23288. {
  23289. if (!ok__)
  23290. {
  23291. try
  23292. {
  23293. og__.throwUserException();
  23294. }
  23295. catch (Ice.UserException ex__)
  23296. {
  23297. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23298. }
  23299. }
  23300. IceInternal.BasicStream is__ = og__.istr();
  23301. is__.startReadEncaps();
  23302. int ret__;
  23303. ret__ = is__.readInt();
  23304. is__.endReadEncaps();
  23305. return ret__;
  23306. }
  23307. catch (Ice.LocalException ex__)
  23308. {
  23309. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23310. }
  23311. }
  23312. finally
  23313. {
  23314. handler__.reclaimOutgoing(og__);
  23315. }
  23316. }
  23317.  
  23318. public int setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__)
  23319. {
  23320. IceInternal.Outgoing og__ = handler__.getOutgoing("setTexture", Ice.OperationMode.Idempotent, context__);
  23321. try
  23322. {
  23323. try
  23324. {
  23325. IceInternal.BasicStream os__ = og__.ostr();
  23326. os__.writeInt(id);
  23327. os__.writeByteSeq(tex);
  23328. }
  23329. catch (Ice.LocalException ex__)
  23330. {
  23331. og__.abort(ex__);
  23332. }
  23333. bool ok__ = og__.invoke();
  23334. try
  23335. {
  23336. if (!ok__)
  23337. {
  23338. try
  23339. {
  23340. og__.throwUserException();
  23341. }
  23342. catch (Ice.UserException ex__)
  23343. {
  23344. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23345. }
  23346. }
  23347. IceInternal.BasicStream is__ = og__.istr();
  23348. is__.startReadEncaps();
  23349. int ret__;
  23350. ret__ = is__.readInt();
  23351. is__.endReadEncaps();
  23352. return ret__;
  23353. }
  23354. catch (Ice.LocalException ex__)
  23355. {
  23356. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23357. }
  23358. }
  23359. finally
  23360. {
  23361. handler__.reclaimOutgoing(og__);
  23362. }
  23363. }
  23364.  
  23365. public int unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  23366. {
  23367. IceInternal.Outgoing og__ = handler__.getOutgoing("unregisterUser", Ice.OperationMode.Normal, context__);
  23368. try
  23369. {
  23370. try
  23371. {
  23372. IceInternal.BasicStream os__ = og__.ostr();
  23373. os__.writeInt(id);
  23374. }
  23375. catch (Ice.LocalException ex__)
  23376. {
  23377. og__.abort(ex__);
  23378. }
  23379. bool ok__ = og__.invoke();
  23380. try
  23381. {
  23382. if (!ok__)
  23383. {
  23384. try
  23385. {
  23386. og__.throwUserException();
  23387. }
  23388. catch (Ice.UserException ex__)
  23389. {
  23390. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23391. }
  23392. }
  23393. IceInternal.BasicStream is__ = og__.istr();
  23394. is__.startReadEncaps();
  23395. int ret__;
  23396. ret__ = is__.readInt();
  23397. is__.endReadEncaps();
  23398. return ret__;
  23399. }
  23400. catch (Ice.LocalException ex__)
  23401. {
  23402. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23403. }
  23404. }
  23405. finally
  23406. {
  23407. handler__.reclaimOutgoing(og__);
  23408. }
  23409. }
  23410. }
  23411.  
  23412. [_System.Runtime.InteropServices.ComVisible(false)]
  23413. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  23414. public sealed class ServerDelM_ : Ice.ObjectDelM_, ServerDel_
  23415. {
  23416. public void addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  23417. {
  23418. IceInternal.Outgoing og__ = handler__.getOutgoing("addCallback", Ice.OperationMode.Normal, context__);
  23419. try
  23420. {
  23421. try
  23422. {
  23423. IceInternal.BasicStream os__ = og__.ostr();
  23424. Murmur.ServerCallbackPrxHelper.write__(os__, cb);
  23425. }
  23426. catch (Ice.LocalException ex__)
  23427. {
  23428. og__.abort(ex__);
  23429. }
  23430. bool ok__ = og__.invoke();
  23431. try
  23432. {
  23433. if (!ok__)
  23434. {
  23435. try
  23436. {
  23437. og__.throwUserException();
  23438. }
  23439. catch (Murmur.InvalidCallbackException)
  23440. {
  23441. throw;
  23442. }
  23443. catch (Murmur.InvalidSecretException)
  23444. {
  23445. throw;
  23446. }
  23447. catch (Murmur.ServerBootedException)
  23448. {
  23449. throw;
  23450. }
  23451. catch (Ice.UserException ex__)
  23452. {
  23453. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23454. }
  23455. }
  23456. og__.istr().skipEmptyEncaps();
  23457. }
  23458. catch (Ice.LocalException ex__)
  23459. {
  23460. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23461. }
  23462. }
  23463. finally
  23464. {
  23465. handler__.reclaimOutgoing(og__);
  23466. }
  23467. }
  23468.  
  23469. public int addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> context__)
  23470. {
  23471. IceInternal.Outgoing og__ = handler__.getOutgoing("addChannel", Ice.OperationMode.Normal, context__);
  23472. try
  23473. {
  23474. try
  23475. {
  23476. IceInternal.BasicStream os__ = og__.ostr();
  23477. os__.writeString(name);
  23478. os__.writeInt(parent);
  23479. }
  23480. catch (Ice.LocalException ex__)
  23481. {
  23482. og__.abort(ex__);
  23483. }
  23484. bool ok__ = og__.invoke();
  23485. try
  23486. {
  23487. if (!ok__)
  23488. {
  23489. try
  23490. {
  23491. og__.throwUserException();
  23492. }
  23493. catch (Murmur.InvalidChannelException)
  23494. {
  23495. throw;
  23496. }
  23497. catch (Murmur.InvalidSecretException)
  23498. {
  23499. throw;
  23500. }
  23501. catch (Murmur.NestingLimitException)
  23502. {
  23503. throw;
  23504. }
  23505. catch (Murmur.ServerBootedException)
  23506. {
  23507. throw;
  23508. }
  23509. catch (Ice.UserException ex__)
  23510. {
  23511. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23512. }
  23513. }
  23514. IceInternal.BasicStream is__ = og__.istr();
  23515. is__.startReadEncaps();
  23516. int ret__;
  23517. ret__ = is__.readInt();
  23518. is__.endReadEncaps();
  23519. return ret__;
  23520. }
  23521. catch (Ice.LocalException ex__)
  23522. {
  23523. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23524. }
  23525. }
  23526. finally
  23527. {
  23528. handler__.reclaimOutgoing(og__);
  23529. }
  23530. }
  23531.  
  23532. public void addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> context__)
  23533. {
  23534. IceInternal.Outgoing og__ = handler__.getOutgoing("addContextCallback", Ice.OperationMode.Normal, context__);
  23535. try
  23536. {
  23537. try
  23538. {
  23539. IceInternal.BasicStream os__ = og__.ostr();
  23540. os__.writeInt(session);
  23541. os__.writeString(action);
  23542. os__.writeString(text);
  23543. Murmur.ServerContextCallbackPrxHelper.write__(os__, cb);
  23544. os__.writeInt(ctx);
  23545. }
  23546. catch (Ice.LocalException ex__)
  23547. {
  23548. og__.abort(ex__);
  23549. }
  23550. bool ok__ = og__.invoke();
  23551. try
  23552. {
  23553. if (!ok__)
  23554. {
  23555. try
  23556. {
  23557. og__.throwUserException();
  23558. }
  23559. catch (Murmur.InvalidCallbackException)
  23560. {
  23561. throw;
  23562. }
  23563. catch (Murmur.InvalidSecretException)
  23564. {
  23565. throw;
  23566. }
  23567. catch (Murmur.ServerBootedException)
  23568. {
  23569. throw;
  23570. }
  23571. catch (Ice.UserException ex__)
  23572. {
  23573. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23574. }
  23575. }
  23576. og__.istr().skipEmptyEncaps();
  23577. }
  23578. catch (Ice.LocalException ex__)
  23579. {
  23580. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23581. }
  23582. }
  23583. finally
  23584. {
  23585. handler__.reclaimOutgoing(og__);
  23586. }
  23587. }
  23588.  
  23589. public void addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__)
  23590. {
  23591. IceInternal.Outgoing og__ = handler__.getOutgoing("addUserToGroup", Ice.OperationMode.Idempotent, context__);
  23592. try
  23593. {
  23594. try
  23595. {
  23596. IceInternal.BasicStream os__ = og__.ostr();
  23597. os__.writeInt(channelid);
  23598. os__.writeInt(session);
  23599. os__.writeString(group);
  23600. }
  23601. catch (Ice.LocalException ex__)
  23602. {
  23603. og__.abort(ex__);
  23604. }
  23605. bool ok__ = og__.invoke();
  23606. try
  23607. {
  23608. if (!ok__)
  23609. {
  23610. try
  23611. {
  23612. og__.throwUserException();
  23613. }
  23614. catch (Murmur.InvalidChannelException)
  23615. {
  23616. throw;
  23617. }
  23618. catch (Murmur.InvalidSecretException)
  23619. {
  23620. throw;
  23621. }
  23622. catch (Murmur.InvalidSessionException)
  23623. {
  23624. throw;
  23625. }
  23626. catch (Murmur.ServerBootedException)
  23627. {
  23628. throw;
  23629. }
  23630. catch (Ice.UserException ex__)
  23631. {
  23632. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23633. }
  23634. }
  23635. og__.istr().skipEmptyEncaps();
  23636. }
  23637. catch (Ice.LocalException ex__)
  23638. {
  23639. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23640. }
  23641. }
  23642. finally
  23643. {
  23644. handler__.reclaimOutgoing(og__);
  23645. }
  23646. }
  23647.  
  23648. public void delete(_System.Collections.Generic.Dictionary<string, string> context__)
  23649. {
  23650. IceInternal.Outgoing og__ = handler__.getOutgoing("delete", Ice.OperationMode.Normal, context__);
  23651. try
  23652. {
  23653. bool ok__ = og__.invoke();
  23654. try
  23655. {
  23656. if (!ok__)
  23657. {
  23658. try
  23659. {
  23660. og__.throwUserException();
  23661. }
  23662. catch (Murmur.InvalidSecretException)
  23663. {
  23664. throw;
  23665. }
  23666. catch (Murmur.ServerBootedException)
  23667. {
  23668. throw;
  23669. }
  23670. catch (Ice.UserException ex__)
  23671. {
  23672. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23673. }
  23674. }
  23675. og__.istr().skipEmptyEncaps();
  23676. }
  23677. catch (Ice.LocalException ex__)
  23678. {
  23679. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23680. }
  23681. }
  23682. finally
  23683. {
  23684. handler__.reclaimOutgoing(og__);
  23685. }
  23686. }
  23687.  
  23688. public int effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  23689. {
  23690. IceInternal.Outgoing og__ = handler__.getOutgoing("effectivePermissions", Ice.OperationMode.Idempotent, context__);
  23691. try
  23692. {
  23693. try
  23694. {
  23695. IceInternal.BasicStream os__ = og__.ostr();
  23696. os__.writeInt(session);
  23697. os__.writeInt(channelid);
  23698. }
  23699. catch (Ice.LocalException ex__)
  23700. {
  23701. og__.abort(ex__);
  23702. }
  23703. bool ok__ = og__.invoke();
  23704. try
  23705. {
  23706. if (!ok__)
  23707. {
  23708. try
  23709. {
  23710. og__.throwUserException();
  23711. }
  23712. catch (Murmur.InvalidChannelException)
  23713. {
  23714. throw;
  23715. }
  23716. catch (Murmur.InvalidSecretException)
  23717. {
  23718. throw;
  23719. }
  23720. catch (Murmur.InvalidSessionException)
  23721. {
  23722. throw;
  23723. }
  23724. catch (Murmur.ServerBootedException)
  23725. {
  23726. throw;
  23727. }
  23728. catch (Ice.UserException ex__)
  23729. {
  23730. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23731. }
  23732. }
  23733. IceInternal.BasicStream is__ = og__.istr();
  23734. is__.startReadEncaps();
  23735. int ret__;
  23736. ret__ = is__.readInt();
  23737. is__.endReadEncaps();
  23738. return ret__;
  23739. }
  23740. catch (Ice.LocalException ex__)
  23741. {
  23742. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23743. }
  23744. }
  23745. finally
  23746. {
  23747. handler__.reclaimOutgoing(og__);
  23748. }
  23749. }
  23750.  
  23751. public void getACL(int channelid, out Murmur.ACL[] acls, out Murmur.Group[] groups, out bool inherit, _System.Collections.Generic.Dictionary<string, string> context__)
  23752. {
  23753. IceInternal.Outgoing og__ = handler__.getOutgoing("getACL", Ice.OperationMode.Idempotent, context__);
  23754. try
  23755. {
  23756. try
  23757. {
  23758. IceInternal.BasicStream os__ = og__.ostr();
  23759. os__.writeInt(channelid);
  23760. }
  23761. catch (Ice.LocalException ex__)
  23762. {
  23763. og__.abort(ex__);
  23764. }
  23765. bool ok__ = og__.invoke();
  23766. try
  23767. {
  23768. if (!ok__)
  23769. {
  23770. try
  23771. {
  23772. og__.throwUserException();
  23773. }
  23774. catch (Murmur.InvalidChannelException)
  23775. {
  23776. throw;
  23777. }
  23778. catch (Murmur.InvalidSecretException)
  23779. {
  23780. throw;
  23781. }
  23782. catch (Murmur.ServerBootedException)
  23783. {
  23784. throw;
  23785. }
  23786. catch (Ice.UserException ex__)
  23787. {
  23788. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23789. }
  23790. }
  23791. IceInternal.BasicStream is__ = og__.istr();
  23792. is__.startReadEncaps();
  23793. {
  23794. int szx__ = is__.readAndCheckSeqSize(16);
  23795. acls = new Murmur.ACL[szx__];
  23796. for (int ix__ = 0; ix__ < szx__; ++ix__)
  23797. {
  23798. acls[ix__] = new Murmur.ACL();
  23799. acls[ix__].read__(is__);
  23800. }
  23801. }
  23802. {
  23803. int szx__ = is__.readAndCheckSeqSize(7);
  23804. groups = new Murmur.Group[szx__];
  23805. for (int ix__ = 0; ix__ < szx__; ++ix__)
  23806. {
  23807. groups[ix__] = new Murmur.Group();
  23808. groups[ix__].read__(is__);
  23809. }
  23810. }
  23811. inherit = is__.readBool();
  23812. is__.endReadEncaps();
  23813. }
  23814. catch (Ice.LocalException ex__)
  23815. {
  23816. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23817. }
  23818. }
  23819. finally
  23820. {
  23821. handler__.reclaimOutgoing(og__);
  23822. }
  23823. }
  23824.  
  23825. public _System.Collections.Generic.Dictionary<string, string> getAllConf(_System.Collections.Generic.Dictionary<string, string> context__)
  23826. {
  23827. IceInternal.Outgoing og__ = handler__.getOutgoing("getAllConf", Ice.OperationMode.Idempotent, context__);
  23828. try
  23829. {
  23830. bool ok__ = og__.invoke();
  23831. try
  23832. {
  23833. if (!ok__)
  23834. {
  23835. try
  23836. {
  23837. og__.throwUserException();
  23838. }
  23839. catch (Murmur.InvalidSecretException)
  23840. {
  23841. throw;
  23842. }
  23843. catch (Ice.UserException ex__)
  23844. {
  23845. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23846. }
  23847. }
  23848. IceInternal.BasicStream is__ = og__.istr();
  23849. is__.startReadEncaps();
  23850. _System.Collections.Generic.Dictionary<string, string> ret__;
  23851. ret__ = Murmur.ConfigMapHelper.read(is__);
  23852. is__.endReadEncaps();
  23853. return ret__;
  23854. }
  23855. catch (Ice.LocalException ex__)
  23856. {
  23857. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23858. }
  23859. }
  23860. finally
  23861. {
  23862. handler__.reclaimOutgoing(og__);
  23863. }
  23864. }
  23865.  
  23866. public Murmur.Ban[] getBans(_System.Collections.Generic.Dictionary<string, string> context__)
  23867. {
  23868. IceInternal.Outgoing og__ = handler__.getOutgoing("getBans", Ice.OperationMode.Idempotent, context__);
  23869. try
  23870. {
  23871. bool ok__ = og__.invoke();
  23872. try
  23873. {
  23874. if (!ok__)
  23875. {
  23876. try
  23877. {
  23878. og__.throwUserException();
  23879. }
  23880. catch (Murmur.InvalidSecretException)
  23881. {
  23882. throw;
  23883. }
  23884. catch (Murmur.ServerBootedException)
  23885. {
  23886. throw;
  23887. }
  23888. catch (Ice.UserException ex__)
  23889. {
  23890. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23891. }
  23892. }
  23893. IceInternal.BasicStream is__ = og__.istr();
  23894. is__.startReadEncaps();
  23895. Murmur.Ban[] ret__;
  23896. {
  23897. int szx__ = is__.readAndCheckSeqSize(16);
  23898. ret__ = new Murmur.Ban[szx__];
  23899. for (int ix__ = 0; ix__ < szx__; ++ix__)
  23900. {
  23901. ret__[ix__] = new Murmur.Ban();
  23902. ret__[ix__].read__(is__);
  23903. }
  23904. }
  23905. is__.endReadEncaps();
  23906. return ret__;
  23907. }
  23908. catch (Ice.LocalException ex__)
  23909. {
  23910. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23911. }
  23912. }
  23913. finally
  23914. {
  23915. handler__.reclaimOutgoing(og__);
  23916. }
  23917. }
  23918.  
  23919. public byte[][] getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> context__)
  23920. {
  23921. IceInternal.Outgoing og__ = handler__.getOutgoing("getCertificateList", Ice.OperationMode.Idempotent, context__);
  23922. try
  23923. {
  23924. try
  23925. {
  23926. IceInternal.BasicStream os__ = og__.ostr();
  23927. os__.writeInt(session);
  23928. }
  23929. catch (Ice.LocalException ex__)
  23930. {
  23931. og__.abort(ex__);
  23932. }
  23933. bool ok__ = og__.invoke();
  23934. try
  23935. {
  23936. if (!ok__)
  23937. {
  23938. try
  23939. {
  23940. og__.throwUserException();
  23941. }
  23942. catch (Murmur.InvalidSecretException)
  23943. {
  23944. throw;
  23945. }
  23946. catch (Murmur.InvalidSessionException)
  23947. {
  23948. throw;
  23949. }
  23950. catch (Murmur.ServerBootedException)
  23951. {
  23952. throw;
  23953. }
  23954. catch (Ice.UserException ex__)
  23955. {
  23956. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  23957. }
  23958. }
  23959. IceInternal.BasicStream is__ = og__.istr();
  23960. is__.startReadEncaps();
  23961. byte[][] ret__;
  23962. {
  23963. int szx__ = is__.readAndCheckSeqSize(1);
  23964. ret__ = new byte[szx__][];
  23965. for (int ix__ = 0; ix__ < szx__; ++ix__)
  23966. {
  23967. ret__[ix__] = Murmur.CertificateDerHelper.read(is__);
  23968. }
  23969. }
  23970. is__.endReadEncaps();
  23971. return ret__;
  23972. }
  23973. catch (Ice.LocalException ex__)
  23974. {
  23975. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  23976. }
  23977. }
  23978. finally
  23979. {
  23980. handler__.reclaimOutgoing(og__);
  23981. }
  23982. }
  23983.  
  23984. public Murmur.Channel getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  23985. {
  23986. IceInternal.Outgoing og__ = handler__.getOutgoing("getChannelState", Ice.OperationMode.Idempotent, context__);
  23987. try
  23988. {
  23989. try
  23990. {
  23991. IceInternal.BasicStream os__ = og__.ostr();
  23992. os__.writeInt(channelid);
  23993. }
  23994. catch (Ice.LocalException ex__)
  23995. {
  23996. og__.abort(ex__);
  23997. }
  23998. bool ok__ = og__.invoke();
  23999. try
  24000. {
  24001. if (!ok__)
  24002. {
  24003. try
  24004. {
  24005. og__.throwUserException();
  24006. }
  24007. catch (Murmur.InvalidChannelException)
  24008. {
  24009. throw;
  24010. }
  24011. catch (Murmur.InvalidSecretException)
  24012. {
  24013. throw;
  24014. }
  24015. catch (Murmur.ServerBootedException)
  24016. {
  24017. throw;
  24018. }
  24019. catch (Ice.UserException ex__)
  24020. {
  24021. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24022. }
  24023. }
  24024. IceInternal.BasicStream is__ = og__.istr();
  24025. is__.startReadEncaps();
  24026. Murmur.Channel ret__;
  24027. ret__ = null;
  24028. if (ret__ == null)
  24029. {
  24030. ret__ = new Murmur.Channel();
  24031. }
  24032. ret__.read__(is__);
  24033. is__.endReadEncaps();
  24034. return ret__;
  24035. }
  24036. catch (Ice.LocalException ex__)
  24037. {
  24038. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24039. }
  24040. }
  24041. finally
  24042. {
  24043. handler__.reclaimOutgoing(og__);
  24044. }
  24045. }
  24046.  
  24047. public _System.Collections.Generic.Dictionary<int, Murmur.Channel> getChannels(_System.Collections.Generic.Dictionary<string, string> context__)
  24048. {
  24049. IceInternal.Outgoing og__ = handler__.getOutgoing("getChannels", Ice.OperationMode.Idempotent, context__);
  24050. try
  24051. {
  24052. bool ok__ = og__.invoke();
  24053. try
  24054. {
  24055. if (!ok__)
  24056. {
  24057. try
  24058. {
  24059. og__.throwUserException();
  24060. }
  24061. catch (Murmur.InvalidSecretException)
  24062. {
  24063. throw;
  24064. }
  24065. catch (Murmur.ServerBootedException)
  24066. {
  24067. throw;
  24068. }
  24069. catch (Ice.UserException ex__)
  24070. {
  24071. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24072. }
  24073. }
  24074. IceInternal.BasicStream is__ = og__.istr();
  24075. is__.startReadEncaps();
  24076. _System.Collections.Generic.Dictionary<int, Murmur.Channel> ret__;
  24077. ret__ = Murmur.ChannelMapHelper.read(is__);
  24078. is__.endReadEncaps();
  24079. return ret__;
  24080. }
  24081. catch (Ice.LocalException ex__)
  24082. {
  24083. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24084. }
  24085. }
  24086. finally
  24087. {
  24088. handler__.reclaimOutgoing(og__);
  24089. }
  24090. }
  24091.  
  24092. public string getConf(string key, _System.Collections.Generic.Dictionary<string, string> context__)
  24093. {
  24094. IceInternal.Outgoing og__ = handler__.getOutgoing("getConf", Ice.OperationMode.Idempotent, context__);
  24095. try
  24096. {
  24097. try
  24098. {
  24099. IceInternal.BasicStream os__ = og__.ostr();
  24100. os__.writeString(key);
  24101. }
  24102. catch (Ice.LocalException ex__)
  24103. {
  24104. og__.abort(ex__);
  24105. }
  24106. bool ok__ = og__.invoke();
  24107. try
  24108. {
  24109. if (!ok__)
  24110. {
  24111. try
  24112. {
  24113. og__.throwUserException();
  24114. }
  24115. catch (Murmur.InvalidSecretException)
  24116. {
  24117. throw;
  24118. }
  24119. catch (Murmur.WriteOnlyException)
  24120. {
  24121. throw;
  24122. }
  24123. catch (Ice.UserException ex__)
  24124. {
  24125. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24126. }
  24127. }
  24128. IceInternal.BasicStream is__ = og__.istr();
  24129. is__.startReadEncaps();
  24130. string ret__;
  24131. ret__ = is__.readString();
  24132. is__.endReadEncaps();
  24133. return ret__;
  24134. }
  24135. catch (Ice.LocalException ex__)
  24136. {
  24137. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24138. }
  24139. }
  24140. finally
  24141. {
  24142. handler__.reclaimOutgoing(og__);
  24143. }
  24144. }
  24145.  
  24146. public Murmur.LogEntry[] getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> context__)
  24147. {
  24148. IceInternal.Outgoing og__ = handler__.getOutgoing("getLog", Ice.OperationMode.Idempotent, context__);
  24149. try
  24150. {
  24151. try
  24152. {
  24153. IceInternal.BasicStream os__ = og__.ostr();
  24154. os__.writeInt(first);
  24155. os__.writeInt(last);
  24156. }
  24157. catch (Ice.LocalException ex__)
  24158. {
  24159. og__.abort(ex__);
  24160. }
  24161. bool ok__ = og__.invoke();
  24162. try
  24163. {
  24164. if (!ok__)
  24165. {
  24166. try
  24167. {
  24168. og__.throwUserException();
  24169. }
  24170. catch (Murmur.InvalidSecretException)
  24171. {
  24172. throw;
  24173. }
  24174. catch (Ice.UserException ex__)
  24175. {
  24176. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24177. }
  24178. }
  24179. IceInternal.BasicStream is__ = og__.istr();
  24180. is__.startReadEncaps();
  24181. Murmur.LogEntry[] ret__;
  24182. {
  24183. int szx__ = is__.readAndCheckSeqSize(5);
  24184. ret__ = new Murmur.LogEntry[szx__];
  24185. for (int ix__ = 0; ix__ < szx__; ++ix__)
  24186. {
  24187. ret__[ix__] = new Murmur.LogEntry();
  24188. ret__[ix__].read__(is__);
  24189. }
  24190. }
  24191. is__.endReadEncaps();
  24192. return ret__;
  24193. }
  24194. catch (Ice.LocalException ex__)
  24195. {
  24196. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24197. }
  24198. }
  24199. finally
  24200. {
  24201. handler__.reclaimOutgoing(og__);
  24202. }
  24203. }
  24204.  
  24205. public int getLogLen(_System.Collections.Generic.Dictionary<string, string> context__)
  24206. {
  24207. IceInternal.Outgoing og__ = handler__.getOutgoing("getLogLen", Ice.OperationMode.Idempotent, context__);
  24208. try
  24209. {
  24210. bool ok__ = og__.invoke();
  24211. try
  24212. {
  24213. if (!ok__)
  24214. {
  24215. try
  24216. {
  24217. og__.throwUserException();
  24218. }
  24219. catch (Murmur.InvalidSecretException)
  24220. {
  24221. throw;
  24222. }
  24223. catch (Ice.UserException ex__)
  24224. {
  24225. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24226. }
  24227. }
  24228. IceInternal.BasicStream is__ = og__.istr();
  24229. is__.startReadEncaps();
  24230. int ret__;
  24231. ret__ = is__.readInt();
  24232. is__.endReadEncaps();
  24233. return ret__;
  24234. }
  24235. catch (Ice.LocalException ex__)
  24236. {
  24237. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24238. }
  24239. }
  24240. finally
  24241. {
  24242. handler__.reclaimOutgoing(og__);
  24243. }
  24244. }
  24245.  
  24246. public _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__)
  24247. {
  24248. IceInternal.Outgoing og__ = handler__.getOutgoing("getRegisteredUsers", Ice.OperationMode.Idempotent, context__);
  24249. try
  24250. {
  24251. try
  24252. {
  24253. IceInternal.BasicStream os__ = og__.ostr();
  24254. os__.writeString(filter);
  24255. }
  24256. catch (Ice.LocalException ex__)
  24257. {
  24258. og__.abort(ex__);
  24259. }
  24260. bool ok__ = og__.invoke();
  24261. try
  24262. {
  24263. if (!ok__)
  24264. {
  24265. try
  24266. {
  24267. og__.throwUserException();
  24268. }
  24269. catch (Murmur.InvalidSecretException)
  24270. {
  24271. throw;
  24272. }
  24273. catch (Murmur.ServerBootedException)
  24274. {
  24275. throw;
  24276. }
  24277. catch (Ice.UserException ex__)
  24278. {
  24279. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24280. }
  24281. }
  24282. IceInternal.BasicStream is__ = og__.istr();
  24283. is__.startReadEncaps();
  24284. _System.Collections.Generic.Dictionary<int, string> ret__;
  24285. ret__ = Murmur.NameMapHelper.read(is__);
  24286. is__.endReadEncaps();
  24287. return ret__;
  24288. }
  24289. catch (Ice.LocalException ex__)
  24290. {
  24291. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24292. }
  24293. }
  24294. finally
  24295. {
  24296. handler__.reclaimOutgoing(og__);
  24297. }
  24298. }
  24299.  
  24300. public _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> context__)
  24301. {
  24302. IceInternal.Outgoing og__ = handler__.getOutgoing("getRegistration", Ice.OperationMode.Idempotent, context__);
  24303. try
  24304. {
  24305. try
  24306. {
  24307. IceInternal.BasicStream os__ = og__.ostr();
  24308. os__.writeInt(userid);
  24309. }
  24310. catch (Ice.LocalException ex__)
  24311. {
  24312. og__.abort(ex__);
  24313. }
  24314. bool ok__ = og__.invoke();
  24315. try
  24316. {
  24317. if (!ok__)
  24318. {
  24319. try
  24320. {
  24321. og__.throwUserException();
  24322. }
  24323. catch (Murmur.InvalidSecretException)
  24324. {
  24325. throw;
  24326. }
  24327. catch (Murmur.InvalidUserException)
  24328. {
  24329. throw;
  24330. }
  24331. catch (Murmur.ServerBootedException)
  24332. {
  24333. throw;
  24334. }
  24335. catch (Ice.UserException ex__)
  24336. {
  24337. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24338. }
  24339. }
  24340. IceInternal.BasicStream is__ = og__.istr();
  24341. is__.startReadEncaps();
  24342. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> ret__;
  24343. ret__ = Murmur.UserInfoMapHelper.read(is__);
  24344. is__.endReadEncaps();
  24345. return ret__;
  24346. }
  24347. catch (Ice.LocalException ex__)
  24348. {
  24349. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24350. }
  24351. }
  24352. finally
  24353. {
  24354. handler__.reclaimOutgoing(og__);
  24355. }
  24356. }
  24357.  
  24358. public Murmur.User getState(int session, _System.Collections.Generic.Dictionary<string, string> context__)
  24359. {
  24360. IceInternal.Outgoing og__ = handler__.getOutgoing("getState", Ice.OperationMode.Idempotent, context__);
  24361. try
  24362. {
  24363. try
  24364. {
  24365. IceInternal.BasicStream os__ = og__.ostr();
  24366. os__.writeInt(session);
  24367. }
  24368. catch (Ice.LocalException ex__)
  24369. {
  24370. og__.abort(ex__);
  24371. }
  24372. bool ok__ = og__.invoke();
  24373. try
  24374. {
  24375. if (!ok__)
  24376. {
  24377. try
  24378. {
  24379. og__.throwUserException();
  24380. }
  24381. catch (Murmur.InvalidSecretException)
  24382. {
  24383. throw;
  24384. }
  24385. catch (Murmur.InvalidSessionException)
  24386. {
  24387. throw;
  24388. }
  24389. catch (Murmur.ServerBootedException)
  24390. {
  24391. throw;
  24392. }
  24393. catch (Ice.UserException ex__)
  24394. {
  24395. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24396. }
  24397. }
  24398. IceInternal.BasicStream is__ = og__.istr();
  24399. is__.startReadEncaps();
  24400. Murmur.User ret__;
  24401. ret__ = null;
  24402. if (ret__ == null)
  24403. {
  24404. ret__ = new Murmur.User();
  24405. }
  24406. ret__.read__(is__);
  24407. is__.endReadEncaps();
  24408. return ret__;
  24409. }
  24410. catch (Ice.LocalException ex__)
  24411. {
  24412. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24413. }
  24414. }
  24415. finally
  24416. {
  24417. handler__.reclaimOutgoing(og__);
  24418. }
  24419. }
  24420.  
  24421. public byte[] getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> context__)
  24422. {
  24423. IceInternal.Outgoing og__ = handler__.getOutgoing("getTexture", Ice.OperationMode.Idempotent, context__);
  24424. try
  24425. {
  24426. try
  24427. {
  24428. IceInternal.BasicStream os__ = og__.ostr();
  24429. os__.writeInt(userid);
  24430. }
  24431. catch (Ice.LocalException ex__)
  24432. {
  24433. og__.abort(ex__);
  24434. }
  24435. bool ok__ = og__.invoke();
  24436. try
  24437. {
  24438. if (!ok__)
  24439. {
  24440. try
  24441. {
  24442. og__.throwUserException();
  24443. }
  24444. catch (Murmur.InvalidSecretException)
  24445. {
  24446. throw;
  24447. }
  24448. catch (Murmur.InvalidUserException)
  24449. {
  24450. throw;
  24451. }
  24452. catch (Murmur.ServerBootedException)
  24453. {
  24454. throw;
  24455. }
  24456. catch (Ice.UserException ex__)
  24457. {
  24458. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24459. }
  24460. }
  24461. IceInternal.BasicStream is__ = og__.istr();
  24462. is__.startReadEncaps();
  24463. byte[] ret__;
  24464. ret__ = is__.readByteSeq();
  24465. is__.endReadEncaps();
  24466. return ret__;
  24467. }
  24468. catch (Ice.LocalException ex__)
  24469. {
  24470. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24471. }
  24472. }
  24473. finally
  24474. {
  24475. handler__.reclaimOutgoing(og__);
  24476. }
  24477. }
  24478.  
  24479. public Murmur.Tree getTree(_System.Collections.Generic.Dictionary<string, string> context__)
  24480. {
  24481. IceInternal.Outgoing og__ = handler__.getOutgoing("getTree", Ice.OperationMode.Idempotent, context__);
  24482. try
  24483. {
  24484. bool ok__ = og__.invoke();
  24485. try
  24486. {
  24487. if (!ok__)
  24488. {
  24489. try
  24490. {
  24491. og__.throwUserException();
  24492. }
  24493. catch (Murmur.InvalidSecretException)
  24494. {
  24495. throw;
  24496. }
  24497. catch (Murmur.ServerBootedException)
  24498. {
  24499. throw;
  24500. }
  24501. catch (Ice.UserException ex__)
  24502. {
  24503. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24504. }
  24505. }
  24506. IceInternal.BasicStream is__ = og__.istr();
  24507. is__.startReadEncaps();
  24508. Murmur.Tree ret__;
  24509. IceInternal.ParamPatcher<Murmur.Tree> ret___PP = new IceInternal.ParamPatcher<Murmur.Tree>("::Murmur::Tree");
  24510. is__.readObject(ret___PP);
  24511. is__.readPendingObjects();
  24512. is__.endReadEncaps();
  24513. try
  24514. {
  24515. ret__ = (Murmur.Tree)ret___PP.value;
  24516. }
  24517. catch (_System.InvalidCastException)
  24518. {
  24519. ret__ = null;
  24520. IceInternal.Ex.throwUOE(ret___PP.type(), ret___PP.value.ice_id());
  24521. }
  24522. return ret__;
  24523. }
  24524. catch (Ice.LocalException ex__)
  24525. {
  24526. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24527. }
  24528. }
  24529. finally
  24530. {
  24531. handler__.reclaimOutgoing(og__);
  24532. }
  24533. }
  24534.  
  24535. public int getUptime(_System.Collections.Generic.Dictionary<string, string> context__)
  24536. {
  24537. IceInternal.Outgoing og__ = handler__.getOutgoing("getUptime", Ice.OperationMode.Idempotent, context__);
  24538. try
  24539. {
  24540. bool ok__ = og__.invoke();
  24541. try
  24542. {
  24543. if (!ok__)
  24544. {
  24545. try
  24546. {
  24547. og__.throwUserException();
  24548. }
  24549. catch (Murmur.InvalidSecretException)
  24550. {
  24551. throw;
  24552. }
  24553. catch (Murmur.ServerBootedException)
  24554. {
  24555. throw;
  24556. }
  24557. catch (Ice.UserException ex__)
  24558. {
  24559. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24560. }
  24561. }
  24562. IceInternal.BasicStream is__ = og__.istr();
  24563. is__.startReadEncaps();
  24564. int ret__;
  24565. ret__ = is__.readInt();
  24566. is__.endReadEncaps();
  24567. return ret__;
  24568. }
  24569. catch (Ice.LocalException ex__)
  24570. {
  24571. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24572. }
  24573. }
  24574. finally
  24575. {
  24576. handler__.reclaimOutgoing(og__);
  24577. }
  24578. }
  24579.  
  24580. public _System.Collections.Generic.Dictionary<string, int> getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> context__)
  24581. {
  24582. IceInternal.Outgoing og__ = handler__.getOutgoing("getUserIds", Ice.OperationMode.Idempotent, context__);
  24583. try
  24584. {
  24585. try
  24586. {
  24587. IceInternal.BasicStream os__ = og__.ostr();
  24588. os__.writeStringSeq(names);
  24589. }
  24590. catch (Ice.LocalException ex__)
  24591. {
  24592. og__.abort(ex__);
  24593. }
  24594. bool ok__ = og__.invoke();
  24595. try
  24596. {
  24597. if (!ok__)
  24598. {
  24599. try
  24600. {
  24601. og__.throwUserException();
  24602. }
  24603. catch (Murmur.InvalidSecretException)
  24604. {
  24605. throw;
  24606. }
  24607. catch (Murmur.ServerBootedException)
  24608. {
  24609. throw;
  24610. }
  24611. catch (Ice.UserException ex__)
  24612. {
  24613. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24614. }
  24615. }
  24616. IceInternal.BasicStream is__ = og__.istr();
  24617. is__.startReadEncaps();
  24618. _System.Collections.Generic.Dictionary<string, int> ret__;
  24619. ret__ = Murmur.IdMapHelper.read(is__);
  24620. is__.endReadEncaps();
  24621. return ret__;
  24622. }
  24623. catch (Ice.LocalException ex__)
  24624. {
  24625. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24626. }
  24627. }
  24628. finally
  24629. {
  24630. handler__.reclaimOutgoing(og__);
  24631. }
  24632. }
  24633.  
  24634. public _System.Collections.Generic.Dictionary<int, string> getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> context__)
  24635. {
  24636. IceInternal.Outgoing og__ = handler__.getOutgoing("getUserNames", Ice.OperationMode.Idempotent, context__);
  24637. try
  24638. {
  24639. try
  24640. {
  24641. IceInternal.BasicStream os__ = og__.ostr();
  24642. os__.writeIntSeq(ids);
  24643. }
  24644. catch (Ice.LocalException ex__)
  24645. {
  24646. og__.abort(ex__);
  24647. }
  24648. bool ok__ = og__.invoke();
  24649. try
  24650. {
  24651. if (!ok__)
  24652. {
  24653. try
  24654. {
  24655. og__.throwUserException();
  24656. }
  24657. catch (Murmur.InvalidSecretException)
  24658. {
  24659. throw;
  24660. }
  24661. catch (Murmur.ServerBootedException)
  24662. {
  24663. throw;
  24664. }
  24665. catch (Ice.UserException ex__)
  24666. {
  24667. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24668. }
  24669. }
  24670. IceInternal.BasicStream is__ = og__.istr();
  24671. is__.startReadEncaps();
  24672. _System.Collections.Generic.Dictionary<int, string> ret__;
  24673. ret__ = Murmur.NameMapHelper.read(is__);
  24674. is__.endReadEncaps();
  24675. return ret__;
  24676. }
  24677. catch (Ice.LocalException ex__)
  24678. {
  24679. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24680. }
  24681. }
  24682. finally
  24683. {
  24684. handler__.reclaimOutgoing(og__);
  24685. }
  24686. }
  24687.  
  24688. public _System.Collections.Generic.Dictionary<int, Murmur.User> getUsers(_System.Collections.Generic.Dictionary<string, string> context__)
  24689. {
  24690. IceInternal.Outgoing og__ = handler__.getOutgoing("getUsers", Ice.OperationMode.Idempotent, context__);
  24691. try
  24692. {
  24693. bool ok__ = og__.invoke();
  24694. try
  24695. {
  24696. if (!ok__)
  24697. {
  24698. try
  24699. {
  24700. og__.throwUserException();
  24701. }
  24702. catch (Murmur.InvalidSecretException)
  24703. {
  24704. throw;
  24705. }
  24706. catch (Murmur.ServerBootedException)
  24707. {
  24708. throw;
  24709. }
  24710. catch (Ice.UserException ex__)
  24711. {
  24712. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24713. }
  24714. }
  24715. IceInternal.BasicStream is__ = og__.istr();
  24716. is__.startReadEncaps();
  24717. _System.Collections.Generic.Dictionary<int, Murmur.User> ret__;
  24718. ret__ = Murmur.UserMapHelper.read(is__);
  24719. is__.endReadEncaps();
  24720. return ret__;
  24721. }
  24722. catch (Ice.LocalException ex__)
  24723. {
  24724. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24725. }
  24726. }
  24727. finally
  24728. {
  24729. handler__.reclaimOutgoing(og__);
  24730. }
  24731. }
  24732.  
  24733. public bool hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> context__)
  24734. {
  24735. IceInternal.Outgoing og__ = handler__.getOutgoing("hasPermission", Ice.OperationMode.Normal, context__);
  24736. try
  24737. {
  24738. try
  24739. {
  24740. IceInternal.BasicStream os__ = og__.ostr();
  24741. os__.writeInt(session);
  24742. os__.writeInt(channelid);
  24743. os__.writeInt(perm);
  24744. }
  24745. catch (Ice.LocalException ex__)
  24746. {
  24747. og__.abort(ex__);
  24748. }
  24749. bool ok__ = og__.invoke();
  24750. try
  24751. {
  24752. if (!ok__)
  24753. {
  24754. try
  24755. {
  24756. og__.throwUserException();
  24757. }
  24758. catch (Murmur.InvalidChannelException)
  24759. {
  24760. throw;
  24761. }
  24762. catch (Murmur.InvalidSecretException)
  24763. {
  24764. throw;
  24765. }
  24766. catch (Murmur.InvalidSessionException)
  24767. {
  24768. throw;
  24769. }
  24770. catch (Murmur.ServerBootedException)
  24771. {
  24772. throw;
  24773. }
  24774. catch (Ice.UserException ex__)
  24775. {
  24776. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24777. }
  24778. }
  24779. IceInternal.BasicStream is__ = og__.istr();
  24780. is__.startReadEncaps();
  24781. bool ret__;
  24782. ret__ = is__.readBool();
  24783. is__.endReadEncaps();
  24784. return ret__;
  24785. }
  24786. catch (Ice.LocalException ex__)
  24787. {
  24788. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24789. }
  24790. }
  24791. finally
  24792. {
  24793. handler__.reclaimOutgoing(og__);
  24794. }
  24795. }
  24796.  
  24797. public int id(_System.Collections.Generic.Dictionary<string, string> context__)
  24798. {
  24799. IceInternal.Outgoing og__ = handler__.getOutgoing("id", Ice.OperationMode.Idempotent, context__);
  24800. try
  24801. {
  24802. bool ok__ = og__.invoke();
  24803. try
  24804. {
  24805. if (!ok__)
  24806. {
  24807. try
  24808. {
  24809. og__.throwUserException();
  24810. }
  24811. catch (Murmur.InvalidSecretException)
  24812. {
  24813. throw;
  24814. }
  24815. catch (Ice.UserException ex__)
  24816. {
  24817. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24818. }
  24819. }
  24820. IceInternal.BasicStream is__ = og__.istr();
  24821. is__.startReadEncaps();
  24822. int ret__;
  24823. ret__ = is__.readInt();
  24824. is__.endReadEncaps();
  24825. return ret__;
  24826. }
  24827. catch (Ice.LocalException ex__)
  24828. {
  24829. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24830. }
  24831. }
  24832. finally
  24833. {
  24834. handler__.reclaimOutgoing(og__);
  24835. }
  24836. }
  24837.  
  24838. public bool isRunning(_System.Collections.Generic.Dictionary<string, string> context__)
  24839. {
  24840. IceInternal.Outgoing og__ = handler__.getOutgoing("isRunning", Ice.OperationMode.Idempotent, context__);
  24841. try
  24842. {
  24843. bool ok__ = og__.invoke();
  24844. try
  24845. {
  24846. if (!ok__)
  24847. {
  24848. try
  24849. {
  24850. og__.throwUserException();
  24851. }
  24852. catch (Murmur.InvalidSecretException)
  24853. {
  24854. throw;
  24855. }
  24856. catch (Ice.UserException ex__)
  24857. {
  24858. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24859. }
  24860. }
  24861. IceInternal.BasicStream is__ = og__.istr();
  24862. is__.startReadEncaps();
  24863. bool ret__;
  24864. ret__ = is__.readBool();
  24865. is__.endReadEncaps();
  24866. return ret__;
  24867. }
  24868. catch (Ice.LocalException ex__)
  24869. {
  24870. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24871. }
  24872. }
  24873. finally
  24874. {
  24875. handler__.reclaimOutgoing(og__);
  24876. }
  24877. }
  24878.  
  24879. public void kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> context__)
  24880. {
  24881. IceInternal.Outgoing og__ = handler__.getOutgoing("kickUser", Ice.OperationMode.Normal, context__);
  24882. try
  24883. {
  24884. try
  24885. {
  24886. IceInternal.BasicStream os__ = og__.ostr();
  24887. os__.writeInt(session);
  24888. os__.writeString(reason);
  24889. }
  24890. catch (Ice.LocalException ex__)
  24891. {
  24892. og__.abort(ex__);
  24893. }
  24894. bool ok__ = og__.invoke();
  24895. try
  24896. {
  24897. if (!ok__)
  24898. {
  24899. try
  24900. {
  24901. og__.throwUserException();
  24902. }
  24903. catch (Murmur.InvalidSecretException)
  24904. {
  24905. throw;
  24906. }
  24907. catch (Murmur.InvalidSessionException)
  24908. {
  24909. throw;
  24910. }
  24911. catch (Murmur.ServerBootedException)
  24912. {
  24913. throw;
  24914. }
  24915. catch (Ice.UserException ex__)
  24916. {
  24917. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24918. }
  24919. }
  24920. og__.istr().skipEmptyEncaps();
  24921. }
  24922. catch (Ice.LocalException ex__)
  24923. {
  24924. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24925. }
  24926. }
  24927. finally
  24928. {
  24929. handler__.reclaimOutgoing(og__);
  24930. }
  24931. }
  24932.  
  24933. public void redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> context__)
  24934. {
  24935. IceInternal.Outgoing og__ = handler__.getOutgoing("redirectWhisperGroup", Ice.OperationMode.Idempotent, context__);
  24936. try
  24937. {
  24938. try
  24939. {
  24940. IceInternal.BasicStream os__ = og__.ostr();
  24941. os__.writeInt(session);
  24942. os__.writeString(source);
  24943. os__.writeString(target);
  24944. }
  24945. catch (Ice.LocalException ex__)
  24946. {
  24947. og__.abort(ex__);
  24948. }
  24949. bool ok__ = og__.invoke();
  24950. try
  24951. {
  24952. if (!ok__)
  24953. {
  24954. try
  24955. {
  24956. og__.throwUserException();
  24957. }
  24958. catch (Murmur.InvalidSecretException)
  24959. {
  24960. throw;
  24961. }
  24962. catch (Murmur.InvalidSessionException)
  24963. {
  24964. throw;
  24965. }
  24966. catch (Murmur.ServerBootedException)
  24967. {
  24968. throw;
  24969. }
  24970. catch (Ice.UserException ex__)
  24971. {
  24972. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  24973. }
  24974. }
  24975. og__.istr().skipEmptyEncaps();
  24976. }
  24977. catch (Ice.LocalException ex__)
  24978. {
  24979. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  24980. }
  24981. }
  24982. finally
  24983. {
  24984. handler__.reclaimOutgoing(og__);
  24985. }
  24986. }
  24987.  
  24988. public int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  24989. {
  24990. IceInternal.Outgoing og__ = handler__.getOutgoing("registerUser", Ice.OperationMode.Normal, context__);
  24991. try
  24992. {
  24993. try
  24994. {
  24995. IceInternal.BasicStream os__ = og__.ostr();
  24996. Murmur.UserInfoMapHelper.write(os__, info);
  24997. }
  24998. catch (Ice.LocalException ex__)
  24999. {
  25000. og__.abort(ex__);
  25001. }
  25002. bool ok__ = og__.invoke();
  25003. try
  25004. {
  25005. if (!ok__)
  25006. {
  25007. try
  25008. {
  25009. og__.throwUserException();
  25010. }
  25011. catch (Murmur.InvalidSecretException)
  25012. {
  25013. throw;
  25014. }
  25015. catch (Murmur.InvalidUserException)
  25016. {
  25017. throw;
  25018. }
  25019. catch (Murmur.ServerBootedException)
  25020. {
  25021. throw;
  25022. }
  25023. catch (Ice.UserException ex__)
  25024. {
  25025. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25026. }
  25027. }
  25028. IceInternal.BasicStream is__ = og__.istr();
  25029. is__.startReadEncaps();
  25030. int ret__;
  25031. ret__ = is__.readInt();
  25032. is__.endReadEncaps();
  25033. return ret__;
  25034. }
  25035. catch (Ice.LocalException ex__)
  25036. {
  25037. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25038. }
  25039. }
  25040. finally
  25041. {
  25042. handler__.reclaimOutgoing(og__);
  25043. }
  25044. }
  25045.  
  25046. public void removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  25047. {
  25048. IceInternal.Outgoing og__ = handler__.getOutgoing("removeCallback", Ice.OperationMode.Normal, context__);
  25049. try
  25050. {
  25051. try
  25052. {
  25053. IceInternal.BasicStream os__ = og__.ostr();
  25054. Murmur.ServerCallbackPrxHelper.write__(os__, cb);
  25055. }
  25056. catch (Ice.LocalException ex__)
  25057. {
  25058. og__.abort(ex__);
  25059. }
  25060. bool ok__ = og__.invoke();
  25061. try
  25062. {
  25063. if (!ok__)
  25064. {
  25065. try
  25066. {
  25067. og__.throwUserException();
  25068. }
  25069. catch (Murmur.InvalidCallbackException)
  25070. {
  25071. throw;
  25072. }
  25073. catch (Murmur.InvalidSecretException)
  25074. {
  25075. throw;
  25076. }
  25077. catch (Murmur.ServerBootedException)
  25078. {
  25079. throw;
  25080. }
  25081. catch (Ice.UserException ex__)
  25082. {
  25083. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25084. }
  25085. }
  25086. og__.istr().skipEmptyEncaps();
  25087. }
  25088. catch (Ice.LocalException ex__)
  25089. {
  25090. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25091. }
  25092. }
  25093. finally
  25094. {
  25095. handler__.reclaimOutgoing(og__);
  25096. }
  25097. }
  25098.  
  25099. public void removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  25100. {
  25101. IceInternal.Outgoing og__ = handler__.getOutgoing("removeChannel", Ice.OperationMode.Normal, context__);
  25102. try
  25103. {
  25104. try
  25105. {
  25106. IceInternal.BasicStream os__ = og__.ostr();
  25107. os__.writeInt(channelid);
  25108. }
  25109. catch (Ice.LocalException ex__)
  25110. {
  25111. og__.abort(ex__);
  25112. }
  25113. bool ok__ = og__.invoke();
  25114. try
  25115. {
  25116. if (!ok__)
  25117. {
  25118. try
  25119. {
  25120. og__.throwUserException();
  25121. }
  25122. catch (Murmur.InvalidChannelException)
  25123. {
  25124. throw;
  25125. }
  25126. catch (Murmur.InvalidSecretException)
  25127. {
  25128. throw;
  25129. }
  25130. catch (Murmur.ServerBootedException)
  25131. {
  25132. throw;
  25133. }
  25134. catch (Ice.UserException ex__)
  25135. {
  25136. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25137. }
  25138. }
  25139. og__.istr().skipEmptyEncaps();
  25140. }
  25141. catch (Ice.LocalException ex__)
  25142. {
  25143. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25144. }
  25145. }
  25146. finally
  25147. {
  25148. handler__.reclaimOutgoing(og__);
  25149. }
  25150. }
  25151.  
  25152. public void removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  25153. {
  25154. IceInternal.Outgoing og__ = handler__.getOutgoing("removeContextCallback", Ice.OperationMode.Normal, context__);
  25155. try
  25156. {
  25157. try
  25158. {
  25159. IceInternal.BasicStream os__ = og__.ostr();
  25160. Murmur.ServerContextCallbackPrxHelper.write__(os__, cb);
  25161. }
  25162. catch (Ice.LocalException ex__)
  25163. {
  25164. og__.abort(ex__);
  25165. }
  25166. bool ok__ = og__.invoke();
  25167. try
  25168. {
  25169. if (!ok__)
  25170. {
  25171. try
  25172. {
  25173. og__.throwUserException();
  25174. }
  25175. catch (Murmur.InvalidCallbackException)
  25176. {
  25177. throw;
  25178. }
  25179. catch (Murmur.InvalidSecretException)
  25180. {
  25181. throw;
  25182. }
  25183. catch (Murmur.ServerBootedException)
  25184. {
  25185. throw;
  25186. }
  25187. catch (Ice.UserException ex__)
  25188. {
  25189. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25190. }
  25191. }
  25192. og__.istr().skipEmptyEncaps();
  25193. }
  25194. catch (Ice.LocalException ex__)
  25195. {
  25196. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25197. }
  25198. }
  25199. finally
  25200. {
  25201. handler__.reclaimOutgoing(og__);
  25202. }
  25203. }
  25204.  
  25205. public void removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__)
  25206. {
  25207. IceInternal.Outgoing og__ = handler__.getOutgoing("removeUserFromGroup", Ice.OperationMode.Idempotent, context__);
  25208. try
  25209. {
  25210. try
  25211. {
  25212. IceInternal.BasicStream os__ = og__.ostr();
  25213. os__.writeInt(channelid);
  25214. os__.writeInt(session);
  25215. os__.writeString(group);
  25216. }
  25217. catch (Ice.LocalException ex__)
  25218. {
  25219. og__.abort(ex__);
  25220. }
  25221. bool ok__ = og__.invoke();
  25222. try
  25223. {
  25224. if (!ok__)
  25225. {
  25226. try
  25227. {
  25228. og__.throwUserException();
  25229. }
  25230. catch (Murmur.InvalidChannelException)
  25231. {
  25232. throw;
  25233. }
  25234. catch (Murmur.InvalidSecretException)
  25235. {
  25236. throw;
  25237. }
  25238. catch (Murmur.InvalidSessionException)
  25239. {
  25240. throw;
  25241. }
  25242. catch (Murmur.ServerBootedException)
  25243. {
  25244. throw;
  25245. }
  25246. catch (Ice.UserException ex__)
  25247. {
  25248. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25249. }
  25250. }
  25251. og__.istr().skipEmptyEncaps();
  25252. }
  25253. catch (Ice.LocalException ex__)
  25254. {
  25255. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25256. }
  25257. }
  25258. finally
  25259. {
  25260. handler__.reclaimOutgoing(og__);
  25261. }
  25262. }
  25263.  
  25264. public void sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> context__)
  25265. {
  25266. IceInternal.Outgoing og__ = handler__.getOutgoing("sendMessage", Ice.OperationMode.Normal, context__);
  25267. try
  25268. {
  25269. try
  25270. {
  25271. IceInternal.BasicStream os__ = og__.ostr();
  25272. os__.writeInt(session);
  25273. os__.writeString(text);
  25274. }
  25275. catch (Ice.LocalException ex__)
  25276. {
  25277. og__.abort(ex__);
  25278. }
  25279. bool ok__ = og__.invoke();
  25280. try
  25281. {
  25282. if (!ok__)
  25283. {
  25284. try
  25285. {
  25286. og__.throwUserException();
  25287. }
  25288. catch (Murmur.InvalidSecretException)
  25289. {
  25290. throw;
  25291. }
  25292. catch (Murmur.InvalidSessionException)
  25293. {
  25294. throw;
  25295. }
  25296. catch (Murmur.ServerBootedException)
  25297. {
  25298. throw;
  25299. }
  25300. catch (Ice.UserException ex__)
  25301. {
  25302. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25303. }
  25304. }
  25305. og__.istr().skipEmptyEncaps();
  25306. }
  25307. catch (Ice.LocalException ex__)
  25308. {
  25309. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25310. }
  25311. }
  25312. finally
  25313. {
  25314. handler__.reclaimOutgoing(og__);
  25315. }
  25316. }
  25317.  
  25318. public void sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> context__)
  25319. {
  25320. IceInternal.Outgoing og__ = handler__.getOutgoing("sendMessageChannel", Ice.OperationMode.Normal, context__);
  25321. try
  25322. {
  25323. try
  25324. {
  25325. IceInternal.BasicStream os__ = og__.ostr();
  25326. os__.writeInt(channelid);
  25327. os__.writeBool(tree);
  25328. os__.writeString(text);
  25329. }
  25330. catch (Ice.LocalException ex__)
  25331. {
  25332. og__.abort(ex__);
  25333. }
  25334. bool ok__ = og__.invoke();
  25335. try
  25336. {
  25337. if (!ok__)
  25338. {
  25339. try
  25340. {
  25341. og__.throwUserException();
  25342. }
  25343. catch (Murmur.InvalidChannelException)
  25344. {
  25345. throw;
  25346. }
  25347. catch (Murmur.InvalidSecretException)
  25348. {
  25349. throw;
  25350. }
  25351. catch (Murmur.ServerBootedException)
  25352. {
  25353. throw;
  25354. }
  25355. catch (Ice.UserException ex__)
  25356. {
  25357. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25358. }
  25359. }
  25360. og__.istr().skipEmptyEncaps();
  25361. }
  25362. catch (Ice.LocalException ex__)
  25363. {
  25364. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25365. }
  25366. }
  25367. finally
  25368. {
  25369. handler__.reclaimOutgoing(og__);
  25370. }
  25371. }
  25372.  
  25373. public void setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> context__)
  25374. {
  25375. IceInternal.Outgoing og__ = handler__.getOutgoing("setACL", Ice.OperationMode.Idempotent, context__);
  25376. try
  25377. {
  25378. try
  25379. {
  25380. IceInternal.BasicStream os__ = og__.ostr();
  25381. os__.writeInt(channelid);
  25382. if (acls == null)
  25383. {
  25384. os__.writeSize(0);
  25385. }
  25386. else
  25387. {
  25388. os__.writeSize(acls.Length);
  25389. for (int ix__ = 0; ix__ < acls.Length; ++ix__)
  25390. {
  25391. (acls[ix__] == null ? new Murmur.ACL() : acls[ix__]).write__(os__);
  25392. }
  25393. }
  25394. if (groups == null)
  25395. {
  25396. os__.writeSize(0);
  25397. }
  25398. else
  25399. {
  25400. os__.writeSize(groups.Length);
  25401. for (int ix__ = 0; ix__ < groups.Length; ++ix__)
  25402. {
  25403. (groups[ix__] == null ? new Murmur.Group() : groups[ix__]).write__(os__);
  25404. }
  25405. }
  25406. os__.writeBool(inherit);
  25407. }
  25408. catch (Ice.LocalException ex__)
  25409. {
  25410. og__.abort(ex__);
  25411. }
  25412. bool ok__ = og__.invoke();
  25413. try
  25414. {
  25415. if (!ok__)
  25416. {
  25417. try
  25418. {
  25419. og__.throwUserException();
  25420. }
  25421. catch (Murmur.InvalidChannelException)
  25422. {
  25423. throw;
  25424. }
  25425. catch (Murmur.InvalidSecretException)
  25426. {
  25427. throw;
  25428. }
  25429. catch (Murmur.ServerBootedException)
  25430. {
  25431. throw;
  25432. }
  25433. catch (Ice.UserException ex__)
  25434. {
  25435. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25436. }
  25437. }
  25438. og__.istr().skipEmptyEncaps();
  25439. }
  25440. catch (Ice.LocalException ex__)
  25441. {
  25442. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25443. }
  25444. }
  25445. finally
  25446. {
  25447. handler__.reclaimOutgoing(og__);
  25448. }
  25449. }
  25450.  
  25451. public void setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> context__)
  25452. {
  25453. IceInternal.Outgoing og__ = handler__.getOutgoing("setAuthenticator", Ice.OperationMode.Normal, context__);
  25454. try
  25455. {
  25456. try
  25457. {
  25458. IceInternal.BasicStream os__ = og__.ostr();
  25459. Murmur.ServerAuthenticatorPrxHelper.write__(os__, auth);
  25460. }
  25461. catch (Ice.LocalException ex__)
  25462. {
  25463. og__.abort(ex__);
  25464. }
  25465. bool ok__ = og__.invoke();
  25466. try
  25467. {
  25468. if (!ok__)
  25469. {
  25470. try
  25471. {
  25472. og__.throwUserException();
  25473. }
  25474. catch (Murmur.InvalidCallbackException)
  25475. {
  25476. throw;
  25477. }
  25478. catch (Murmur.InvalidSecretException)
  25479. {
  25480. throw;
  25481. }
  25482. catch (Murmur.ServerBootedException)
  25483. {
  25484. throw;
  25485. }
  25486. catch (Ice.UserException ex__)
  25487. {
  25488. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25489. }
  25490. }
  25491. og__.istr().skipEmptyEncaps();
  25492. }
  25493. catch (Ice.LocalException ex__)
  25494. {
  25495. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25496. }
  25497. }
  25498. finally
  25499. {
  25500. handler__.reclaimOutgoing(og__);
  25501. }
  25502. }
  25503.  
  25504. public void setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> context__)
  25505. {
  25506. IceInternal.Outgoing og__ = handler__.getOutgoing("setBans", Ice.OperationMode.Idempotent, context__);
  25507. try
  25508. {
  25509. try
  25510. {
  25511. IceInternal.BasicStream os__ = og__.ostr();
  25512. if (bans == null)
  25513. {
  25514. os__.writeSize(0);
  25515. }
  25516. else
  25517. {
  25518. os__.writeSize(bans.Length);
  25519. for (int ix__ = 0; ix__ < bans.Length; ++ix__)
  25520. {
  25521. (bans[ix__] == null ? new Murmur.Ban() : bans[ix__]).write__(os__);
  25522. }
  25523. }
  25524. }
  25525. catch (Ice.LocalException ex__)
  25526. {
  25527. og__.abort(ex__);
  25528. }
  25529. bool ok__ = og__.invoke();
  25530. try
  25531. {
  25532. if (!ok__)
  25533. {
  25534. try
  25535. {
  25536. og__.throwUserException();
  25537. }
  25538. catch (Murmur.InvalidSecretException)
  25539. {
  25540. throw;
  25541. }
  25542. catch (Murmur.ServerBootedException)
  25543. {
  25544. throw;
  25545. }
  25546. catch (Ice.UserException ex__)
  25547. {
  25548. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25549. }
  25550. }
  25551. og__.istr().skipEmptyEncaps();
  25552. }
  25553. catch (Ice.LocalException ex__)
  25554. {
  25555. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25556. }
  25557. }
  25558. finally
  25559. {
  25560. handler__.reclaimOutgoing(og__);
  25561. }
  25562. }
  25563.  
  25564. public void setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  25565. {
  25566. IceInternal.Outgoing og__ = handler__.getOutgoing("setChannelState", Ice.OperationMode.Idempotent, context__);
  25567. try
  25568. {
  25569. try
  25570. {
  25571. IceInternal.BasicStream os__ = og__.ostr();
  25572. if (state == null)
  25573. {
  25574. Murmur.Channel tmp__ = new Murmur.Channel();
  25575. tmp__.write__(os__);
  25576. }
  25577. else
  25578. {
  25579. state.write__(os__);
  25580. }
  25581. }
  25582. catch (Ice.LocalException ex__)
  25583. {
  25584. og__.abort(ex__);
  25585. }
  25586. bool ok__ = og__.invoke();
  25587. try
  25588. {
  25589. if (!ok__)
  25590. {
  25591. try
  25592. {
  25593. og__.throwUserException();
  25594. }
  25595. catch (Murmur.InvalidChannelException)
  25596. {
  25597. throw;
  25598. }
  25599. catch (Murmur.InvalidSecretException)
  25600. {
  25601. throw;
  25602. }
  25603. catch (Murmur.NestingLimitException)
  25604. {
  25605. throw;
  25606. }
  25607. catch (Murmur.ServerBootedException)
  25608. {
  25609. throw;
  25610. }
  25611. catch (Ice.UserException ex__)
  25612. {
  25613. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25614. }
  25615. }
  25616. og__.istr().skipEmptyEncaps();
  25617. }
  25618. catch (Ice.LocalException ex__)
  25619. {
  25620. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25621. }
  25622. }
  25623. finally
  25624. {
  25625. handler__.reclaimOutgoing(og__);
  25626. }
  25627. }
  25628.  
  25629. public void setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> context__)
  25630. {
  25631. IceInternal.Outgoing og__ = handler__.getOutgoing("setConf", Ice.OperationMode.Idempotent, context__);
  25632. try
  25633. {
  25634. try
  25635. {
  25636. IceInternal.BasicStream os__ = og__.ostr();
  25637. os__.writeString(key);
  25638. os__.writeString(value);
  25639. }
  25640. catch (Ice.LocalException ex__)
  25641. {
  25642. og__.abort(ex__);
  25643. }
  25644. bool ok__ = og__.invoke();
  25645. try
  25646. {
  25647. if (!ok__)
  25648. {
  25649. try
  25650. {
  25651. og__.throwUserException();
  25652. }
  25653. catch (Murmur.InvalidSecretException)
  25654. {
  25655. throw;
  25656. }
  25657. catch (Ice.UserException ex__)
  25658. {
  25659. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25660. }
  25661. }
  25662. og__.istr().skipEmptyEncaps();
  25663. }
  25664. catch (Ice.LocalException ex__)
  25665. {
  25666. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25667. }
  25668. }
  25669. finally
  25670. {
  25671. handler__.reclaimOutgoing(og__);
  25672. }
  25673. }
  25674.  
  25675. public void setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  25676. {
  25677. IceInternal.Outgoing og__ = handler__.getOutgoing("setState", Ice.OperationMode.Idempotent, context__);
  25678. try
  25679. {
  25680. try
  25681. {
  25682. IceInternal.BasicStream os__ = og__.ostr();
  25683. if (state == null)
  25684. {
  25685. Murmur.User tmp__ = new Murmur.User();
  25686. tmp__.write__(os__);
  25687. }
  25688. else
  25689. {
  25690. state.write__(os__);
  25691. }
  25692. }
  25693. catch (Ice.LocalException ex__)
  25694. {
  25695. og__.abort(ex__);
  25696. }
  25697. bool ok__ = og__.invoke();
  25698. try
  25699. {
  25700. if (!ok__)
  25701. {
  25702. try
  25703. {
  25704. og__.throwUserException();
  25705. }
  25706. catch (Murmur.InvalidChannelException)
  25707. {
  25708. throw;
  25709. }
  25710. catch (Murmur.InvalidSecretException)
  25711. {
  25712. throw;
  25713. }
  25714. catch (Murmur.InvalidSessionException)
  25715. {
  25716. throw;
  25717. }
  25718. catch (Murmur.ServerBootedException)
  25719. {
  25720. throw;
  25721. }
  25722. catch (Ice.UserException ex__)
  25723. {
  25724. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25725. }
  25726. }
  25727. og__.istr().skipEmptyEncaps();
  25728. }
  25729. catch (Ice.LocalException ex__)
  25730. {
  25731. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25732. }
  25733. }
  25734. finally
  25735. {
  25736. handler__.reclaimOutgoing(og__);
  25737. }
  25738. }
  25739.  
  25740. public void setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> context__)
  25741. {
  25742. IceInternal.Outgoing og__ = handler__.getOutgoing("setSuperuserPassword", Ice.OperationMode.Idempotent, context__);
  25743. try
  25744. {
  25745. try
  25746. {
  25747. IceInternal.BasicStream os__ = og__.ostr();
  25748. os__.writeString(pw);
  25749. }
  25750. catch (Ice.LocalException ex__)
  25751. {
  25752. og__.abort(ex__);
  25753. }
  25754. bool ok__ = og__.invoke();
  25755. try
  25756. {
  25757. if (!ok__)
  25758. {
  25759. try
  25760. {
  25761. og__.throwUserException();
  25762. }
  25763. catch (Murmur.InvalidSecretException)
  25764. {
  25765. throw;
  25766. }
  25767. catch (Ice.UserException ex__)
  25768. {
  25769. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25770. }
  25771. }
  25772. og__.istr().skipEmptyEncaps();
  25773. }
  25774. catch (Ice.LocalException ex__)
  25775. {
  25776. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25777. }
  25778. }
  25779. finally
  25780. {
  25781. handler__.reclaimOutgoing(og__);
  25782. }
  25783. }
  25784.  
  25785. public void setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__)
  25786. {
  25787. IceInternal.Outgoing og__ = handler__.getOutgoing("setTexture", Ice.OperationMode.Idempotent, context__);
  25788. try
  25789. {
  25790. try
  25791. {
  25792. IceInternal.BasicStream os__ = og__.ostr();
  25793. os__.writeInt(userid);
  25794. os__.writeByteSeq(tex);
  25795. }
  25796. catch (Ice.LocalException ex__)
  25797. {
  25798. og__.abort(ex__);
  25799. }
  25800. bool ok__ = og__.invoke();
  25801. try
  25802. {
  25803. if (!ok__)
  25804. {
  25805. try
  25806. {
  25807. og__.throwUserException();
  25808. }
  25809. catch (Murmur.InvalidSecretException)
  25810. {
  25811. throw;
  25812. }
  25813. catch (Murmur.InvalidTextureException)
  25814. {
  25815. throw;
  25816. }
  25817. catch (Murmur.InvalidUserException)
  25818. {
  25819. throw;
  25820. }
  25821. catch (Murmur.ServerBootedException)
  25822. {
  25823. throw;
  25824. }
  25825. catch (Ice.UserException ex__)
  25826. {
  25827. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25828. }
  25829. }
  25830. og__.istr().skipEmptyEncaps();
  25831. }
  25832. catch (Ice.LocalException ex__)
  25833. {
  25834. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25835. }
  25836. }
  25837. finally
  25838. {
  25839. handler__.reclaimOutgoing(og__);
  25840. }
  25841. }
  25842.  
  25843. public void start(_System.Collections.Generic.Dictionary<string, string> context__)
  25844. {
  25845. IceInternal.Outgoing og__ = handler__.getOutgoing("start", Ice.OperationMode.Normal, context__);
  25846. try
  25847. {
  25848. bool ok__ = og__.invoke();
  25849. try
  25850. {
  25851. if (!ok__)
  25852. {
  25853. try
  25854. {
  25855. og__.throwUserException();
  25856. }
  25857. catch (Murmur.InvalidSecretException)
  25858. {
  25859. throw;
  25860. }
  25861. catch (Murmur.ServerBootedException)
  25862. {
  25863. throw;
  25864. }
  25865. catch (Murmur.ServerFailureException)
  25866. {
  25867. throw;
  25868. }
  25869. catch (Ice.UserException ex__)
  25870. {
  25871. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25872. }
  25873. }
  25874. og__.istr().skipEmptyEncaps();
  25875. }
  25876. catch (Ice.LocalException ex__)
  25877. {
  25878. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25879. }
  25880. }
  25881. finally
  25882. {
  25883. handler__.reclaimOutgoing(og__);
  25884. }
  25885. }
  25886.  
  25887. public void stop(_System.Collections.Generic.Dictionary<string, string> context__)
  25888. {
  25889. IceInternal.Outgoing og__ = handler__.getOutgoing("stop", Ice.OperationMode.Normal, context__);
  25890. try
  25891. {
  25892. bool ok__ = og__.invoke();
  25893. try
  25894. {
  25895. if (!ok__)
  25896. {
  25897. try
  25898. {
  25899. og__.throwUserException();
  25900. }
  25901. catch (Murmur.InvalidSecretException)
  25902. {
  25903. throw;
  25904. }
  25905. catch (Murmur.ServerBootedException)
  25906. {
  25907. throw;
  25908. }
  25909. catch (Ice.UserException ex__)
  25910. {
  25911. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25912. }
  25913. }
  25914. og__.istr().skipEmptyEncaps();
  25915. }
  25916. catch (Ice.LocalException ex__)
  25917. {
  25918. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25919. }
  25920. }
  25921. finally
  25922. {
  25923. handler__.reclaimOutgoing(og__);
  25924. }
  25925. }
  25926.  
  25927. public void unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> context__)
  25928. {
  25929. IceInternal.Outgoing og__ = handler__.getOutgoing("unregisterUser", Ice.OperationMode.Normal, context__);
  25930. try
  25931. {
  25932. try
  25933. {
  25934. IceInternal.BasicStream os__ = og__.ostr();
  25935. os__.writeInt(userid);
  25936. }
  25937. catch (Ice.LocalException ex__)
  25938. {
  25939. og__.abort(ex__);
  25940. }
  25941. bool ok__ = og__.invoke();
  25942. try
  25943. {
  25944. if (!ok__)
  25945. {
  25946. try
  25947. {
  25948. og__.throwUserException();
  25949. }
  25950. catch (Murmur.InvalidSecretException)
  25951. {
  25952. throw;
  25953. }
  25954. catch (Murmur.InvalidUserException)
  25955. {
  25956. throw;
  25957. }
  25958. catch (Murmur.ServerBootedException)
  25959. {
  25960. throw;
  25961. }
  25962. catch (Ice.UserException ex__)
  25963. {
  25964. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  25965. }
  25966. }
  25967. og__.istr().skipEmptyEncaps();
  25968. }
  25969. catch (Ice.LocalException ex__)
  25970. {
  25971. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  25972. }
  25973. }
  25974. finally
  25975. {
  25976. handler__.reclaimOutgoing(og__);
  25977. }
  25978. }
  25979.  
  25980. public void updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> context__)
  25981. {
  25982. IceInternal.Outgoing og__ = handler__.getOutgoing("updateCertificate", Ice.OperationMode.Idempotent, context__);
  25983. try
  25984. {
  25985. try
  25986. {
  25987. IceInternal.BasicStream os__ = og__.ostr();
  25988. os__.writeString(certificate);
  25989. os__.writeString(privateKey);
  25990. os__.writeString(passphrase);
  25991. }
  25992. catch (Ice.LocalException ex__)
  25993. {
  25994. og__.abort(ex__);
  25995. }
  25996. bool ok__ = og__.invoke();
  25997. try
  25998. {
  25999. if (!ok__)
  26000. {
  26001. try
  26002. {
  26003. og__.throwUserException();
  26004. }
  26005. catch (Murmur.InvalidInputDataException)
  26006. {
  26007. throw;
  26008. }
  26009. catch (Murmur.InvalidSecretException)
  26010. {
  26011. throw;
  26012. }
  26013. catch (Murmur.ServerBootedException)
  26014. {
  26015. throw;
  26016. }
  26017. catch (Ice.UserException ex__)
  26018. {
  26019. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26020. }
  26021. }
  26022. og__.istr().skipEmptyEncaps();
  26023. }
  26024. catch (Ice.LocalException ex__)
  26025. {
  26026. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26027. }
  26028. }
  26029. finally
  26030. {
  26031. handler__.reclaimOutgoing(og__);
  26032. }
  26033. }
  26034.  
  26035. public void updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  26036. {
  26037. IceInternal.Outgoing og__ = handler__.getOutgoing("updateRegistration", Ice.OperationMode.Idempotent, context__);
  26038. try
  26039. {
  26040. try
  26041. {
  26042. IceInternal.BasicStream os__ = og__.ostr();
  26043. os__.writeInt(userid);
  26044. Murmur.UserInfoMapHelper.write(os__, info);
  26045. }
  26046. catch (Ice.LocalException ex__)
  26047. {
  26048. og__.abort(ex__);
  26049. }
  26050. bool ok__ = og__.invoke();
  26051. try
  26052. {
  26053. if (!ok__)
  26054. {
  26055. try
  26056. {
  26057. og__.throwUserException();
  26058. }
  26059. catch (Murmur.InvalidSecretException)
  26060. {
  26061. throw;
  26062. }
  26063. catch (Murmur.InvalidUserException)
  26064. {
  26065. throw;
  26066. }
  26067. catch (Murmur.ServerBootedException)
  26068. {
  26069. throw;
  26070. }
  26071. catch (Ice.UserException ex__)
  26072. {
  26073. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26074. }
  26075. }
  26076. og__.istr().skipEmptyEncaps();
  26077. }
  26078. catch (Ice.LocalException ex__)
  26079. {
  26080. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26081. }
  26082. }
  26083. finally
  26084. {
  26085. handler__.reclaimOutgoing(og__);
  26086. }
  26087. }
  26088.  
  26089. public int verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> context__)
  26090. {
  26091. IceInternal.Outgoing og__ = handler__.getOutgoing("verifyPassword", Ice.OperationMode.Idempotent, context__);
  26092. try
  26093. {
  26094. try
  26095. {
  26096. IceInternal.BasicStream os__ = og__.ostr();
  26097. os__.writeString(name);
  26098. os__.writeString(pw);
  26099. }
  26100. catch (Ice.LocalException ex__)
  26101. {
  26102. og__.abort(ex__);
  26103. }
  26104. bool ok__ = og__.invoke();
  26105. try
  26106. {
  26107. if (!ok__)
  26108. {
  26109. try
  26110. {
  26111. og__.throwUserException();
  26112. }
  26113. catch (Murmur.InvalidSecretException)
  26114. {
  26115. throw;
  26116. }
  26117. catch (Murmur.ServerBootedException)
  26118. {
  26119. throw;
  26120. }
  26121. catch (Ice.UserException ex__)
  26122. {
  26123. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26124. }
  26125. }
  26126. IceInternal.BasicStream is__ = og__.istr();
  26127. is__.startReadEncaps();
  26128. int ret__;
  26129. ret__ = is__.readInt();
  26130. is__.endReadEncaps();
  26131. return ret__;
  26132. }
  26133. catch (Ice.LocalException ex__)
  26134. {
  26135. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26136. }
  26137. }
  26138. finally
  26139. {
  26140. handler__.reclaimOutgoing(og__);
  26141. }
  26142. }
  26143. }
  26144.  
  26145. [_System.Runtime.InteropServices.ComVisible(false)]
  26146. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  26147. public sealed class MetaCallbackDelM_ : Ice.ObjectDelM_, MetaCallbackDel_
  26148. {
  26149. public void started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__)
  26150. {
  26151. IceInternal.Outgoing og__ = handler__.getOutgoing("started", Ice.OperationMode.Normal, context__);
  26152. try
  26153. {
  26154. try
  26155. {
  26156. IceInternal.BasicStream os__ = og__.ostr();
  26157. Murmur.ServerPrxHelper.write__(os__, srv);
  26158. }
  26159. catch (Ice.LocalException ex__)
  26160. {
  26161. og__.abort(ex__);
  26162. }
  26163. bool ok__ = og__.invoke();
  26164. if (!og__.istr().isEmpty())
  26165. {
  26166. try
  26167. {
  26168. if (!ok__)
  26169. {
  26170. try
  26171. {
  26172. og__.throwUserException();
  26173. }
  26174. catch (Ice.UserException ex__)
  26175. {
  26176. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26177. }
  26178. }
  26179. og__.istr().skipEmptyEncaps();
  26180. }
  26181. catch (Ice.LocalException ex__)
  26182. {
  26183. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26184. }
  26185. }
  26186. }
  26187. finally
  26188. {
  26189. handler__.reclaimOutgoing(og__);
  26190. }
  26191. }
  26192.  
  26193. public void stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__)
  26194. {
  26195. IceInternal.Outgoing og__ = handler__.getOutgoing("stopped", Ice.OperationMode.Normal, context__);
  26196. try
  26197. {
  26198. try
  26199. {
  26200. IceInternal.BasicStream os__ = og__.ostr();
  26201. Murmur.ServerPrxHelper.write__(os__, srv);
  26202. }
  26203. catch (Ice.LocalException ex__)
  26204. {
  26205. og__.abort(ex__);
  26206. }
  26207. bool ok__ = og__.invoke();
  26208. if (!og__.istr().isEmpty())
  26209. {
  26210. try
  26211. {
  26212. if (!ok__)
  26213. {
  26214. try
  26215. {
  26216. og__.throwUserException();
  26217. }
  26218. catch (Ice.UserException ex__)
  26219. {
  26220. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26221. }
  26222. }
  26223. og__.istr().skipEmptyEncaps();
  26224. }
  26225. catch (Ice.LocalException ex__)
  26226. {
  26227. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26228. }
  26229. }
  26230. }
  26231. finally
  26232. {
  26233. handler__.reclaimOutgoing(og__);
  26234. }
  26235. }
  26236. }
  26237.  
  26238. [_System.Runtime.InteropServices.ComVisible(false)]
  26239. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  26240. public sealed class MetaDelM_ : Ice.ObjectDelM_, MetaDel_
  26241. {
  26242. public void addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  26243. {
  26244. IceInternal.Outgoing og__ = handler__.getOutgoing("addCallback", Ice.OperationMode.Normal, context__);
  26245. try
  26246. {
  26247. try
  26248. {
  26249. IceInternal.BasicStream os__ = og__.ostr();
  26250. Murmur.MetaCallbackPrxHelper.write__(os__, cb);
  26251. }
  26252. catch (Ice.LocalException ex__)
  26253. {
  26254. og__.abort(ex__);
  26255. }
  26256. bool ok__ = og__.invoke();
  26257. try
  26258. {
  26259. if (!ok__)
  26260. {
  26261. try
  26262. {
  26263. og__.throwUserException();
  26264. }
  26265. catch (Murmur.InvalidCallbackException)
  26266. {
  26267. throw;
  26268. }
  26269. catch (Murmur.InvalidSecretException)
  26270. {
  26271. throw;
  26272. }
  26273. catch (Ice.UserException ex__)
  26274. {
  26275. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26276. }
  26277. }
  26278. og__.istr().skipEmptyEncaps();
  26279. }
  26280. catch (Ice.LocalException ex__)
  26281. {
  26282. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26283. }
  26284. }
  26285. finally
  26286. {
  26287. handler__.reclaimOutgoing(og__);
  26288. }
  26289. }
  26290.  
  26291. public Murmur.ServerPrx[] getAllServers(_System.Collections.Generic.Dictionary<string, string> context__)
  26292. {
  26293. IceInternal.Outgoing og__ = handler__.getOutgoing("getAllServers", Ice.OperationMode.Idempotent, context__);
  26294. try
  26295. {
  26296. bool ok__ = og__.invoke();
  26297. try
  26298. {
  26299. if (!ok__)
  26300. {
  26301. try
  26302. {
  26303. og__.throwUserException();
  26304. }
  26305. catch (Murmur.InvalidSecretException)
  26306. {
  26307. throw;
  26308. }
  26309. catch (Ice.UserException ex__)
  26310. {
  26311. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26312. }
  26313. }
  26314. IceInternal.BasicStream is__ = og__.istr();
  26315. is__.startReadEncaps();
  26316. Murmur.ServerPrx[] ret__;
  26317. {
  26318. int szx__ = is__.readAndCheckSeqSize(2);
  26319. ret__ = new Murmur.ServerPrx[szx__];
  26320. for (int ix__ = 0; ix__ < szx__; ++ix__)
  26321. {
  26322. ret__[ix__] = Murmur.ServerPrxHelper.read__(is__);
  26323. }
  26324. }
  26325. is__.endReadEncaps();
  26326. return ret__;
  26327. }
  26328. catch (Ice.LocalException ex__)
  26329. {
  26330. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26331. }
  26332. }
  26333. finally
  26334. {
  26335. handler__.reclaimOutgoing(og__);
  26336. }
  26337. }
  26338.  
  26339. public Murmur.ServerPrx[] getBootedServers(_System.Collections.Generic.Dictionary<string, string> context__)
  26340. {
  26341. IceInternal.Outgoing og__ = handler__.getOutgoing("getBootedServers", Ice.OperationMode.Idempotent, context__);
  26342. try
  26343. {
  26344. bool ok__ = og__.invoke();
  26345. try
  26346. {
  26347. if (!ok__)
  26348. {
  26349. try
  26350. {
  26351. og__.throwUserException();
  26352. }
  26353. catch (Murmur.InvalidSecretException)
  26354. {
  26355. throw;
  26356. }
  26357. catch (Ice.UserException ex__)
  26358. {
  26359. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26360. }
  26361. }
  26362. IceInternal.BasicStream is__ = og__.istr();
  26363. is__.startReadEncaps();
  26364. Murmur.ServerPrx[] ret__;
  26365. {
  26366. int szx__ = is__.readAndCheckSeqSize(2);
  26367. ret__ = new Murmur.ServerPrx[szx__];
  26368. for (int ix__ = 0; ix__ < szx__; ++ix__)
  26369. {
  26370. ret__[ix__] = Murmur.ServerPrxHelper.read__(is__);
  26371. }
  26372. }
  26373. is__.endReadEncaps();
  26374. return ret__;
  26375. }
  26376. catch (Ice.LocalException ex__)
  26377. {
  26378. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26379. }
  26380. }
  26381. finally
  26382. {
  26383. handler__.reclaimOutgoing(og__);
  26384. }
  26385. }
  26386.  
  26387. public _System.Collections.Generic.Dictionary<string, string> getDefaultConf(_System.Collections.Generic.Dictionary<string, string> context__)
  26388. {
  26389. IceInternal.Outgoing og__ = handler__.getOutgoing("getDefaultConf", Ice.OperationMode.Idempotent, context__);
  26390. try
  26391. {
  26392. bool ok__ = og__.invoke();
  26393. try
  26394. {
  26395. if (!ok__)
  26396. {
  26397. try
  26398. {
  26399. og__.throwUserException();
  26400. }
  26401. catch (Murmur.InvalidSecretException)
  26402. {
  26403. throw;
  26404. }
  26405. catch (Ice.UserException ex__)
  26406. {
  26407. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26408. }
  26409. }
  26410. IceInternal.BasicStream is__ = og__.istr();
  26411. is__.startReadEncaps();
  26412. _System.Collections.Generic.Dictionary<string, string> ret__;
  26413. ret__ = Murmur.ConfigMapHelper.read(is__);
  26414. is__.endReadEncaps();
  26415. return ret__;
  26416. }
  26417. catch (Ice.LocalException ex__)
  26418. {
  26419. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26420. }
  26421. }
  26422. finally
  26423. {
  26424. handler__.reclaimOutgoing(og__);
  26425. }
  26426. }
  26427.  
  26428. public Murmur.ServerPrx getServer(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  26429. {
  26430. IceInternal.Outgoing og__ = handler__.getOutgoing("getServer", Ice.OperationMode.Idempotent, context__);
  26431. try
  26432. {
  26433. try
  26434. {
  26435. IceInternal.BasicStream os__ = og__.ostr();
  26436. os__.writeInt(id);
  26437. }
  26438. catch (Ice.LocalException ex__)
  26439. {
  26440. og__.abort(ex__);
  26441. }
  26442. bool ok__ = og__.invoke();
  26443. try
  26444. {
  26445. if (!ok__)
  26446. {
  26447. try
  26448. {
  26449. og__.throwUserException();
  26450. }
  26451. catch (Murmur.InvalidSecretException)
  26452. {
  26453. throw;
  26454. }
  26455. catch (Ice.UserException ex__)
  26456. {
  26457. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26458. }
  26459. }
  26460. IceInternal.BasicStream is__ = og__.istr();
  26461. is__.startReadEncaps();
  26462. Murmur.ServerPrx ret__;
  26463. ret__ = Murmur.ServerPrxHelper.read__(is__);
  26464. is__.endReadEncaps();
  26465. return ret__;
  26466. }
  26467. catch (Ice.LocalException ex__)
  26468. {
  26469. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26470. }
  26471. }
  26472. finally
  26473. {
  26474. handler__.reclaimOutgoing(og__);
  26475. }
  26476. }
  26477.  
  26478. public string getSlice(_System.Collections.Generic.Dictionary<string, string> context__)
  26479. {
  26480. IceInternal.Outgoing og__ = handler__.getOutgoing("getSlice", Ice.OperationMode.Idempotent, context__);
  26481. try
  26482. {
  26483. bool ok__ = og__.invoke();
  26484. try
  26485. {
  26486. if (!ok__)
  26487. {
  26488. try
  26489. {
  26490. og__.throwUserException();
  26491. }
  26492. catch (Ice.UserException ex__)
  26493. {
  26494. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26495. }
  26496. }
  26497. IceInternal.BasicStream is__ = og__.istr();
  26498. is__.startReadEncaps();
  26499. string ret__;
  26500. ret__ = is__.readString();
  26501. is__.endReadEncaps();
  26502. return ret__;
  26503. }
  26504. catch (Ice.LocalException ex__)
  26505. {
  26506. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26507. }
  26508. }
  26509. finally
  26510. {
  26511. handler__.reclaimOutgoing(og__);
  26512. }
  26513. }
  26514.  
  26515. public _System.Collections.Generic.Dictionary<string, string> getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> context__)
  26516. {
  26517. IceInternal.Outgoing og__ = handler__.getOutgoing("getSliceChecksums", Ice.OperationMode.Idempotent, context__);
  26518. try
  26519. {
  26520. bool ok__ = og__.invoke();
  26521. try
  26522. {
  26523. if (!ok__)
  26524. {
  26525. try
  26526. {
  26527. og__.throwUserException();
  26528. }
  26529. catch (Ice.UserException ex__)
  26530. {
  26531. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26532. }
  26533. }
  26534. IceInternal.BasicStream is__ = og__.istr();
  26535. is__.startReadEncaps();
  26536. _System.Collections.Generic.Dictionary<string, string> ret__;
  26537. ret__ = Ice.SliceChecksumDictHelper.read(is__);
  26538. is__.endReadEncaps();
  26539. return ret__;
  26540. }
  26541. catch (Ice.LocalException ex__)
  26542. {
  26543. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26544. }
  26545. }
  26546. finally
  26547. {
  26548. handler__.reclaimOutgoing(og__);
  26549. }
  26550. }
  26551.  
  26552. public int getUptime(_System.Collections.Generic.Dictionary<string, string> context__)
  26553. {
  26554. IceInternal.Outgoing og__ = handler__.getOutgoing("getUptime", Ice.OperationMode.Idempotent, context__);
  26555. try
  26556. {
  26557. bool ok__ = og__.invoke();
  26558. try
  26559. {
  26560. if (!ok__)
  26561. {
  26562. try
  26563. {
  26564. og__.throwUserException();
  26565. }
  26566. catch (Ice.UserException ex__)
  26567. {
  26568. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26569. }
  26570. }
  26571. IceInternal.BasicStream is__ = og__.istr();
  26572. is__.startReadEncaps();
  26573. int ret__;
  26574. ret__ = is__.readInt();
  26575. is__.endReadEncaps();
  26576. return ret__;
  26577. }
  26578. catch (Ice.LocalException ex__)
  26579. {
  26580. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26581. }
  26582. }
  26583. finally
  26584. {
  26585. handler__.reclaimOutgoing(og__);
  26586. }
  26587. }
  26588.  
  26589. public void getVersion(out int major, out int minor, out int patch, out string text, _System.Collections.Generic.Dictionary<string, string> context__)
  26590. {
  26591. IceInternal.Outgoing og__ = handler__.getOutgoing("getVersion", Ice.OperationMode.Idempotent, context__);
  26592. try
  26593. {
  26594. bool ok__ = og__.invoke();
  26595. try
  26596. {
  26597. if (!ok__)
  26598. {
  26599. try
  26600. {
  26601. og__.throwUserException();
  26602. }
  26603. catch (Ice.UserException ex__)
  26604. {
  26605. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26606. }
  26607. }
  26608. IceInternal.BasicStream is__ = og__.istr();
  26609. is__.startReadEncaps();
  26610. major = is__.readInt();
  26611. minor = is__.readInt();
  26612. patch = is__.readInt();
  26613. text = is__.readString();
  26614. is__.endReadEncaps();
  26615. }
  26616. catch (Ice.LocalException ex__)
  26617. {
  26618. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26619. }
  26620. }
  26621. finally
  26622. {
  26623. handler__.reclaimOutgoing(og__);
  26624. }
  26625. }
  26626.  
  26627. public Murmur.ServerPrx newServer(_System.Collections.Generic.Dictionary<string, string> context__)
  26628. {
  26629. IceInternal.Outgoing og__ = handler__.getOutgoing("newServer", Ice.OperationMode.Normal, context__);
  26630. try
  26631. {
  26632. bool ok__ = og__.invoke();
  26633. try
  26634. {
  26635. if (!ok__)
  26636. {
  26637. try
  26638. {
  26639. og__.throwUserException();
  26640. }
  26641. catch (Murmur.InvalidSecretException)
  26642. {
  26643. throw;
  26644. }
  26645. catch (Ice.UserException ex__)
  26646. {
  26647. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26648. }
  26649. }
  26650. IceInternal.BasicStream is__ = og__.istr();
  26651. is__.startReadEncaps();
  26652. Murmur.ServerPrx ret__;
  26653. ret__ = Murmur.ServerPrxHelper.read__(is__);
  26654. is__.endReadEncaps();
  26655. return ret__;
  26656. }
  26657. catch (Ice.LocalException ex__)
  26658. {
  26659. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26660. }
  26661. }
  26662. finally
  26663. {
  26664. handler__.reclaimOutgoing(og__);
  26665. }
  26666. }
  26667.  
  26668. public void removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  26669. {
  26670. IceInternal.Outgoing og__ = handler__.getOutgoing("removeCallback", Ice.OperationMode.Normal, context__);
  26671. try
  26672. {
  26673. try
  26674. {
  26675. IceInternal.BasicStream os__ = og__.ostr();
  26676. Murmur.MetaCallbackPrxHelper.write__(os__, cb);
  26677. }
  26678. catch (Ice.LocalException ex__)
  26679. {
  26680. og__.abort(ex__);
  26681. }
  26682. bool ok__ = og__.invoke();
  26683. try
  26684. {
  26685. if (!ok__)
  26686. {
  26687. try
  26688. {
  26689. og__.throwUserException();
  26690. }
  26691. catch (Murmur.InvalidCallbackException)
  26692. {
  26693. throw;
  26694. }
  26695. catch (Murmur.InvalidSecretException)
  26696. {
  26697. throw;
  26698. }
  26699. catch (Ice.UserException ex__)
  26700. {
  26701. throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
  26702. }
  26703. }
  26704. og__.istr().skipEmptyEncaps();
  26705. }
  26706. catch (Ice.LocalException ex__)
  26707. {
  26708. throw new IceInternal.LocalExceptionWrapper(ex__, false);
  26709. }
  26710. }
  26711. finally
  26712. {
  26713. handler__.reclaimOutgoing(og__);
  26714. }
  26715. }
  26716. }
  26717. }
  26718.  
  26719. namespace Murmur
  26720. {
  26721. [_System.Runtime.InteropServices.ComVisible(false)]
  26722. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  26723. public sealed class TreeDelD_ : Ice.ObjectDelD_, TreeDel_
  26724. {
  26725. }
  26726.  
  26727. [_System.Runtime.InteropServices.ComVisible(false)]
  26728. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  26729. public sealed class ServerCallbackDelD_ : Ice.ObjectDelD_, ServerCallbackDel_
  26730. {
  26731. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  26732. public void channelCreated(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  26733. {
  26734. Ice.Current current__ = new Ice.Current();
  26735. initCurrent__(ref current__, "channelCreated", Ice.OperationMode.Idempotent, context__);
  26736. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  26737. {
  26738. ServerCallback servant__ = null;
  26739. try
  26740. {
  26741. servant__ = (ServerCallback)obj__;
  26742. }
  26743. catch (_System.InvalidCastException)
  26744. {
  26745. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  26746. }
  26747. servant__.channelCreated(state, current__);
  26748. return Ice.DispatchStatus.DispatchOK;
  26749. };
  26750. IceInternal.Direct direct__ = null;
  26751. try
  26752. {
  26753. direct__ = new IceInternal.Direct(current__, run__);
  26754. try
  26755. {
  26756. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  26757. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  26758. }
  26759. finally
  26760. {
  26761. direct__.destroy();
  26762. }
  26763. }
  26764. catch (Ice.SystemException)
  26765. {
  26766. throw;
  26767. }
  26768. catch (_System.Exception ex__)
  26769. {
  26770. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  26771. }
  26772. }
  26773.  
  26774. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  26775. public void channelRemoved(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  26776. {
  26777. Ice.Current current__ = new Ice.Current();
  26778. initCurrent__(ref current__, "channelRemoved", Ice.OperationMode.Idempotent, context__);
  26779. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  26780. {
  26781. ServerCallback servant__ = null;
  26782. try
  26783. {
  26784. servant__ = (ServerCallback)obj__;
  26785. }
  26786. catch (_System.InvalidCastException)
  26787. {
  26788. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  26789. }
  26790. servant__.channelRemoved(state, current__);
  26791. return Ice.DispatchStatus.DispatchOK;
  26792. };
  26793. IceInternal.Direct direct__ = null;
  26794. try
  26795. {
  26796. direct__ = new IceInternal.Direct(current__, run__);
  26797. try
  26798. {
  26799. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  26800. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  26801. }
  26802. finally
  26803. {
  26804. direct__.destroy();
  26805. }
  26806. }
  26807. catch (Ice.SystemException)
  26808. {
  26809. throw;
  26810. }
  26811. catch (_System.Exception ex__)
  26812. {
  26813. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  26814. }
  26815. }
  26816.  
  26817. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  26818. public void channelStateChanged(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  26819. {
  26820. Ice.Current current__ = new Ice.Current();
  26821. initCurrent__(ref current__, "channelStateChanged", Ice.OperationMode.Idempotent, context__);
  26822. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  26823. {
  26824. ServerCallback servant__ = null;
  26825. try
  26826. {
  26827. servant__ = (ServerCallback)obj__;
  26828. }
  26829. catch (_System.InvalidCastException)
  26830. {
  26831. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  26832. }
  26833. servant__.channelStateChanged(state, current__);
  26834. return Ice.DispatchStatus.DispatchOK;
  26835. };
  26836. IceInternal.Direct direct__ = null;
  26837. try
  26838. {
  26839. direct__ = new IceInternal.Direct(current__, run__);
  26840. try
  26841. {
  26842. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  26843. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  26844. }
  26845. finally
  26846. {
  26847. direct__.destroy();
  26848. }
  26849. }
  26850. catch (Ice.SystemException)
  26851. {
  26852. throw;
  26853. }
  26854. catch (_System.Exception ex__)
  26855. {
  26856. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  26857. }
  26858. }
  26859.  
  26860. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  26861. public void userConnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  26862. {
  26863. Ice.Current current__ = new Ice.Current();
  26864. initCurrent__(ref current__, "userConnected", Ice.OperationMode.Idempotent, context__);
  26865. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  26866. {
  26867. ServerCallback servant__ = null;
  26868. try
  26869. {
  26870. servant__ = (ServerCallback)obj__;
  26871. }
  26872. catch (_System.InvalidCastException)
  26873. {
  26874. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  26875. }
  26876. servant__.userConnected(state, current__);
  26877. return Ice.DispatchStatus.DispatchOK;
  26878. };
  26879. IceInternal.Direct direct__ = null;
  26880. try
  26881. {
  26882. direct__ = new IceInternal.Direct(current__, run__);
  26883. try
  26884. {
  26885. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  26886. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  26887. }
  26888. finally
  26889. {
  26890. direct__.destroy();
  26891. }
  26892. }
  26893. catch (Ice.SystemException)
  26894. {
  26895. throw;
  26896. }
  26897. catch (_System.Exception ex__)
  26898. {
  26899. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  26900. }
  26901. }
  26902.  
  26903. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  26904. public void userDisconnected(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  26905. {
  26906. Ice.Current current__ = new Ice.Current();
  26907. initCurrent__(ref current__, "userDisconnected", Ice.OperationMode.Idempotent, context__);
  26908. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  26909. {
  26910. ServerCallback servant__ = null;
  26911. try
  26912. {
  26913. servant__ = (ServerCallback)obj__;
  26914. }
  26915. catch (_System.InvalidCastException)
  26916. {
  26917. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  26918. }
  26919. servant__.userDisconnected(state, current__);
  26920. return Ice.DispatchStatus.DispatchOK;
  26921. };
  26922. IceInternal.Direct direct__ = null;
  26923. try
  26924. {
  26925. direct__ = new IceInternal.Direct(current__, run__);
  26926. try
  26927. {
  26928. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  26929. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  26930. }
  26931. finally
  26932. {
  26933. direct__.destroy();
  26934. }
  26935. }
  26936. catch (Ice.SystemException)
  26937. {
  26938. throw;
  26939. }
  26940. catch (_System.Exception ex__)
  26941. {
  26942. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  26943. }
  26944. }
  26945.  
  26946. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  26947. public void userStateChanged(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  26948. {
  26949. Ice.Current current__ = new Ice.Current();
  26950. initCurrent__(ref current__, "userStateChanged", Ice.OperationMode.Idempotent, context__);
  26951. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  26952. {
  26953. ServerCallback servant__ = null;
  26954. try
  26955. {
  26956. servant__ = (ServerCallback)obj__;
  26957. }
  26958. catch (_System.InvalidCastException)
  26959. {
  26960. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  26961. }
  26962. servant__.userStateChanged(state, current__);
  26963. return Ice.DispatchStatus.DispatchOK;
  26964. };
  26965. IceInternal.Direct direct__ = null;
  26966. try
  26967. {
  26968. direct__ = new IceInternal.Direct(current__, run__);
  26969. try
  26970. {
  26971. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  26972. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  26973. }
  26974. finally
  26975. {
  26976. direct__.destroy();
  26977. }
  26978. }
  26979. catch (Ice.SystemException)
  26980. {
  26981. throw;
  26982. }
  26983. catch (_System.Exception ex__)
  26984. {
  26985. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  26986. }
  26987. }
  26988.  
  26989. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  26990. public void userTextMessage(Murmur.User state, Murmur.TextMessage message, _System.Collections.Generic.Dictionary<string, string> context__)
  26991. {
  26992. Ice.Current current__ = new Ice.Current();
  26993. initCurrent__(ref current__, "userTextMessage", Ice.OperationMode.Idempotent, context__);
  26994. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  26995. {
  26996. ServerCallback servant__ = null;
  26997. try
  26998. {
  26999. servant__ = (ServerCallback)obj__;
  27000. }
  27001. catch (_System.InvalidCastException)
  27002. {
  27003. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27004. }
  27005. servant__.userTextMessage(state, message, current__);
  27006. return Ice.DispatchStatus.DispatchOK;
  27007. };
  27008. IceInternal.Direct direct__ = null;
  27009. try
  27010. {
  27011. direct__ = new IceInternal.Direct(current__, run__);
  27012. try
  27013. {
  27014. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27015. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27016. }
  27017. finally
  27018. {
  27019. direct__.destroy();
  27020. }
  27021. }
  27022. catch (Ice.SystemException)
  27023. {
  27024. throw;
  27025. }
  27026. catch (_System.Exception ex__)
  27027. {
  27028. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27029. }
  27030. }
  27031. }
  27032.  
  27033. [_System.Runtime.InteropServices.ComVisible(false)]
  27034. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  27035. public sealed class ServerContextCallbackDelD_ : Ice.ObjectDelD_, ServerContextCallbackDel_
  27036. {
  27037. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27038. public void contextAction(string action, Murmur.User usr, int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  27039. {
  27040. Ice.Current current__ = new Ice.Current();
  27041. initCurrent__(ref current__, "contextAction", Ice.OperationMode.Idempotent, context__);
  27042. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27043. {
  27044. ServerContextCallback servant__ = null;
  27045. try
  27046. {
  27047. servant__ = (ServerContextCallback)obj__;
  27048. }
  27049. catch (_System.InvalidCastException)
  27050. {
  27051. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27052. }
  27053. servant__.contextAction(action, usr, session, channelid, current__);
  27054. return Ice.DispatchStatus.DispatchOK;
  27055. };
  27056. IceInternal.Direct direct__ = null;
  27057. try
  27058. {
  27059. direct__ = new IceInternal.Direct(current__, run__);
  27060. try
  27061. {
  27062. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27063. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27064. }
  27065. finally
  27066. {
  27067. direct__.destroy();
  27068. }
  27069. }
  27070. catch (Ice.SystemException)
  27071. {
  27072. throw;
  27073. }
  27074. catch (_System.Exception ex__)
  27075. {
  27076. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27077. }
  27078. }
  27079. }
  27080.  
  27081. [_System.Runtime.InteropServices.ComVisible(false)]
  27082. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  27083. public sealed class ServerAuthenticatorDelD_ : Ice.ObjectDelD_, ServerAuthenticatorDel_
  27084. {
  27085. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27086. public int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, _System.Collections.Generic.Dictionary<string, string> context__)
  27087. {
  27088. Ice.Current current__ = new Ice.Current();
  27089. initCurrent__(ref current__, "authenticate", Ice.OperationMode.Idempotent, context__);
  27090. string newnameHolder__ = null;
  27091. string[] groupsHolder__ = null;
  27092. int result__ = 0;
  27093. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27094. {
  27095. ServerAuthenticator servant__ = null;
  27096. try
  27097. {
  27098. servant__ = (ServerAuthenticator)obj__;
  27099. }
  27100. catch (_System.InvalidCastException)
  27101. {
  27102. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27103. }
  27104. result__ = servant__.authenticate(name, pw, certificates, certhash, certstrong, out newnameHolder__, out groupsHolder__, current__);
  27105. return Ice.DispatchStatus.DispatchOK;
  27106. };
  27107. IceInternal.Direct direct__ = null;
  27108. try
  27109. {
  27110. direct__ = new IceInternal.Direct(current__, run__);
  27111. try
  27112. {
  27113. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27114. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27115. }
  27116. finally
  27117. {
  27118. direct__.destroy();
  27119. }
  27120. }
  27121. catch (Ice.SystemException)
  27122. {
  27123. throw;
  27124. }
  27125. catch (_System.Exception ex__)
  27126. {
  27127. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27128. }
  27129. newname = newnameHolder__;
  27130. groups = groupsHolder__;
  27131. return result__;
  27132. }
  27133.  
  27134. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27135. public bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  27136. {
  27137. Ice.Current current__ = new Ice.Current();
  27138. initCurrent__(ref current__, "getInfo", Ice.OperationMode.Idempotent, context__);
  27139. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> infoHolder__ = null;
  27140. bool result__ = false;
  27141. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27142. {
  27143. ServerAuthenticator servant__ = null;
  27144. try
  27145. {
  27146. servant__ = (ServerAuthenticator)obj__;
  27147. }
  27148. catch (_System.InvalidCastException)
  27149. {
  27150. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27151. }
  27152. result__ = servant__.getInfo(id, out infoHolder__, current__);
  27153. return Ice.DispatchStatus.DispatchOK;
  27154. };
  27155. IceInternal.Direct direct__ = null;
  27156. try
  27157. {
  27158. direct__ = new IceInternal.Direct(current__, run__);
  27159. try
  27160. {
  27161. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27162. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27163. }
  27164. finally
  27165. {
  27166. direct__.destroy();
  27167. }
  27168. }
  27169. catch (Ice.SystemException)
  27170. {
  27171. throw;
  27172. }
  27173. catch (_System.Exception ex__)
  27174. {
  27175. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27176. }
  27177. info = infoHolder__;
  27178. return result__;
  27179. }
  27180.  
  27181. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27182. public string idToName(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  27183. {
  27184. Ice.Current current__ = new Ice.Current();
  27185. initCurrent__(ref current__, "idToName", Ice.OperationMode.Idempotent, context__);
  27186. string result__ = null;
  27187. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27188. {
  27189. ServerAuthenticator servant__ = null;
  27190. try
  27191. {
  27192. servant__ = (ServerAuthenticator)obj__;
  27193. }
  27194. catch (_System.InvalidCastException)
  27195. {
  27196. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27197. }
  27198. result__ = servant__.idToName(id, current__);
  27199. return Ice.DispatchStatus.DispatchOK;
  27200. };
  27201. IceInternal.Direct direct__ = null;
  27202. try
  27203. {
  27204. direct__ = new IceInternal.Direct(current__, run__);
  27205. try
  27206. {
  27207. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27208. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27209. }
  27210. finally
  27211. {
  27212. direct__.destroy();
  27213. }
  27214. }
  27215. catch (Ice.SystemException)
  27216. {
  27217. throw;
  27218. }
  27219. catch (_System.Exception ex__)
  27220. {
  27221. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27222. }
  27223. return result__;
  27224. }
  27225.  
  27226. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27227. public byte[] idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  27228. {
  27229. Ice.Current current__ = new Ice.Current();
  27230. initCurrent__(ref current__, "idToTexture", Ice.OperationMode.Idempotent, context__);
  27231. byte[] result__ = null;
  27232. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27233. {
  27234. ServerAuthenticator servant__ = null;
  27235. try
  27236. {
  27237. servant__ = (ServerAuthenticator)obj__;
  27238. }
  27239. catch (_System.InvalidCastException)
  27240. {
  27241. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27242. }
  27243. result__ = servant__.idToTexture(id, current__);
  27244. return Ice.DispatchStatus.DispatchOK;
  27245. };
  27246. IceInternal.Direct direct__ = null;
  27247. try
  27248. {
  27249. direct__ = new IceInternal.Direct(current__, run__);
  27250. try
  27251. {
  27252. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27253. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27254. }
  27255. finally
  27256. {
  27257. direct__.destroy();
  27258. }
  27259. }
  27260. catch (Ice.SystemException)
  27261. {
  27262. throw;
  27263. }
  27264. catch (_System.Exception ex__)
  27265. {
  27266. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27267. }
  27268. return result__;
  27269. }
  27270.  
  27271. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27272. public int nameToId(string name, _System.Collections.Generic.Dictionary<string, string> context__)
  27273. {
  27274. Ice.Current current__ = new Ice.Current();
  27275. initCurrent__(ref current__, "nameToId", Ice.OperationMode.Idempotent, context__);
  27276. int result__ = 0;
  27277. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27278. {
  27279. ServerAuthenticator servant__ = null;
  27280. try
  27281. {
  27282. servant__ = (ServerAuthenticator)obj__;
  27283. }
  27284. catch (_System.InvalidCastException)
  27285. {
  27286. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27287. }
  27288. result__ = servant__.nameToId(name, current__);
  27289. return Ice.DispatchStatus.DispatchOK;
  27290. };
  27291. IceInternal.Direct direct__ = null;
  27292. try
  27293. {
  27294. direct__ = new IceInternal.Direct(current__, run__);
  27295. try
  27296. {
  27297. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27298. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27299. }
  27300. finally
  27301. {
  27302. direct__.destroy();
  27303. }
  27304. }
  27305. catch (Ice.SystemException)
  27306. {
  27307. throw;
  27308. }
  27309. catch (_System.Exception ex__)
  27310. {
  27311. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27312. }
  27313. return result__;
  27314. }
  27315. }
  27316.  
  27317. [_System.Runtime.InteropServices.ComVisible(false)]
  27318. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  27319. public sealed class ServerUpdatingAuthenticatorDelD_ : Ice.ObjectDelD_, ServerUpdatingAuthenticatorDel_
  27320. {
  27321. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27322. public int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, _System.Collections.Generic.Dictionary<string, string> context__)
  27323. {
  27324. Ice.Current current__ = new Ice.Current();
  27325. initCurrent__(ref current__, "authenticate", Ice.OperationMode.Idempotent, context__);
  27326. string newnameHolder__ = null;
  27327. string[] groupsHolder__ = null;
  27328. int result__ = 0;
  27329. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27330. {
  27331. ServerUpdatingAuthenticator servant__ = null;
  27332. try
  27333. {
  27334. servant__ = (ServerUpdatingAuthenticator)obj__;
  27335. }
  27336. catch (_System.InvalidCastException)
  27337. {
  27338. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27339. }
  27340. result__ = servant__.authenticate(name, pw, certificates, certhash, certstrong, out newnameHolder__, out groupsHolder__, current__);
  27341. return Ice.DispatchStatus.DispatchOK;
  27342. };
  27343. IceInternal.Direct direct__ = null;
  27344. try
  27345. {
  27346. direct__ = new IceInternal.Direct(current__, run__);
  27347. try
  27348. {
  27349. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27350. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27351. }
  27352. finally
  27353. {
  27354. direct__.destroy();
  27355. }
  27356. }
  27357. catch (Ice.SystemException)
  27358. {
  27359. throw;
  27360. }
  27361. catch (_System.Exception ex__)
  27362. {
  27363. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27364. }
  27365. newname = newnameHolder__;
  27366. groups = groupsHolder__;
  27367. return result__;
  27368. }
  27369.  
  27370. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27371. public bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  27372. {
  27373. Ice.Current current__ = new Ice.Current();
  27374. initCurrent__(ref current__, "getInfo", Ice.OperationMode.Idempotent, context__);
  27375. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> infoHolder__ = null;
  27376. bool result__ = false;
  27377. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27378. {
  27379. ServerUpdatingAuthenticator servant__ = null;
  27380. try
  27381. {
  27382. servant__ = (ServerUpdatingAuthenticator)obj__;
  27383. }
  27384. catch (_System.InvalidCastException)
  27385. {
  27386. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27387. }
  27388. result__ = servant__.getInfo(id, out infoHolder__, current__);
  27389. return Ice.DispatchStatus.DispatchOK;
  27390. };
  27391. IceInternal.Direct direct__ = null;
  27392. try
  27393. {
  27394. direct__ = new IceInternal.Direct(current__, run__);
  27395. try
  27396. {
  27397. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27398. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27399. }
  27400. finally
  27401. {
  27402. direct__.destroy();
  27403. }
  27404. }
  27405. catch (Ice.SystemException)
  27406. {
  27407. throw;
  27408. }
  27409. catch (_System.Exception ex__)
  27410. {
  27411. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27412. }
  27413. info = infoHolder__;
  27414. return result__;
  27415. }
  27416.  
  27417. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27418. public string idToName(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  27419. {
  27420. Ice.Current current__ = new Ice.Current();
  27421. initCurrent__(ref current__, "idToName", Ice.OperationMode.Idempotent, context__);
  27422. string result__ = null;
  27423. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27424. {
  27425. ServerUpdatingAuthenticator servant__ = null;
  27426. try
  27427. {
  27428. servant__ = (ServerUpdatingAuthenticator)obj__;
  27429. }
  27430. catch (_System.InvalidCastException)
  27431. {
  27432. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27433. }
  27434. result__ = servant__.idToName(id, current__);
  27435. return Ice.DispatchStatus.DispatchOK;
  27436. };
  27437. IceInternal.Direct direct__ = null;
  27438. try
  27439. {
  27440. direct__ = new IceInternal.Direct(current__, run__);
  27441. try
  27442. {
  27443. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27444. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27445. }
  27446. finally
  27447. {
  27448. direct__.destroy();
  27449. }
  27450. }
  27451. catch (Ice.SystemException)
  27452. {
  27453. throw;
  27454. }
  27455. catch (_System.Exception ex__)
  27456. {
  27457. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27458. }
  27459. return result__;
  27460. }
  27461.  
  27462. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27463. public byte[] idToTexture(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  27464. {
  27465. Ice.Current current__ = new Ice.Current();
  27466. initCurrent__(ref current__, "idToTexture", Ice.OperationMode.Idempotent, context__);
  27467. byte[] result__ = null;
  27468. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27469. {
  27470. ServerUpdatingAuthenticator servant__ = null;
  27471. try
  27472. {
  27473. servant__ = (ServerUpdatingAuthenticator)obj__;
  27474. }
  27475. catch (_System.InvalidCastException)
  27476. {
  27477. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27478. }
  27479. result__ = servant__.idToTexture(id, current__);
  27480. return Ice.DispatchStatus.DispatchOK;
  27481. };
  27482. IceInternal.Direct direct__ = null;
  27483. try
  27484. {
  27485. direct__ = new IceInternal.Direct(current__, run__);
  27486. try
  27487. {
  27488. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27489. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27490. }
  27491. finally
  27492. {
  27493. direct__.destroy();
  27494. }
  27495. }
  27496. catch (Ice.SystemException)
  27497. {
  27498. throw;
  27499. }
  27500. catch (_System.Exception ex__)
  27501. {
  27502. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27503. }
  27504. return result__;
  27505. }
  27506.  
  27507. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27508. public int nameToId(string name, _System.Collections.Generic.Dictionary<string, string> context__)
  27509. {
  27510. Ice.Current current__ = new Ice.Current();
  27511. initCurrent__(ref current__, "nameToId", Ice.OperationMode.Idempotent, context__);
  27512. int result__ = 0;
  27513. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27514. {
  27515. ServerUpdatingAuthenticator servant__ = null;
  27516. try
  27517. {
  27518. servant__ = (ServerUpdatingAuthenticator)obj__;
  27519. }
  27520. catch (_System.InvalidCastException)
  27521. {
  27522. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27523. }
  27524. result__ = servant__.nameToId(name, current__);
  27525. return Ice.DispatchStatus.DispatchOK;
  27526. };
  27527. IceInternal.Direct direct__ = null;
  27528. try
  27529. {
  27530. direct__ = new IceInternal.Direct(current__, run__);
  27531. try
  27532. {
  27533. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27534. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27535. }
  27536. finally
  27537. {
  27538. direct__.destroy();
  27539. }
  27540. }
  27541. catch (Ice.SystemException)
  27542. {
  27543. throw;
  27544. }
  27545. catch (_System.Exception ex__)
  27546. {
  27547. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27548. }
  27549. return result__;
  27550. }
  27551.  
  27552. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27553. public _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__)
  27554. {
  27555. Ice.Current current__ = new Ice.Current();
  27556. initCurrent__(ref current__, "getRegisteredUsers", Ice.OperationMode.Idempotent, context__);
  27557. _System.Collections.Generic.Dictionary<int, string> result__ = null;
  27558. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27559. {
  27560. ServerUpdatingAuthenticator servant__ = null;
  27561. try
  27562. {
  27563. servant__ = (ServerUpdatingAuthenticator)obj__;
  27564. }
  27565. catch (_System.InvalidCastException)
  27566. {
  27567. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27568. }
  27569. result__ = servant__.getRegisteredUsers(filter, current__);
  27570. return Ice.DispatchStatus.DispatchOK;
  27571. };
  27572. IceInternal.Direct direct__ = null;
  27573. try
  27574. {
  27575. direct__ = new IceInternal.Direct(current__, run__);
  27576. try
  27577. {
  27578. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27579. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27580. }
  27581. finally
  27582. {
  27583. direct__.destroy();
  27584. }
  27585. }
  27586. catch (Ice.SystemException)
  27587. {
  27588. throw;
  27589. }
  27590. catch (_System.Exception ex__)
  27591. {
  27592. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27593. }
  27594. return result__;
  27595. }
  27596.  
  27597. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27598. public int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  27599. {
  27600. Ice.Current current__ = new Ice.Current();
  27601. initCurrent__(ref current__, "registerUser", Ice.OperationMode.Normal, context__);
  27602. int result__ = 0;
  27603. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27604. {
  27605. ServerUpdatingAuthenticator servant__ = null;
  27606. try
  27607. {
  27608. servant__ = (ServerUpdatingAuthenticator)obj__;
  27609. }
  27610. catch (_System.InvalidCastException)
  27611. {
  27612. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27613. }
  27614. result__ = servant__.registerUser(info, current__);
  27615. return Ice.DispatchStatus.DispatchOK;
  27616. };
  27617. IceInternal.Direct direct__ = null;
  27618. try
  27619. {
  27620. direct__ = new IceInternal.Direct(current__, run__);
  27621. try
  27622. {
  27623. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27624. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27625. }
  27626. finally
  27627. {
  27628. direct__.destroy();
  27629. }
  27630. }
  27631. catch (Ice.SystemException)
  27632. {
  27633. throw;
  27634. }
  27635. catch (_System.Exception ex__)
  27636. {
  27637. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27638. }
  27639. return result__;
  27640. }
  27641.  
  27642. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27643. public int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  27644. {
  27645. Ice.Current current__ = new Ice.Current();
  27646. initCurrent__(ref current__, "setInfo", Ice.OperationMode.Idempotent, context__);
  27647. int result__ = 0;
  27648. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27649. {
  27650. ServerUpdatingAuthenticator servant__ = null;
  27651. try
  27652. {
  27653. servant__ = (ServerUpdatingAuthenticator)obj__;
  27654. }
  27655. catch (_System.InvalidCastException)
  27656. {
  27657. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27658. }
  27659. result__ = servant__.setInfo(id, info, current__);
  27660. return Ice.DispatchStatus.DispatchOK;
  27661. };
  27662. IceInternal.Direct direct__ = null;
  27663. try
  27664. {
  27665. direct__ = new IceInternal.Direct(current__, run__);
  27666. try
  27667. {
  27668. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27669. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27670. }
  27671. finally
  27672. {
  27673. direct__.destroy();
  27674. }
  27675. }
  27676. catch (Ice.SystemException)
  27677. {
  27678. throw;
  27679. }
  27680. catch (_System.Exception ex__)
  27681. {
  27682. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27683. }
  27684. return result__;
  27685. }
  27686.  
  27687. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27688. public int setTexture(int id, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__)
  27689. {
  27690. Ice.Current current__ = new Ice.Current();
  27691. initCurrent__(ref current__, "setTexture", Ice.OperationMode.Idempotent, context__);
  27692. int result__ = 0;
  27693. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27694. {
  27695. ServerUpdatingAuthenticator servant__ = null;
  27696. try
  27697. {
  27698. servant__ = (ServerUpdatingAuthenticator)obj__;
  27699. }
  27700. catch (_System.InvalidCastException)
  27701. {
  27702. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27703. }
  27704. result__ = servant__.setTexture(id, tex, current__);
  27705. return Ice.DispatchStatus.DispatchOK;
  27706. };
  27707. IceInternal.Direct direct__ = null;
  27708. try
  27709. {
  27710. direct__ = new IceInternal.Direct(current__, run__);
  27711. try
  27712. {
  27713. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27714. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27715. }
  27716. finally
  27717. {
  27718. direct__.destroy();
  27719. }
  27720. }
  27721. catch (Ice.SystemException)
  27722. {
  27723. throw;
  27724. }
  27725. catch (_System.Exception ex__)
  27726. {
  27727. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27728. }
  27729. return result__;
  27730. }
  27731.  
  27732. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27733. public int unregisterUser(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  27734. {
  27735. Ice.Current current__ = new Ice.Current();
  27736. initCurrent__(ref current__, "unregisterUser", Ice.OperationMode.Normal, context__);
  27737. int result__ = 0;
  27738. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  27739. {
  27740. ServerUpdatingAuthenticator servant__ = null;
  27741. try
  27742. {
  27743. servant__ = (ServerUpdatingAuthenticator)obj__;
  27744. }
  27745. catch (_System.InvalidCastException)
  27746. {
  27747. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  27748. }
  27749. result__ = servant__.unregisterUser(id, current__);
  27750. return Ice.DispatchStatus.DispatchOK;
  27751. };
  27752. IceInternal.Direct direct__ = null;
  27753. try
  27754. {
  27755. direct__ = new IceInternal.Direct(current__, run__);
  27756. try
  27757. {
  27758. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  27759. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  27760. }
  27761. finally
  27762. {
  27763. direct__.destroy();
  27764. }
  27765. }
  27766. catch (Ice.SystemException)
  27767. {
  27768. throw;
  27769. }
  27770. catch (_System.Exception ex__)
  27771. {
  27772. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  27773. }
  27774. return result__;
  27775. }
  27776. }
  27777.  
  27778. [_System.Runtime.InteropServices.ComVisible(false)]
  27779. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  27780. public sealed class ServerDelD_ : Ice.ObjectDelD_, ServerDel_
  27781. {
  27782. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27783. public void addCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  27784. {
  27785. throw new Ice.CollocationOptimizationException();
  27786. }
  27787.  
  27788. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27789. public int addChannel(string name, int parent, _System.Collections.Generic.Dictionary<string, string> context__)
  27790. {
  27791. throw new Ice.CollocationOptimizationException();
  27792. }
  27793.  
  27794. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27795. public void addContextCallback(int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, _System.Collections.Generic.Dictionary<string, string> context__)
  27796. {
  27797. throw new Ice.CollocationOptimizationException();
  27798. }
  27799.  
  27800. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27801. public void addUserToGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__)
  27802. {
  27803. throw new Ice.CollocationOptimizationException();
  27804. }
  27805.  
  27806. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27807. public void delete(_System.Collections.Generic.Dictionary<string, string> context__)
  27808. {
  27809. throw new Ice.CollocationOptimizationException();
  27810. }
  27811.  
  27812. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27813. public int effectivePermissions(int session, int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  27814. {
  27815. throw new Ice.CollocationOptimizationException();
  27816. }
  27817.  
  27818. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27819. public void getACL(int channelid, out Murmur.ACL[] acls, out Murmur.Group[] groups, out bool inherit, _System.Collections.Generic.Dictionary<string, string> context__)
  27820. {
  27821. throw new Ice.CollocationOptimizationException();
  27822. }
  27823.  
  27824. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27825. public _System.Collections.Generic.Dictionary<string, string> getAllConf(_System.Collections.Generic.Dictionary<string, string> context__)
  27826. {
  27827. throw new Ice.CollocationOptimizationException();
  27828. }
  27829.  
  27830. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27831. public Murmur.Ban[] getBans(_System.Collections.Generic.Dictionary<string, string> context__)
  27832. {
  27833. throw new Ice.CollocationOptimizationException();
  27834. }
  27835.  
  27836. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27837. public byte[][] getCertificateList(int session, _System.Collections.Generic.Dictionary<string, string> context__)
  27838. {
  27839. throw new Ice.CollocationOptimizationException();
  27840. }
  27841.  
  27842. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27843. public Murmur.Channel getChannelState(int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  27844. {
  27845. throw new Ice.CollocationOptimizationException();
  27846. }
  27847.  
  27848. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27849. public _System.Collections.Generic.Dictionary<int, Murmur.Channel> getChannels(_System.Collections.Generic.Dictionary<string, string> context__)
  27850. {
  27851. throw new Ice.CollocationOptimizationException();
  27852. }
  27853.  
  27854. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27855. public string getConf(string key, _System.Collections.Generic.Dictionary<string, string> context__)
  27856. {
  27857. throw new Ice.CollocationOptimizationException();
  27858. }
  27859.  
  27860. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27861. public Murmur.LogEntry[] getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> context__)
  27862. {
  27863. throw new Ice.CollocationOptimizationException();
  27864. }
  27865.  
  27866. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27867. public int getLogLen(_System.Collections.Generic.Dictionary<string, string> context__)
  27868. {
  27869. throw new Ice.CollocationOptimizationException();
  27870. }
  27871.  
  27872. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27873. public _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, _System.Collections.Generic.Dictionary<string, string> context__)
  27874. {
  27875. throw new Ice.CollocationOptimizationException();
  27876. }
  27877.  
  27878. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27879. public _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> getRegistration(int userid, _System.Collections.Generic.Dictionary<string, string> context__)
  27880. {
  27881. throw new Ice.CollocationOptimizationException();
  27882. }
  27883.  
  27884. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27885. public Murmur.User getState(int session, _System.Collections.Generic.Dictionary<string, string> context__)
  27886. {
  27887. throw new Ice.CollocationOptimizationException();
  27888. }
  27889.  
  27890. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27891. public byte[] getTexture(int userid, _System.Collections.Generic.Dictionary<string, string> context__)
  27892. {
  27893. throw new Ice.CollocationOptimizationException();
  27894. }
  27895.  
  27896. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27897. public Murmur.Tree getTree(_System.Collections.Generic.Dictionary<string, string> context__)
  27898. {
  27899. throw new Ice.CollocationOptimizationException();
  27900. }
  27901.  
  27902. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27903. public int getUptime(_System.Collections.Generic.Dictionary<string, string> context__)
  27904. {
  27905. throw new Ice.CollocationOptimizationException();
  27906. }
  27907.  
  27908. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27909. public _System.Collections.Generic.Dictionary<string, int> getUserIds(string[] names, _System.Collections.Generic.Dictionary<string, string> context__)
  27910. {
  27911. throw new Ice.CollocationOptimizationException();
  27912. }
  27913.  
  27914. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27915. public _System.Collections.Generic.Dictionary<int, string> getUserNames(int[] ids, _System.Collections.Generic.Dictionary<string, string> context__)
  27916. {
  27917. throw new Ice.CollocationOptimizationException();
  27918. }
  27919.  
  27920. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27921. public _System.Collections.Generic.Dictionary<int, Murmur.User> getUsers(_System.Collections.Generic.Dictionary<string, string> context__)
  27922. {
  27923. throw new Ice.CollocationOptimizationException();
  27924. }
  27925.  
  27926. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27927. public bool hasPermission(int session, int channelid, int perm, _System.Collections.Generic.Dictionary<string, string> context__)
  27928. {
  27929. throw new Ice.CollocationOptimizationException();
  27930. }
  27931.  
  27932. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27933. public int id(_System.Collections.Generic.Dictionary<string, string> context__)
  27934. {
  27935. throw new Ice.CollocationOptimizationException();
  27936. }
  27937.  
  27938. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27939. public bool isRunning(_System.Collections.Generic.Dictionary<string, string> context__)
  27940. {
  27941. throw new Ice.CollocationOptimizationException();
  27942. }
  27943.  
  27944. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27945. public void kickUser(int session, string reason, _System.Collections.Generic.Dictionary<string, string> context__)
  27946. {
  27947. throw new Ice.CollocationOptimizationException();
  27948. }
  27949.  
  27950. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27951. public void redirectWhisperGroup(int session, string source, string target, _System.Collections.Generic.Dictionary<string, string> context__)
  27952. {
  27953. throw new Ice.CollocationOptimizationException();
  27954. }
  27955.  
  27956. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27957. public int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  27958. {
  27959. throw new Ice.CollocationOptimizationException();
  27960. }
  27961.  
  27962. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27963. public void removeCallback(Murmur.ServerCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  27964. {
  27965. throw new Ice.CollocationOptimizationException();
  27966. }
  27967.  
  27968. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27969. public void removeChannel(int channelid, _System.Collections.Generic.Dictionary<string, string> context__)
  27970. {
  27971. throw new Ice.CollocationOptimizationException();
  27972. }
  27973.  
  27974. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27975. public void removeContextCallback(Murmur.ServerContextCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  27976. {
  27977. throw new Ice.CollocationOptimizationException();
  27978. }
  27979.  
  27980. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27981. public void removeUserFromGroup(int channelid, int session, string group, _System.Collections.Generic.Dictionary<string, string> context__)
  27982. {
  27983. throw new Ice.CollocationOptimizationException();
  27984. }
  27985.  
  27986. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27987. public void sendMessage(int session, string text, _System.Collections.Generic.Dictionary<string, string> context__)
  27988. {
  27989. throw new Ice.CollocationOptimizationException();
  27990. }
  27991.  
  27992. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27993. public void sendMessageChannel(int channelid, bool tree, string text, _System.Collections.Generic.Dictionary<string, string> context__)
  27994. {
  27995. throw new Ice.CollocationOptimizationException();
  27996. }
  27997.  
  27998. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  27999. public void setACL(int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, _System.Collections.Generic.Dictionary<string, string> context__)
  28000. {
  28001. throw new Ice.CollocationOptimizationException();
  28002. }
  28003.  
  28004. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28005. public void setAuthenticator(Murmur.ServerAuthenticatorPrx auth, _System.Collections.Generic.Dictionary<string, string> context__)
  28006. {
  28007. throw new Ice.CollocationOptimizationException();
  28008. }
  28009.  
  28010. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28011. public void setBans(Murmur.Ban[] bans, _System.Collections.Generic.Dictionary<string, string> context__)
  28012. {
  28013. throw new Ice.CollocationOptimizationException();
  28014. }
  28015.  
  28016. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28017. public void setChannelState(Murmur.Channel state, _System.Collections.Generic.Dictionary<string, string> context__)
  28018. {
  28019. throw new Ice.CollocationOptimizationException();
  28020. }
  28021.  
  28022. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28023. public void setConf(string key, string value, _System.Collections.Generic.Dictionary<string, string> context__)
  28024. {
  28025. throw new Ice.CollocationOptimizationException();
  28026. }
  28027.  
  28028. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28029. public void setState(Murmur.User state, _System.Collections.Generic.Dictionary<string, string> context__)
  28030. {
  28031. throw new Ice.CollocationOptimizationException();
  28032. }
  28033.  
  28034. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28035. public void setSuperuserPassword(string pw, _System.Collections.Generic.Dictionary<string, string> context__)
  28036. {
  28037. throw new Ice.CollocationOptimizationException();
  28038. }
  28039.  
  28040. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28041. public void setTexture(int userid, byte[] tex, _System.Collections.Generic.Dictionary<string, string> context__)
  28042. {
  28043. throw new Ice.CollocationOptimizationException();
  28044. }
  28045.  
  28046. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28047. public void start(_System.Collections.Generic.Dictionary<string, string> context__)
  28048. {
  28049. throw new Ice.CollocationOptimizationException();
  28050. }
  28051.  
  28052. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28053. public void stop(_System.Collections.Generic.Dictionary<string, string> context__)
  28054. {
  28055. throw new Ice.CollocationOptimizationException();
  28056. }
  28057.  
  28058. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28059. public void unregisterUser(int userid, _System.Collections.Generic.Dictionary<string, string> context__)
  28060. {
  28061. throw new Ice.CollocationOptimizationException();
  28062. }
  28063.  
  28064. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28065. public void updateCertificate(string certificate, string privateKey, string passphrase, _System.Collections.Generic.Dictionary<string, string> context__)
  28066. {
  28067. throw new Ice.CollocationOptimizationException();
  28068. }
  28069.  
  28070. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28071. public void updateRegistration(int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, _System.Collections.Generic.Dictionary<string, string> context__)
  28072. {
  28073. throw new Ice.CollocationOptimizationException();
  28074. }
  28075.  
  28076. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28077. public int verifyPassword(string name, string pw, _System.Collections.Generic.Dictionary<string, string> context__)
  28078. {
  28079. throw new Ice.CollocationOptimizationException();
  28080. }
  28081. }
  28082.  
  28083. [_System.Runtime.InteropServices.ComVisible(false)]
  28084. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  28085. public sealed class MetaCallbackDelD_ : Ice.ObjectDelD_, MetaCallbackDel_
  28086. {
  28087. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28088. public void started(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__)
  28089. {
  28090. Ice.Current current__ = new Ice.Current();
  28091. initCurrent__(ref current__, "started", Ice.OperationMode.Normal, context__);
  28092. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  28093. {
  28094. MetaCallback servant__ = null;
  28095. try
  28096. {
  28097. servant__ = (MetaCallback)obj__;
  28098. }
  28099. catch (_System.InvalidCastException)
  28100. {
  28101. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  28102. }
  28103. servant__.started(srv, current__);
  28104. return Ice.DispatchStatus.DispatchOK;
  28105. };
  28106. IceInternal.Direct direct__ = null;
  28107. try
  28108. {
  28109. direct__ = new IceInternal.Direct(current__, run__);
  28110. try
  28111. {
  28112. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  28113. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  28114. }
  28115. finally
  28116. {
  28117. direct__.destroy();
  28118. }
  28119. }
  28120. catch (Ice.SystemException)
  28121. {
  28122. throw;
  28123. }
  28124. catch (_System.Exception ex__)
  28125. {
  28126. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  28127. }
  28128. }
  28129.  
  28130. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28131. public void stopped(Murmur.ServerPrx srv, _System.Collections.Generic.Dictionary<string, string> context__)
  28132. {
  28133. Ice.Current current__ = new Ice.Current();
  28134. initCurrent__(ref current__, "stopped", Ice.OperationMode.Normal, context__);
  28135. IceInternal.Direct.RunDelegate run__ = delegate (Ice.Object obj__)
  28136. {
  28137. MetaCallback servant__ = null;
  28138. try
  28139. {
  28140. servant__ = (MetaCallback)obj__;
  28141. }
  28142. catch (_System.InvalidCastException)
  28143. {
  28144. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  28145. }
  28146. servant__.stopped(srv, current__);
  28147. return Ice.DispatchStatus.DispatchOK;
  28148. };
  28149. IceInternal.Direct direct__ = null;
  28150. try
  28151. {
  28152. direct__ = new IceInternal.Direct(current__, run__);
  28153. try
  28154. {
  28155. Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
  28156. _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
  28157. }
  28158. finally
  28159. {
  28160. direct__.destroy();
  28161. }
  28162. }
  28163. catch (Ice.SystemException)
  28164. {
  28165. throw;
  28166. }
  28167. catch (_System.Exception ex__)
  28168. {
  28169. IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
  28170. }
  28171. }
  28172. }
  28173.  
  28174. [_System.Runtime.InteropServices.ComVisible(false)]
  28175. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  28176. public sealed class MetaDelD_ : Ice.ObjectDelD_, MetaDel_
  28177. {
  28178. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28179. public void addCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  28180. {
  28181. throw new Ice.CollocationOptimizationException();
  28182. }
  28183.  
  28184. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28185. public Murmur.ServerPrx[] getAllServers(_System.Collections.Generic.Dictionary<string, string> context__)
  28186. {
  28187. throw new Ice.CollocationOptimizationException();
  28188. }
  28189.  
  28190. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28191. public Murmur.ServerPrx[] getBootedServers(_System.Collections.Generic.Dictionary<string, string> context__)
  28192. {
  28193. throw new Ice.CollocationOptimizationException();
  28194. }
  28195.  
  28196. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28197. public _System.Collections.Generic.Dictionary<string, string> getDefaultConf(_System.Collections.Generic.Dictionary<string, string> context__)
  28198. {
  28199. throw new Ice.CollocationOptimizationException();
  28200. }
  28201.  
  28202. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28203. public Murmur.ServerPrx getServer(int id, _System.Collections.Generic.Dictionary<string, string> context__)
  28204. {
  28205. throw new Ice.CollocationOptimizationException();
  28206. }
  28207.  
  28208. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28209. public string getSlice(_System.Collections.Generic.Dictionary<string, string> context__)
  28210. {
  28211. throw new Ice.CollocationOptimizationException();
  28212. }
  28213.  
  28214. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28215. public _System.Collections.Generic.Dictionary<string, string> getSliceChecksums(_System.Collections.Generic.Dictionary<string, string> context__)
  28216. {
  28217. throw new Ice.CollocationOptimizationException();
  28218. }
  28219.  
  28220. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28221. public int getUptime(_System.Collections.Generic.Dictionary<string, string> context__)
  28222. {
  28223. throw new Ice.CollocationOptimizationException();
  28224. }
  28225.  
  28226. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28227. public void getVersion(out int major, out int minor, out int patch, out string text, _System.Collections.Generic.Dictionary<string, string> context__)
  28228. {
  28229. throw new Ice.CollocationOptimizationException();
  28230. }
  28231.  
  28232. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28233. public Murmur.ServerPrx newServer(_System.Collections.Generic.Dictionary<string, string> context__)
  28234. {
  28235. throw new Ice.CollocationOptimizationException();
  28236. }
  28237.  
  28238. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031")]
  28239. public void removeCallback(Murmur.MetaCallbackPrx cb, _System.Collections.Generic.Dictionary<string, string> context__)
  28240. {
  28241. throw new Ice.CollocationOptimizationException();
  28242. }
  28243. }
  28244. }
  28245.  
  28246. namespace Murmur
  28247. {
  28248. [_System.Runtime.InteropServices.ComVisible(false)]
  28249. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  28250. public abstract class ServerCallbackDisp_ : Ice.ObjectImpl, ServerCallback
  28251. {
  28252. #region Slice operations
  28253.  
  28254. public void userConnected(Murmur.User state)
  28255. {
  28256. userConnected(state, Ice.ObjectImpl.defaultCurrent);
  28257. }
  28258.  
  28259. public abstract void userConnected(Murmur.User state, Ice.Current current__);
  28260.  
  28261. public void userDisconnected(Murmur.User state)
  28262. {
  28263. userDisconnected(state, Ice.ObjectImpl.defaultCurrent);
  28264. }
  28265.  
  28266. public abstract void userDisconnected(Murmur.User state, Ice.Current current__);
  28267.  
  28268. public void userStateChanged(Murmur.User state)
  28269. {
  28270. userStateChanged(state, Ice.ObjectImpl.defaultCurrent);
  28271. }
  28272.  
  28273. public abstract void userStateChanged(Murmur.User state, Ice.Current current__);
  28274.  
  28275. public void userTextMessage(Murmur.User state, Murmur.TextMessage message)
  28276. {
  28277. userTextMessage(state, message, Ice.ObjectImpl.defaultCurrent);
  28278. }
  28279.  
  28280. public abstract void userTextMessage(Murmur.User state, Murmur.TextMessage message, Ice.Current current__);
  28281.  
  28282. public void channelCreated(Murmur.Channel state)
  28283. {
  28284. channelCreated(state, Ice.ObjectImpl.defaultCurrent);
  28285. }
  28286.  
  28287. public abstract void channelCreated(Murmur.Channel state, Ice.Current current__);
  28288.  
  28289. public void channelRemoved(Murmur.Channel state)
  28290. {
  28291. channelRemoved(state, Ice.ObjectImpl.defaultCurrent);
  28292. }
  28293.  
  28294. public abstract void channelRemoved(Murmur.Channel state, Ice.Current current__);
  28295.  
  28296. public void channelStateChanged(Murmur.Channel state)
  28297. {
  28298. channelStateChanged(state, Ice.ObjectImpl.defaultCurrent);
  28299. }
  28300.  
  28301. public abstract void channelStateChanged(Murmur.Channel state, Ice.Current current__);
  28302.  
  28303. #endregion
  28304.  
  28305. #region Slice type-related members
  28306.  
  28307. public static new readonly string[] ids__ =
  28308. {
  28309. "::Ice::Object",
  28310. "::Murmur::ServerCallback"
  28311. };
  28312.  
  28313. public override bool ice_isA(string s)
  28314. {
  28315. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  28316. }
  28317.  
  28318. public override bool ice_isA(string s, Ice.Current current__)
  28319. {
  28320. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  28321. }
  28322.  
  28323. public override string[] ice_ids()
  28324. {
  28325. return ids__;
  28326. }
  28327.  
  28328. public override string[] ice_ids(Ice.Current current__)
  28329. {
  28330. return ids__;
  28331. }
  28332.  
  28333. public override string ice_id()
  28334. {
  28335. return ids__[1];
  28336. }
  28337.  
  28338. public override string ice_id(Ice.Current current__)
  28339. {
  28340. return ids__[1];
  28341. }
  28342.  
  28343. public static new string ice_staticId()
  28344. {
  28345. return ids__[1];
  28346. }
  28347.  
  28348. #endregion
  28349.  
  28350. #region Operation dispatch
  28351.  
  28352. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28353. public static Ice.DispatchStatus userConnected___(ServerCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28354. {
  28355. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28356. IceInternal.BasicStream is__ = inS__.istr();
  28357. is__.startReadEncaps();
  28358. Murmur.User state;
  28359. state = null;
  28360. if (state == null)
  28361. {
  28362. state = new Murmur.User();
  28363. }
  28364. state.read__(is__);
  28365. is__.endReadEncaps();
  28366. obj__.userConnected(state, current__);
  28367. return Ice.DispatchStatus.DispatchOK;
  28368. }
  28369.  
  28370. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28371. public static Ice.DispatchStatus userDisconnected___(ServerCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28372. {
  28373. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28374. IceInternal.BasicStream is__ = inS__.istr();
  28375. is__.startReadEncaps();
  28376. Murmur.User state;
  28377. state = null;
  28378. if (state == null)
  28379. {
  28380. state = new Murmur.User();
  28381. }
  28382. state.read__(is__);
  28383. is__.endReadEncaps();
  28384. obj__.userDisconnected(state, current__);
  28385. return Ice.DispatchStatus.DispatchOK;
  28386. }
  28387.  
  28388. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28389. public static Ice.DispatchStatus userStateChanged___(ServerCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28390. {
  28391. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28392. IceInternal.BasicStream is__ = inS__.istr();
  28393. is__.startReadEncaps();
  28394. Murmur.User state;
  28395. state = null;
  28396. if (state == null)
  28397. {
  28398. state = new Murmur.User();
  28399. }
  28400. state.read__(is__);
  28401. is__.endReadEncaps();
  28402. obj__.userStateChanged(state, current__);
  28403. return Ice.DispatchStatus.DispatchOK;
  28404. }
  28405.  
  28406. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28407. public static Ice.DispatchStatus userTextMessage___(ServerCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28408. {
  28409. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28410. IceInternal.BasicStream is__ = inS__.istr();
  28411. is__.startReadEncaps();
  28412. Murmur.User state;
  28413. state = null;
  28414. if (state == null)
  28415. {
  28416. state = new Murmur.User();
  28417. }
  28418. state.read__(is__);
  28419. Murmur.TextMessage message;
  28420. message = null;
  28421. if (message == null)
  28422. {
  28423. message = new Murmur.TextMessage();
  28424. }
  28425. message.read__(is__);
  28426. is__.endReadEncaps();
  28427. obj__.userTextMessage(state, message, current__);
  28428. return Ice.DispatchStatus.DispatchOK;
  28429. }
  28430.  
  28431. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28432. public static Ice.DispatchStatus channelCreated___(ServerCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28433. {
  28434. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28435. IceInternal.BasicStream is__ = inS__.istr();
  28436. is__.startReadEncaps();
  28437. Murmur.Channel state;
  28438. state = null;
  28439. if (state == null)
  28440. {
  28441. state = new Murmur.Channel();
  28442. }
  28443. state.read__(is__);
  28444. is__.endReadEncaps();
  28445. obj__.channelCreated(state, current__);
  28446. return Ice.DispatchStatus.DispatchOK;
  28447. }
  28448.  
  28449. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28450. public static Ice.DispatchStatus channelRemoved___(ServerCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28451. {
  28452. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28453. IceInternal.BasicStream is__ = inS__.istr();
  28454. is__.startReadEncaps();
  28455. Murmur.Channel state;
  28456. state = null;
  28457. if (state == null)
  28458. {
  28459. state = new Murmur.Channel();
  28460. }
  28461. state.read__(is__);
  28462. is__.endReadEncaps();
  28463. obj__.channelRemoved(state, current__);
  28464. return Ice.DispatchStatus.DispatchOK;
  28465. }
  28466.  
  28467. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28468. public static Ice.DispatchStatus channelStateChanged___(ServerCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28469. {
  28470. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28471. IceInternal.BasicStream is__ = inS__.istr();
  28472. is__.startReadEncaps();
  28473. Murmur.Channel state;
  28474. state = null;
  28475. if (state == null)
  28476. {
  28477. state = new Murmur.Channel();
  28478. }
  28479. state.read__(is__);
  28480. is__.endReadEncaps();
  28481. obj__.channelStateChanged(state, current__);
  28482. return Ice.DispatchStatus.DispatchOK;
  28483. }
  28484.  
  28485. private static string[] all__ =
  28486. {
  28487. "channelCreated",
  28488. "channelRemoved",
  28489. "channelStateChanged",
  28490. "ice_id",
  28491. "ice_ids",
  28492. "ice_isA",
  28493. "ice_ping",
  28494. "userConnected",
  28495. "userDisconnected",
  28496. "userStateChanged",
  28497. "userTextMessage"
  28498. };
  28499.  
  28500. public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
  28501. {
  28502. int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
  28503. if (pos < 0)
  28504. {
  28505. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  28506. }
  28507.  
  28508. switch (pos)
  28509. {
  28510. case 0:
  28511. {
  28512. return channelCreated___(this, inS__, current__);
  28513. }
  28514. case 1:
  28515. {
  28516. return channelRemoved___(this, inS__, current__);
  28517. }
  28518. case 2:
  28519. {
  28520. return channelStateChanged___(this, inS__, current__);
  28521. }
  28522. case 3:
  28523. {
  28524. return ice_id___(this, inS__, current__);
  28525. }
  28526. case 4:
  28527. {
  28528. return ice_ids___(this, inS__, current__);
  28529. }
  28530. case 5:
  28531. {
  28532. return ice_isA___(this, inS__, current__);
  28533. }
  28534. case 6:
  28535. {
  28536. return ice_ping___(this, inS__, current__);
  28537. }
  28538. case 7:
  28539. {
  28540. return userConnected___(this, inS__, current__);
  28541. }
  28542. case 8:
  28543. {
  28544. return userDisconnected___(this, inS__, current__);
  28545. }
  28546. case 9:
  28547. {
  28548. return userStateChanged___(this, inS__, current__);
  28549. }
  28550. case 10:
  28551. {
  28552. return userTextMessage___(this, inS__, current__);
  28553. }
  28554. }
  28555.  
  28556. _System.Diagnostics.Debug.Assert(false);
  28557. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  28558. }
  28559.  
  28560. #endregion
  28561.  
  28562. #region Marshaling support
  28563.  
  28564. public override void write__(IceInternal.BasicStream os__)
  28565. {
  28566. os__.writeTypeId(ice_staticId());
  28567. os__.startWriteSlice();
  28568. os__.endWriteSlice();
  28569. base.write__(os__);
  28570. }
  28571.  
  28572. public override void read__(IceInternal.BasicStream is__, bool rid__)
  28573. {
  28574. if (rid__)
  28575. {
  28576. /* string myId = */
  28577. is__.readTypeId();
  28578. }
  28579. is__.startReadSlice();
  28580. is__.endReadSlice();
  28581. base.read__(is__, true);
  28582. }
  28583.  
  28584. public override void write__(Ice.OutputStream outS__)
  28585. {
  28586. Ice.MarshalException ex = new Ice.MarshalException();
  28587. ex.reason = "type Murmur::ServerCallback was not generated with stream support";
  28588. throw ex;
  28589. }
  28590.  
  28591. public override void read__(Ice.InputStream inS__, bool rid__)
  28592. {
  28593. Ice.MarshalException ex = new Ice.MarshalException();
  28594. ex.reason = "type Murmur::ServerCallback was not generated with stream support";
  28595. throw ex;
  28596. }
  28597.  
  28598. #endregion
  28599. }
  28600.  
  28601. [_System.Runtime.InteropServices.ComVisible(false)]
  28602. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  28603. public abstract class ServerContextCallbackDisp_ : Ice.ObjectImpl, ServerContextCallback
  28604. {
  28605. #region Slice operations
  28606.  
  28607. public void contextAction(string action, Murmur.User usr, int session, int channelid)
  28608. {
  28609. contextAction(action, usr, session, channelid, Ice.ObjectImpl.defaultCurrent);
  28610. }
  28611.  
  28612. public abstract void contextAction(string action, Murmur.User usr, int session, int channelid, Ice.Current current__);
  28613.  
  28614. #endregion
  28615.  
  28616. #region Slice type-related members
  28617.  
  28618. public static new readonly string[] ids__ =
  28619. {
  28620. "::Ice::Object",
  28621. "::Murmur::ServerContextCallback"
  28622. };
  28623.  
  28624. public override bool ice_isA(string s)
  28625. {
  28626. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  28627. }
  28628.  
  28629. public override bool ice_isA(string s, Ice.Current current__)
  28630. {
  28631. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  28632. }
  28633.  
  28634. public override string[] ice_ids()
  28635. {
  28636. return ids__;
  28637. }
  28638.  
  28639. public override string[] ice_ids(Ice.Current current__)
  28640. {
  28641. return ids__;
  28642. }
  28643.  
  28644. public override string ice_id()
  28645. {
  28646. return ids__[1];
  28647. }
  28648.  
  28649. public override string ice_id(Ice.Current current__)
  28650. {
  28651. return ids__[1];
  28652. }
  28653.  
  28654. public static new string ice_staticId()
  28655. {
  28656. return ids__[1];
  28657. }
  28658.  
  28659. #endregion
  28660.  
  28661. #region Operation dispatch
  28662.  
  28663. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28664. public static Ice.DispatchStatus contextAction___(ServerContextCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28665. {
  28666. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28667. IceInternal.BasicStream is__ = inS__.istr();
  28668. is__.startReadEncaps();
  28669. string action;
  28670. action = is__.readString();
  28671. Murmur.User usr;
  28672. usr = null;
  28673. if (usr == null)
  28674. {
  28675. usr = new Murmur.User();
  28676. }
  28677. usr.read__(is__);
  28678. int session;
  28679. session = is__.readInt();
  28680. int channelid;
  28681. channelid = is__.readInt();
  28682. is__.endReadEncaps();
  28683. obj__.contextAction(action, usr, session, channelid, current__);
  28684. return Ice.DispatchStatus.DispatchOK;
  28685. }
  28686.  
  28687. private static string[] all__ =
  28688. {
  28689. "contextAction",
  28690. "ice_id",
  28691. "ice_ids",
  28692. "ice_isA",
  28693. "ice_ping"
  28694. };
  28695.  
  28696. public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
  28697. {
  28698. int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
  28699. if (pos < 0)
  28700. {
  28701. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  28702. }
  28703.  
  28704. switch (pos)
  28705. {
  28706. case 0:
  28707. {
  28708. return contextAction___(this, inS__, current__);
  28709. }
  28710. case 1:
  28711. {
  28712. return ice_id___(this, inS__, current__);
  28713. }
  28714. case 2:
  28715. {
  28716. return ice_ids___(this, inS__, current__);
  28717. }
  28718. case 3:
  28719. {
  28720. return ice_isA___(this, inS__, current__);
  28721. }
  28722. case 4:
  28723. {
  28724. return ice_ping___(this, inS__, current__);
  28725. }
  28726. }
  28727.  
  28728. _System.Diagnostics.Debug.Assert(false);
  28729. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  28730. }
  28731.  
  28732. #endregion
  28733.  
  28734. #region Marshaling support
  28735.  
  28736. public override void write__(IceInternal.BasicStream os__)
  28737. {
  28738. os__.writeTypeId(ice_staticId());
  28739. os__.startWriteSlice();
  28740. os__.endWriteSlice();
  28741. base.write__(os__);
  28742. }
  28743.  
  28744. public override void read__(IceInternal.BasicStream is__, bool rid__)
  28745. {
  28746. if (rid__)
  28747. {
  28748. /* string myId = */
  28749. is__.readTypeId();
  28750. }
  28751. is__.startReadSlice();
  28752. is__.endReadSlice();
  28753. base.read__(is__, true);
  28754. }
  28755.  
  28756. public override void write__(Ice.OutputStream outS__)
  28757. {
  28758. Ice.MarshalException ex = new Ice.MarshalException();
  28759. ex.reason = "type Murmur::ServerContextCallback was not generated with stream support";
  28760. throw ex;
  28761. }
  28762.  
  28763. public override void read__(Ice.InputStream inS__, bool rid__)
  28764. {
  28765. Ice.MarshalException ex = new Ice.MarshalException();
  28766. ex.reason = "type Murmur::ServerContextCallback was not generated with stream support";
  28767. throw ex;
  28768. }
  28769.  
  28770. #endregion
  28771. }
  28772.  
  28773. [_System.Runtime.InteropServices.ComVisible(false)]
  28774. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  28775. public abstract class ServerAuthenticatorDisp_ : Ice.ObjectImpl, ServerAuthenticator
  28776. {
  28777. #region Slice operations
  28778.  
  28779. public int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups)
  28780. {
  28781. return authenticate(name, pw, certificates, certhash, certstrong, out newname, out groups, Ice.ObjectImpl.defaultCurrent);
  28782. }
  28783.  
  28784. public abstract int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, Ice.Current current__);
  28785.  
  28786. public bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  28787. {
  28788. return getInfo(id, out info, Ice.ObjectImpl.defaultCurrent);
  28789. }
  28790.  
  28791. public abstract bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  28792.  
  28793. public int nameToId(string name)
  28794. {
  28795. return nameToId(name, Ice.ObjectImpl.defaultCurrent);
  28796. }
  28797.  
  28798. public abstract int nameToId(string name, Ice.Current current__);
  28799.  
  28800. public string idToName(int id)
  28801. {
  28802. return idToName(id, Ice.ObjectImpl.defaultCurrent);
  28803. }
  28804.  
  28805. public abstract string idToName(int id, Ice.Current current__);
  28806.  
  28807. public byte[] idToTexture(int id)
  28808. {
  28809. return idToTexture(id, Ice.ObjectImpl.defaultCurrent);
  28810. }
  28811.  
  28812. public abstract byte[] idToTexture(int id, Ice.Current current__);
  28813.  
  28814. #endregion
  28815.  
  28816. #region Slice type-related members
  28817.  
  28818. public static new readonly string[] ids__ =
  28819. {
  28820. "::Ice::Object",
  28821. "::Murmur::ServerAuthenticator"
  28822. };
  28823.  
  28824. public override bool ice_isA(string s)
  28825. {
  28826. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  28827. }
  28828.  
  28829. public override bool ice_isA(string s, Ice.Current current__)
  28830. {
  28831. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  28832. }
  28833.  
  28834. public override string[] ice_ids()
  28835. {
  28836. return ids__;
  28837. }
  28838.  
  28839. public override string[] ice_ids(Ice.Current current__)
  28840. {
  28841. return ids__;
  28842. }
  28843.  
  28844. public override string ice_id()
  28845. {
  28846. return ids__[1];
  28847. }
  28848.  
  28849. public override string ice_id(Ice.Current current__)
  28850. {
  28851. return ids__[1];
  28852. }
  28853.  
  28854. public static new string ice_staticId()
  28855. {
  28856. return ids__[1];
  28857. }
  28858.  
  28859. #endregion
  28860.  
  28861. #region Operation dispatch
  28862.  
  28863. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28864. public static Ice.DispatchStatus authenticate___(ServerAuthenticator obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28865. {
  28866. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28867. IceInternal.BasicStream is__ = inS__.istr();
  28868. is__.startReadEncaps();
  28869. string name;
  28870. name = is__.readString();
  28871. string pw;
  28872. pw = is__.readString();
  28873. byte[][] certificates;
  28874. {
  28875. int szx__ = is__.readAndCheckSeqSize(1);
  28876. certificates = new byte[szx__][];
  28877. for (int ix__ = 0; ix__ < szx__; ++ix__)
  28878. {
  28879. certificates[ix__] = Murmur.CertificateDerHelper.read(is__);
  28880. }
  28881. }
  28882. string certhash;
  28883. certhash = is__.readString();
  28884. bool certstrong;
  28885. certstrong = is__.readBool();
  28886. is__.endReadEncaps();
  28887. string newname;
  28888. string[] groups;
  28889. IceInternal.BasicStream os__ = inS__.ostr();
  28890. int ret__ = obj__.authenticate(name, pw, certificates, certhash, certstrong, out newname, out groups, current__);
  28891. os__.writeString(newname);
  28892. os__.writeStringSeq(groups);
  28893. os__.writeInt(ret__);
  28894. return Ice.DispatchStatus.DispatchOK;
  28895. }
  28896.  
  28897. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28898. public static Ice.DispatchStatus getInfo___(ServerAuthenticator obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28899. {
  28900. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28901. IceInternal.BasicStream is__ = inS__.istr();
  28902. is__.startReadEncaps();
  28903. int id;
  28904. id = is__.readInt();
  28905. is__.endReadEncaps();
  28906. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info;
  28907. IceInternal.BasicStream os__ = inS__.ostr();
  28908. bool ret__ = obj__.getInfo(id, out info, current__);
  28909. Murmur.UserInfoMapHelper.write(os__, info);
  28910. os__.writeBool(ret__);
  28911. return Ice.DispatchStatus.DispatchOK;
  28912. }
  28913.  
  28914. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28915. public static Ice.DispatchStatus nameToId___(ServerAuthenticator obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28916. {
  28917. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28918. IceInternal.BasicStream is__ = inS__.istr();
  28919. is__.startReadEncaps();
  28920. string name;
  28921. name = is__.readString();
  28922. is__.endReadEncaps();
  28923. IceInternal.BasicStream os__ = inS__.ostr();
  28924. int ret__ = obj__.nameToId(name, current__);
  28925. os__.writeInt(ret__);
  28926. return Ice.DispatchStatus.DispatchOK;
  28927. }
  28928.  
  28929. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28930. public static Ice.DispatchStatus idToName___(ServerAuthenticator obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28931. {
  28932. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28933. IceInternal.BasicStream is__ = inS__.istr();
  28934. is__.startReadEncaps();
  28935. int id;
  28936. id = is__.readInt();
  28937. is__.endReadEncaps();
  28938. IceInternal.BasicStream os__ = inS__.ostr();
  28939. string ret__ = obj__.idToName(id, current__);
  28940. os__.writeString(ret__);
  28941. return Ice.DispatchStatus.DispatchOK;
  28942. }
  28943.  
  28944. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  28945. public static Ice.DispatchStatus idToTexture___(ServerAuthenticator obj__, IceInternal.Incoming inS__, Ice.Current current__)
  28946. {
  28947. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  28948. IceInternal.BasicStream is__ = inS__.istr();
  28949. is__.startReadEncaps();
  28950. int id;
  28951. id = is__.readInt();
  28952. is__.endReadEncaps();
  28953. IceInternal.BasicStream os__ = inS__.ostr();
  28954. byte[] ret__ = obj__.idToTexture(id, current__);
  28955. os__.writeByteSeq(ret__);
  28956. return Ice.DispatchStatus.DispatchOK;
  28957. }
  28958.  
  28959. private static string[] all__ =
  28960. {
  28961. "authenticate",
  28962. "getInfo",
  28963. "ice_id",
  28964. "ice_ids",
  28965. "ice_isA",
  28966. "ice_ping",
  28967. "idToName",
  28968. "idToTexture",
  28969. "nameToId"
  28970. };
  28971.  
  28972. public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
  28973. {
  28974. int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
  28975. if (pos < 0)
  28976. {
  28977. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  28978. }
  28979.  
  28980. switch (pos)
  28981. {
  28982. case 0:
  28983. {
  28984. return authenticate___(this, inS__, current__);
  28985. }
  28986. case 1:
  28987. {
  28988. return getInfo___(this, inS__, current__);
  28989. }
  28990. case 2:
  28991. {
  28992. return ice_id___(this, inS__, current__);
  28993. }
  28994. case 3:
  28995. {
  28996. return ice_ids___(this, inS__, current__);
  28997. }
  28998. case 4:
  28999. {
  29000. return ice_isA___(this, inS__, current__);
  29001. }
  29002. case 5:
  29003. {
  29004. return ice_ping___(this, inS__, current__);
  29005. }
  29006. case 6:
  29007. {
  29008. return idToName___(this, inS__, current__);
  29009. }
  29010. case 7:
  29011. {
  29012. return idToTexture___(this, inS__, current__);
  29013. }
  29014. case 8:
  29015. {
  29016. return nameToId___(this, inS__, current__);
  29017. }
  29018. }
  29019.  
  29020. _System.Diagnostics.Debug.Assert(false);
  29021. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  29022. }
  29023.  
  29024. #endregion
  29025.  
  29026. #region Marshaling support
  29027.  
  29028. public override void write__(IceInternal.BasicStream os__)
  29029. {
  29030. os__.writeTypeId(ice_staticId());
  29031. os__.startWriteSlice();
  29032. os__.endWriteSlice();
  29033. base.write__(os__);
  29034. }
  29035.  
  29036. public override void read__(IceInternal.BasicStream is__, bool rid__)
  29037. {
  29038. if (rid__)
  29039. {
  29040. /* string myId = */
  29041. is__.readTypeId();
  29042. }
  29043. is__.startReadSlice();
  29044. is__.endReadSlice();
  29045. base.read__(is__, true);
  29046. }
  29047.  
  29048. public override void write__(Ice.OutputStream outS__)
  29049. {
  29050. Ice.MarshalException ex = new Ice.MarshalException();
  29051. ex.reason = "type Murmur::ServerAuthenticator was not generated with stream support";
  29052. throw ex;
  29053. }
  29054.  
  29055. public override void read__(Ice.InputStream inS__, bool rid__)
  29056. {
  29057. Ice.MarshalException ex = new Ice.MarshalException();
  29058. ex.reason = "type Murmur::ServerAuthenticator was not generated with stream support";
  29059. throw ex;
  29060. }
  29061.  
  29062. #endregion
  29063. }
  29064.  
  29065. [_System.Runtime.InteropServices.ComVisible(false)]
  29066. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  29067. public abstract class ServerUpdatingAuthenticatorDisp_ : Ice.ObjectImpl, ServerUpdatingAuthenticator
  29068. {
  29069. #region Slice operations
  29070.  
  29071. public int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  29072. {
  29073. return registerUser(info, Ice.ObjectImpl.defaultCurrent);
  29074. }
  29075.  
  29076. public abstract int registerUser(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  29077.  
  29078. public int unregisterUser(int id)
  29079. {
  29080. return unregisterUser(id, Ice.ObjectImpl.defaultCurrent);
  29081. }
  29082.  
  29083. public abstract int unregisterUser(int id, Ice.Current current__);
  29084.  
  29085. public _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter)
  29086. {
  29087. return getRegisteredUsers(filter, Ice.ObjectImpl.defaultCurrent);
  29088. }
  29089.  
  29090. public abstract _System.Collections.Generic.Dictionary<int, string> getRegisteredUsers(string filter, Ice.Current current__);
  29091.  
  29092. public int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  29093. {
  29094. return setInfo(id, info, Ice.ObjectImpl.defaultCurrent);
  29095. }
  29096.  
  29097. public abstract int setInfo(int id, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  29098.  
  29099. public int setTexture(int id, byte[] tex)
  29100. {
  29101. return setTexture(id, tex, Ice.ObjectImpl.defaultCurrent);
  29102. }
  29103.  
  29104. public abstract int setTexture(int id, byte[] tex, Ice.Current current__);
  29105.  
  29106. #endregion
  29107.  
  29108. #region Inherited Slice operations
  29109.  
  29110. public int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups)
  29111. {
  29112. return authenticate(name, pw, certificates, certhash, certstrong, out newname, out groups, Ice.ObjectImpl.defaultCurrent);
  29113. }
  29114.  
  29115. public abstract int authenticate(string name, string pw, byte[][] certificates, string certhash, bool certstrong, out string newname, out string[] groups, Ice.Current current__);
  29116.  
  29117. public bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  29118. {
  29119. return getInfo(id, out info, Ice.ObjectImpl.defaultCurrent);
  29120. }
  29121.  
  29122. public abstract bool getInfo(int id, out _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  29123.  
  29124. public string idToName(int id)
  29125. {
  29126. return idToName(id, Ice.ObjectImpl.defaultCurrent);
  29127. }
  29128.  
  29129. public abstract string idToName(int id, Ice.Current current__);
  29130.  
  29131. public byte[] idToTexture(int id)
  29132. {
  29133. return idToTexture(id, Ice.ObjectImpl.defaultCurrent);
  29134. }
  29135.  
  29136. public abstract byte[] idToTexture(int id, Ice.Current current__);
  29137.  
  29138. public int nameToId(string name)
  29139. {
  29140. return nameToId(name, Ice.ObjectImpl.defaultCurrent);
  29141. }
  29142.  
  29143. public abstract int nameToId(string name, Ice.Current current__);
  29144.  
  29145. #endregion
  29146.  
  29147. #region Slice type-related members
  29148.  
  29149. public static new readonly string[] ids__ =
  29150. {
  29151. "::Ice::Object",
  29152. "::Murmur::ServerAuthenticator",
  29153. "::Murmur::ServerUpdatingAuthenticator"
  29154. };
  29155.  
  29156. public override bool ice_isA(string s)
  29157. {
  29158. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  29159. }
  29160.  
  29161. public override bool ice_isA(string s, Ice.Current current__)
  29162. {
  29163. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  29164. }
  29165.  
  29166. public override string[] ice_ids()
  29167. {
  29168. return ids__;
  29169. }
  29170.  
  29171. public override string[] ice_ids(Ice.Current current__)
  29172. {
  29173. return ids__;
  29174. }
  29175.  
  29176. public override string ice_id()
  29177. {
  29178. return ids__[2];
  29179. }
  29180.  
  29181. public override string ice_id(Ice.Current current__)
  29182. {
  29183. return ids__[2];
  29184. }
  29185.  
  29186. public static new string ice_staticId()
  29187. {
  29188. return ids__[2];
  29189. }
  29190.  
  29191. #endregion
  29192.  
  29193. #region Operation dispatch
  29194.  
  29195. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29196. public static Ice.DispatchStatus registerUser___(ServerUpdatingAuthenticator obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29197. {
  29198. checkMode__(Ice.OperationMode.Normal, current__.mode);
  29199. IceInternal.BasicStream is__ = inS__.istr();
  29200. is__.startReadEncaps();
  29201. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info;
  29202. info = Murmur.UserInfoMapHelper.read(is__);
  29203. is__.endReadEncaps();
  29204. IceInternal.BasicStream os__ = inS__.ostr();
  29205. int ret__ = obj__.registerUser(info, current__);
  29206. os__.writeInt(ret__);
  29207. return Ice.DispatchStatus.DispatchOK;
  29208. }
  29209.  
  29210. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29211. public static Ice.DispatchStatus unregisterUser___(ServerUpdatingAuthenticator obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29212. {
  29213. checkMode__(Ice.OperationMode.Normal, current__.mode);
  29214. IceInternal.BasicStream is__ = inS__.istr();
  29215. is__.startReadEncaps();
  29216. int id;
  29217. id = is__.readInt();
  29218. is__.endReadEncaps();
  29219. IceInternal.BasicStream os__ = inS__.ostr();
  29220. int ret__ = obj__.unregisterUser(id, current__);
  29221. os__.writeInt(ret__);
  29222. return Ice.DispatchStatus.DispatchOK;
  29223. }
  29224.  
  29225. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29226. public static Ice.DispatchStatus getRegisteredUsers___(ServerUpdatingAuthenticator obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29227. {
  29228. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  29229. IceInternal.BasicStream is__ = inS__.istr();
  29230. is__.startReadEncaps();
  29231. string filter;
  29232. filter = is__.readString();
  29233. is__.endReadEncaps();
  29234. IceInternal.BasicStream os__ = inS__.ostr();
  29235. _System.Collections.Generic.Dictionary<int, string> ret__ = obj__.getRegisteredUsers(filter, current__);
  29236. Murmur.NameMapHelper.write(os__, ret__);
  29237. return Ice.DispatchStatus.DispatchOK;
  29238. }
  29239.  
  29240. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29241. public static Ice.DispatchStatus setInfo___(ServerUpdatingAuthenticator obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29242. {
  29243. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  29244. IceInternal.BasicStream is__ = inS__.istr();
  29245. is__.startReadEncaps();
  29246. int id;
  29247. id = is__.readInt();
  29248. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info;
  29249. info = Murmur.UserInfoMapHelper.read(is__);
  29250. is__.endReadEncaps();
  29251. IceInternal.BasicStream os__ = inS__.ostr();
  29252. int ret__ = obj__.setInfo(id, info, current__);
  29253. os__.writeInt(ret__);
  29254. return Ice.DispatchStatus.DispatchOK;
  29255. }
  29256.  
  29257. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29258. public static Ice.DispatchStatus setTexture___(ServerUpdatingAuthenticator obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29259. {
  29260. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  29261. IceInternal.BasicStream is__ = inS__.istr();
  29262. is__.startReadEncaps();
  29263. int id;
  29264. id = is__.readInt();
  29265. byte[] tex;
  29266. tex = is__.readByteSeq();
  29267. is__.endReadEncaps();
  29268. IceInternal.BasicStream os__ = inS__.ostr();
  29269. int ret__ = obj__.setTexture(id, tex, current__);
  29270. os__.writeInt(ret__);
  29271. return Ice.DispatchStatus.DispatchOK;
  29272. }
  29273.  
  29274. private static string[] all__ =
  29275. {
  29276. "authenticate",
  29277. "getInfo",
  29278. "getRegisteredUsers",
  29279. "ice_id",
  29280. "ice_ids",
  29281. "ice_isA",
  29282. "ice_ping",
  29283. "idToName",
  29284. "idToTexture",
  29285. "nameToId",
  29286. "registerUser",
  29287. "setInfo",
  29288. "setTexture",
  29289. "unregisterUser"
  29290. };
  29291.  
  29292. public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
  29293. {
  29294. int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
  29295. if (pos < 0)
  29296. {
  29297. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  29298. }
  29299.  
  29300. switch (pos)
  29301. {
  29302. case 0:
  29303. {
  29304. return Murmur.ServerAuthenticatorDisp_.authenticate___(this, inS__, current__);
  29305. }
  29306. case 1:
  29307. {
  29308. return Murmur.ServerAuthenticatorDisp_.getInfo___(this, inS__, current__);
  29309. }
  29310. case 2:
  29311. {
  29312. return getRegisteredUsers___(this, inS__, current__);
  29313. }
  29314. case 3:
  29315. {
  29316. return ice_id___(this, inS__, current__);
  29317. }
  29318. case 4:
  29319. {
  29320. return ice_ids___(this, inS__, current__);
  29321. }
  29322. case 5:
  29323. {
  29324. return ice_isA___(this, inS__, current__);
  29325. }
  29326. case 6:
  29327. {
  29328. return ice_ping___(this, inS__, current__);
  29329. }
  29330. case 7:
  29331. {
  29332. return Murmur.ServerAuthenticatorDisp_.idToName___(this, inS__, current__);
  29333. }
  29334. case 8:
  29335. {
  29336. return Murmur.ServerAuthenticatorDisp_.idToTexture___(this, inS__, current__);
  29337. }
  29338. case 9:
  29339. {
  29340. return Murmur.ServerAuthenticatorDisp_.nameToId___(this, inS__, current__);
  29341. }
  29342. case 10:
  29343. {
  29344. return registerUser___(this, inS__, current__);
  29345. }
  29346. case 11:
  29347. {
  29348. return setInfo___(this, inS__, current__);
  29349. }
  29350. case 12:
  29351. {
  29352. return setTexture___(this, inS__, current__);
  29353. }
  29354. case 13:
  29355. {
  29356. return unregisterUser___(this, inS__, current__);
  29357. }
  29358. }
  29359.  
  29360. _System.Diagnostics.Debug.Assert(false);
  29361. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  29362. }
  29363.  
  29364. #endregion
  29365.  
  29366. #region Marshaling support
  29367.  
  29368. public override void write__(IceInternal.BasicStream os__)
  29369. {
  29370. os__.writeTypeId(ice_staticId());
  29371. os__.startWriteSlice();
  29372. os__.endWriteSlice();
  29373. base.write__(os__);
  29374. }
  29375.  
  29376. public override void read__(IceInternal.BasicStream is__, bool rid__)
  29377. {
  29378. if (rid__)
  29379. {
  29380. /* string myId = */
  29381. is__.readTypeId();
  29382. }
  29383. is__.startReadSlice();
  29384. is__.endReadSlice();
  29385. base.read__(is__, true);
  29386. }
  29387.  
  29388. public override void write__(Ice.OutputStream outS__)
  29389. {
  29390. Ice.MarshalException ex = new Ice.MarshalException();
  29391. ex.reason = "type Murmur::ServerUpdatingAuthenticator was not generated with stream support";
  29392. throw ex;
  29393. }
  29394.  
  29395. public override void read__(Ice.InputStream inS__, bool rid__)
  29396. {
  29397. Ice.MarshalException ex = new Ice.MarshalException();
  29398. ex.reason = "type Murmur::ServerUpdatingAuthenticator was not generated with stream support";
  29399. throw ex;
  29400. }
  29401.  
  29402. #endregion
  29403. }
  29404.  
  29405. [_System.Runtime.InteropServices.ComVisible(false)]
  29406. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  29407. public abstract class ServerDisp_ : Ice.ObjectImpl, Server
  29408. {
  29409. #region Slice operations
  29410.  
  29411. public void isRunning_async(Murmur.AMD_Server_isRunning cb__)
  29412. {
  29413. isRunning_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29414. }
  29415.  
  29416. public abstract void isRunning_async(Murmur.AMD_Server_isRunning cb__, Ice.Current current__);
  29417.  
  29418. public void start_async(Murmur.AMD_Server_start cb__)
  29419. {
  29420. start_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29421. }
  29422.  
  29423. public abstract void start_async(Murmur.AMD_Server_start cb__, Ice.Current current__);
  29424.  
  29425. public void stop_async(Murmur.AMD_Server_stop cb__)
  29426. {
  29427. stop_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29428. }
  29429.  
  29430. public abstract void stop_async(Murmur.AMD_Server_stop cb__, Ice.Current current__);
  29431.  
  29432. public void delete_async(Murmur.AMD_Server_delete cb__)
  29433. {
  29434. delete_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29435. }
  29436.  
  29437. public abstract void delete_async(Murmur.AMD_Server_delete cb__, Ice.Current current__);
  29438.  
  29439. public void id_async(Murmur.AMD_Server_id cb__)
  29440. {
  29441. id_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29442. }
  29443.  
  29444. public abstract void id_async(Murmur.AMD_Server_id cb__, Ice.Current current__);
  29445.  
  29446. public void addCallback_async(Murmur.AMD_Server_addCallback cb__, Murmur.ServerCallbackPrx cb)
  29447. {
  29448. addCallback_async(cb__, cb, Ice.ObjectImpl.defaultCurrent);
  29449. }
  29450.  
  29451. public abstract void addCallback_async(Murmur.AMD_Server_addCallback cb__, Murmur.ServerCallbackPrx cb, Ice.Current current__);
  29452.  
  29453. public void removeCallback_async(Murmur.AMD_Server_removeCallback cb__, Murmur.ServerCallbackPrx cb)
  29454. {
  29455. removeCallback_async(cb__, cb, Ice.ObjectImpl.defaultCurrent);
  29456. }
  29457.  
  29458. public abstract void removeCallback_async(Murmur.AMD_Server_removeCallback cb__, Murmur.ServerCallbackPrx cb, Ice.Current current__);
  29459.  
  29460. public void setAuthenticator_async(Murmur.AMD_Server_setAuthenticator cb__, Murmur.ServerAuthenticatorPrx auth)
  29461. {
  29462. setAuthenticator_async(cb__, auth, Ice.ObjectImpl.defaultCurrent);
  29463. }
  29464.  
  29465. public abstract void setAuthenticator_async(Murmur.AMD_Server_setAuthenticator cb__, Murmur.ServerAuthenticatorPrx auth, Ice.Current current__);
  29466.  
  29467. public void getConf_async(Murmur.AMD_Server_getConf cb__, string key)
  29468. {
  29469. getConf_async(cb__, key, Ice.ObjectImpl.defaultCurrent);
  29470. }
  29471.  
  29472. public abstract void getConf_async(Murmur.AMD_Server_getConf cb__, string key, Ice.Current current__);
  29473.  
  29474. public void getAllConf_async(Murmur.AMD_Server_getAllConf cb__)
  29475. {
  29476. getAllConf_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29477. }
  29478.  
  29479. public abstract void getAllConf_async(Murmur.AMD_Server_getAllConf cb__, Ice.Current current__);
  29480.  
  29481. public void setConf_async(Murmur.AMD_Server_setConf cb__, string key, string value)
  29482. {
  29483. setConf_async(cb__, key, value, Ice.ObjectImpl.defaultCurrent);
  29484. }
  29485.  
  29486. public abstract void setConf_async(Murmur.AMD_Server_setConf cb__, string key, string value, Ice.Current current__);
  29487.  
  29488. public void setSuperuserPassword_async(Murmur.AMD_Server_setSuperuserPassword cb__, string pw)
  29489. {
  29490. setSuperuserPassword_async(cb__, pw, Ice.ObjectImpl.defaultCurrent);
  29491. }
  29492.  
  29493. public abstract void setSuperuserPassword_async(Murmur.AMD_Server_setSuperuserPassword cb__, string pw, Ice.Current current__);
  29494.  
  29495. public void getLog_async(Murmur.AMD_Server_getLog cb__, int first, int last)
  29496. {
  29497. getLog_async(cb__, first, last, Ice.ObjectImpl.defaultCurrent);
  29498. }
  29499.  
  29500. public abstract void getLog_async(Murmur.AMD_Server_getLog cb__, int first, int last, Ice.Current current__);
  29501.  
  29502. public void getLogLen_async(Murmur.AMD_Server_getLogLen cb__)
  29503. {
  29504. getLogLen_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29505. }
  29506.  
  29507. public abstract void getLogLen_async(Murmur.AMD_Server_getLogLen cb__, Ice.Current current__);
  29508.  
  29509. public void getUsers_async(Murmur.AMD_Server_getUsers cb__)
  29510. {
  29511. getUsers_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29512. }
  29513.  
  29514. public abstract void getUsers_async(Murmur.AMD_Server_getUsers cb__, Ice.Current current__);
  29515.  
  29516. public void getChannels_async(Murmur.AMD_Server_getChannels cb__)
  29517. {
  29518. getChannels_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29519. }
  29520.  
  29521. public abstract void getChannels_async(Murmur.AMD_Server_getChannels cb__, Ice.Current current__);
  29522.  
  29523. public void getCertificateList_async(Murmur.AMD_Server_getCertificateList cb__, int session)
  29524. {
  29525. getCertificateList_async(cb__, session, Ice.ObjectImpl.defaultCurrent);
  29526. }
  29527.  
  29528. public abstract void getCertificateList_async(Murmur.AMD_Server_getCertificateList cb__, int session, Ice.Current current__);
  29529.  
  29530. public void getTree_async(Murmur.AMD_Server_getTree cb__)
  29531. {
  29532. getTree_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29533. }
  29534.  
  29535. public abstract void getTree_async(Murmur.AMD_Server_getTree cb__, Ice.Current current__);
  29536.  
  29537. public void getBans_async(Murmur.AMD_Server_getBans cb__)
  29538. {
  29539. getBans_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29540. }
  29541.  
  29542. public abstract void getBans_async(Murmur.AMD_Server_getBans cb__, Ice.Current current__);
  29543.  
  29544. public void setBans_async(Murmur.AMD_Server_setBans cb__, Murmur.Ban[] bans)
  29545. {
  29546. setBans_async(cb__, bans, Ice.ObjectImpl.defaultCurrent);
  29547. }
  29548.  
  29549. public abstract void setBans_async(Murmur.AMD_Server_setBans cb__, Murmur.Ban[] bans, Ice.Current current__);
  29550.  
  29551. public void kickUser_async(Murmur.AMD_Server_kickUser cb__, int session, string reason)
  29552. {
  29553. kickUser_async(cb__, session, reason, Ice.ObjectImpl.defaultCurrent);
  29554. }
  29555.  
  29556. public abstract void kickUser_async(Murmur.AMD_Server_kickUser cb__, int session, string reason, Ice.Current current__);
  29557.  
  29558. public void getState_async(Murmur.AMD_Server_getState cb__, int session)
  29559. {
  29560. getState_async(cb__, session, Ice.ObjectImpl.defaultCurrent);
  29561. }
  29562.  
  29563. public abstract void getState_async(Murmur.AMD_Server_getState cb__, int session, Ice.Current current__);
  29564.  
  29565. public void setState_async(Murmur.AMD_Server_setState cb__, Murmur.User state)
  29566. {
  29567. setState_async(cb__, state, Ice.ObjectImpl.defaultCurrent);
  29568. }
  29569.  
  29570. public abstract void setState_async(Murmur.AMD_Server_setState cb__, Murmur.User state, Ice.Current current__);
  29571.  
  29572. public void sendMessage_async(Murmur.AMD_Server_sendMessage cb__, int session, string text)
  29573. {
  29574. sendMessage_async(cb__, session, text, Ice.ObjectImpl.defaultCurrent);
  29575. }
  29576.  
  29577. public abstract void sendMessage_async(Murmur.AMD_Server_sendMessage cb__, int session, string text, Ice.Current current__);
  29578.  
  29579. public void hasPermission_async(Murmur.AMD_Server_hasPermission cb__, int session, int channelid, int perm)
  29580. {
  29581. hasPermission_async(cb__, session, channelid, perm, Ice.ObjectImpl.defaultCurrent);
  29582. }
  29583.  
  29584. public abstract void hasPermission_async(Murmur.AMD_Server_hasPermission cb__, int session, int channelid, int perm, Ice.Current current__);
  29585.  
  29586. public void effectivePermissions_async(Murmur.AMD_Server_effectivePermissions cb__, int session, int channelid)
  29587. {
  29588. effectivePermissions_async(cb__, session, channelid, Ice.ObjectImpl.defaultCurrent);
  29589. }
  29590.  
  29591. public abstract void effectivePermissions_async(Murmur.AMD_Server_effectivePermissions cb__, int session, int channelid, Ice.Current current__);
  29592.  
  29593. public void addContextCallback_async(Murmur.AMD_Server_addContextCallback cb__, int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx)
  29594. {
  29595. addContextCallback_async(cb__, session, action, text, cb, ctx, Ice.ObjectImpl.defaultCurrent);
  29596. }
  29597.  
  29598. public abstract void addContextCallback_async(Murmur.AMD_Server_addContextCallback cb__, int session, string action, string text, Murmur.ServerContextCallbackPrx cb, int ctx, Ice.Current current__);
  29599.  
  29600. public void removeContextCallback_async(Murmur.AMD_Server_removeContextCallback cb__, Murmur.ServerContextCallbackPrx cb)
  29601. {
  29602. removeContextCallback_async(cb__, cb, Ice.ObjectImpl.defaultCurrent);
  29603. }
  29604.  
  29605. public abstract void removeContextCallback_async(Murmur.AMD_Server_removeContextCallback cb__, Murmur.ServerContextCallbackPrx cb, Ice.Current current__);
  29606.  
  29607. public void getChannelState_async(Murmur.AMD_Server_getChannelState cb__, int channelid)
  29608. {
  29609. getChannelState_async(cb__, channelid, Ice.ObjectImpl.defaultCurrent);
  29610. }
  29611.  
  29612. public abstract void getChannelState_async(Murmur.AMD_Server_getChannelState cb__, int channelid, Ice.Current current__);
  29613.  
  29614. public void setChannelState_async(Murmur.AMD_Server_setChannelState cb__, Murmur.Channel state)
  29615. {
  29616. setChannelState_async(cb__, state, Ice.ObjectImpl.defaultCurrent);
  29617. }
  29618.  
  29619. public abstract void setChannelState_async(Murmur.AMD_Server_setChannelState cb__, Murmur.Channel state, Ice.Current current__);
  29620.  
  29621. public void removeChannel_async(Murmur.AMD_Server_removeChannel cb__, int channelid)
  29622. {
  29623. removeChannel_async(cb__, channelid, Ice.ObjectImpl.defaultCurrent);
  29624. }
  29625.  
  29626. public abstract void removeChannel_async(Murmur.AMD_Server_removeChannel cb__, int channelid, Ice.Current current__);
  29627.  
  29628. public void addChannel_async(Murmur.AMD_Server_addChannel cb__, string name, int parent)
  29629. {
  29630. addChannel_async(cb__, name, parent, Ice.ObjectImpl.defaultCurrent);
  29631. }
  29632.  
  29633. public abstract void addChannel_async(Murmur.AMD_Server_addChannel cb__, string name, int parent, Ice.Current current__);
  29634.  
  29635. public void sendMessageChannel_async(Murmur.AMD_Server_sendMessageChannel cb__, int channelid, bool tree, string text)
  29636. {
  29637. sendMessageChannel_async(cb__, channelid, tree, text, Ice.ObjectImpl.defaultCurrent);
  29638. }
  29639.  
  29640. public abstract void sendMessageChannel_async(Murmur.AMD_Server_sendMessageChannel cb__, int channelid, bool tree, string text, Ice.Current current__);
  29641.  
  29642. public void getACL_async(Murmur.AMD_Server_getACL cb__, int channelid)
  29643. {
  29644. getACL_async(cb__, channelid, Ice.ObjectImpl.defaultCurrent);
  29645. }
  29646.  
  29647. public abstract void getACL_async(Murmur.AMD_Server_getACL cb__, int channelid, Ice.Current current__);
  29648.  
  29649. public void setACL_async(Murmur.AMD_Server_setACL cb__, int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit)
  29650. {
  29651. setACL_async(cb__, channelid, acls, groups, inherit, Ice.ObjectImpl.defaultCurrent);
  29652. }
  29653.  
  29654. public abstract void setACL_async(Murmur.AMD_Server_setACL cb__, int channelid, Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit, Ice.Current current__);
  29655.  
  29656. public void addUserToGroup_async(Murmur.AMD_Server_addUserToGroup cb__, int channelid, int session, string group)
  29657. {
  29658. addUserToGroup_async(cb__, channelid, session, group, Ice.ObjectImpl.defaultCurrent);
  29659. }
  29660.  
  29661. public abstract void addUserToGroup_async(Murmur.AMD_Server_addUserToGroup cb__, int channelid, int session, string group, Ice.Current current__);
  29662.  
  29663. public void removeUserFromGroup_async(Murmur.AMD_Server_removeUserFromGroup cb__, int channelid, int session, string group)
  29664. {
  29665. removeUserFromGroup_async(cb__, channelid, session, group, Ice.ObjectImpl.defaultCurrent);
  29666. }
  29667.  
  29668. public abstract void removeUserFromGroup_async(Murmur.AMD_Server_removeUserFromGroup cb__, int channelid, int session, string group, Ice.Current current__);
  29669.  
  29670. public void redirectWhisperGroup_async(Murmur.AMD_Server_redirectWhisperGroup cb__, int session, string source, string target)
  29671. {
  29672. redirectWhisperGroup_async(cb__, session, source, target, Ice.ObjectImpl.defaultCurrent);
  29673. }
  29674.  
  29675. public abstract void redirectWhisperGroup_async(Murmur.AMD_Server_redirectWhisperGroup cb__, int session, string source, string target, Ice.Current current__);
  29676.  
  29677. public void getUserNames_async(Murmur.AMD_Server_getUserNames cb__, int[] ids)
  29678. {
  29679. getUserNames_async(cb__, ids, Ice.ObjectImpl.defaultCurrent);
  29680. }
  29681.  
  29682. public abstract void getUserNames_async(Murmur.AMD_Server_getUserNames cb__, int[] ids, Ice.Current current__);
  29683.  
  29684. public void getUserIds_async(Murmur.AMD_Server_getUserIds cb__, string[] names)
  29685. {
  29686. getUserIds_async(cb__, names, Ice.ObjectImpl.defaultCurrent);
  29687. }
  29688.  
  29689. public abstract void getUserIds_async(Murmur.AMD_Server_getUserIds cb__, string[] names, Ice.Current current__);
  29690.  
  29691. public void registerUser_async(Murmur.AMD_Server_registerUser cb__, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  29692. {
  29693. registerUser_async(cb__, info, Ice.ObjectImpl.defaultCurrent);
  29694. }
  29695.  
  29696. public abstract void registerUser_async(Murmur.AMD_Server_registerUser cb__, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  29697.  
  29698. public void unregisterUser_async(Murmur.AMD_Server_unregisterUser cb__, int userid)
  29699. {
  29700. unregisterUser_async(cb__, userid, Ice.ObjectImpl.defaultCurrent);
  29701. }
  29702.  
  29703. public abstract void unregisterUser_async(Murmur.AMD_Server_unregisterUser cb__, int userid, Ice.Current current__);
  29704.  
  29705. public void updateRegistration_async(Murmur.AMD_Server_updateRegistration cb__, int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info)
  29706. {
  29707. updateRegistration_async(cb__, userid, info, Ice.ObjectImpl.defaultCurrent);
  29708. }
  29709.  
  29710. public abstract void updateRegistration_async(Murmur.AMD_Server_updateRegistration cb__, int userid, _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info, Ice.Current current__);
  29711.  
  29712. public void getRegistration_async(Murmur.AMD_Server_getRegistration cb__, int userid)
  29713. {
  29714. getRegistration_async(cb__, userid, Ice.ObjectImpl.defaultCurrent);
  29715. }
  29716.  
  29717. public abstract void getRegistration_async(Murmur.AMD_Server_getRegistration cb__, int userid, Ice.Current current__);
  29718.  
  29719. public void getRegisteredUsers_async(Murmur.AMD_Server_getRegisteredUsers cb__, string filter)
  29720. {
  29721. getRegisteredUsers_async(cb__, filter, Ice.ObjectImpl.defaultCurrent);
  29722. }
  29723.  
  29724. public abstract void getRegisteredUsers_async(Murmur.AMD_Server_getRegisteredUsers cb__, string filter, Ice.Current current__);
  29725.  
  29726. public void verifyPassword_async(Murmur.AMD_Server_verifyPassword cb__, string name, string pw)
  29727. {
  29728. verifyPassword_async(cb__, name, pw, Ice.ObjectImpl.defaultCurrent);
  29729. }
  29730.  
  29731. public abstract void verifyPassword_async(Murmur.AMD_Server_verifyPassword cb__, string name, string pw, Ice.Current current__);
  29732.  
  29733. public void getTexture_async(Murmur.AMD_Server_getTexture cb__, int userid)
  29734. {
  29735. getTexture_async(cb__, userid, Ice.ObjectImpl.defaultCurrent);
  29736. }
  29737.  
  29738. public abstract void getTexture_async(Murmur.AMD_Server_getTexture cb__, int userid, Ice.Current current__);
  29739.  
  29740. public void setTexture_async(Murmur.AMD_Server_setTexture cb__, int userid, byte[] tex)
  29741. {
  29742. setTexture_async(cb__, userid, tex, Ice.ObjectImpl.defaultCurrent);
  29743. }
  29744.  
  29745. public abstract void setTexture_async(Murmur.AMD_Server_setTexture cb__, int userid, byte[] tex, Ice.Current current__);
  29746.  
  29747. public void getUptime_async(Murmur.AMD_Server_getUptime cb__)
  29748. {
  29749. getUptime_async(cb__, Ice.ObjectImpl.defaultCurrent);
  29750. }
  29751.  
  29752. public abstract void getUptime_async(Murmur.AMD_Server_getUptime cb__, Ice.Current current__);
  29753.  
  29754. public void updateCertificate_async(Murmur.AMD_Server_updateCertificate cb__, string certificate, string privateKey, string passphrase)
  29755. {
  29756. updateCertificate_async(cb__, certificate, privateKey, passphrase, Ice.ObjectImpl.defaultCurrent);
  29757. }
  29758.  
  29759. public abstract void updateCertificate_async(Murmur.AMD_Server_updateCertificate cb__, string certificate, string privateKey, string passphrase, Ice.Current current__);
  29760.  
  29761. #endregion
  29762.  
  29763. #region Slice type-related members
  29764.  
  29765. public static new readonly string[] ids__ =
  29766. {
  29767. "::Ice::Object",
  29768. "::Murmur::Server"
  29769. };
  29770.  
  29771. public override bool ice_isA(string s)
  29772. {
  29773. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  29774. }
  29775.  
  29776. public override bool ice_isA(string s, Ice.Current current__)
  29777. {
  29778. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  29779. }
  29780.  
  29781. public override string[] ice_ids()
  29782. {
  29783. return ids__;
  29784. }
  29785.  
  29786. public override string[] ice_ids(Ice.Current current__)
  29787. {
  29788. return ids__;
  29789. }
  29790.  
  29791. public override string ice_id()
  29792. {
  29793. return ids__[1];
  29794. }
  29795.  
  29796. public override string ice_id(Ice.Current current__)
  29797. {
  29798. return ids__[1];
  29799. }
  29800.  
  29801. public static new string ice_staticId()
  29802. {
  29803. return ids__[1];
  29804. }
  29805.  
  29806. #endregion
  29807.  
  29808. #region Operation dispatch
  29809.  
  29810. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29811. public static Ice.DispatchStatus isRunning___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29812. {
  29813. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  29814. inS__.istr().skipEmptyEncaps();
  29815. AMD_Server_isRunning cb__ = new _AMD_Server_isRunning(inS__);
  29816. try
  29817. {
  29818. obj__.isRunning_async(cb__, current__);
  29819. }
  29820. catch (_System.Exception ex__)
  29821. {
  29822. cb__.ice_exception(ex__);
  29823. }
  29824. return Ice.DispatchStatus.DispatchAsync;
  29825. }
  29826.  
  29827. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29828. public static Ice.DispatchStatus start___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29829. {
  29830. checkMode__(Ice.OperationMode.Normal, current__.mode);
  29831. inS__.istr().skipEmptyEncaps();
  29832. AMD_Server_start cb__ = new _AMD_Server_start(inS__);
  29833. try
  29834. {
  29835. obj__.start_async(cb__, current__);
  29836. }
  29837. catch (_System.Exception ex__)
  29838. {
  29839. cb__.ice_exception(ex__);
  29840. }
  29841. return Ice.DispatchStatus.DispatchAsync;
  29842. }
  29843.  
  29844. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29845. public static Ice.DispatchStatus stop___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29846. {
  29847. checkMode__(Ice.OperationMode.Normal, current__.mode);
  29848. inS__.istr().skipEmptyEncaps();
  29849. AMD_Server_stop cb__ = new _AMD_Server_stop(inS__);
  29850. try
  29851. {
  29852. obj__.stop_async(cb__, current__);
  29853. }
  29854. catch (_System.Exception ex__)
  29855. {
  29856. cb__.ice_exception(ex__);
  29857. }
  29858. return Ice.DispatchStatus.DispatchAsync;
  29859. }
  29860.  
  29861. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29862. public static Ice.DispatchStatus delete___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29863. {
  29864. checkMode__(Ice.OperationMode.Normal, current__.mode);
  29865. inS__.istr().skipEmptyEncaps();
  29866. AMD_Server_delete cb__ = new _AMD_Server_delete(inS__);
  29867. try
  29868. {
  29869. obj__.delete_async(cb__, current__);
  29870. }
  29871. catch (_System.Exception ex__)
  29872. {
  29873. cb__.ice_exception(ex__);
  29874. }
  29875. return Ice.DispatchStatus.DispatchAsync;
  29876. }
  29877.  
  29878. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29879. public static Ice.DispatchStatus id___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29880. {
  29881. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  29882. inS__.istr().skipEmptyEncaps();
  29883. AMD_Server_id cb__ = new _AMD_Server_id(inS__);
  29884. try
  29885. {
  29886. obj__.id_async(cb__, current__);
  29887. }
  29888. catch (_System.Exception ex__)
  29889. {
  29890. cb__.ice_exception(ex__);
  29891. }
  29892. return Ice.DispatchStatus.DispatchAsync;
  29893. }
  29894.  
  29895. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29896. public static Ice.DispatchStatus addCallback___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29897. {
  29898. checkMode__(Ice.OperationMode.Normal, current__.mode);
  29899. IceInternal.BasicStream is__ = inS__.istr();
  29900. is__.startReadEncaps();
  29901. Murmur.ServerCallbackPrx cb;
  29902. cb = Murmur.ServerCallbackPrxHelper.read__(is__);
  29903. is__.endReadEncaps();
  29904. AMD_Server_addCallback cb__ = new _AMD_Server_addCallback(inS__);
  29905. try
  29906. {
  29907. obj__.addCallback_async(cb__, cb, current__);
  29908. }
  29909. catch (_System.Exception ex__)
  29910. {
  29911. cb__.ice_exception(ex__);
  29912. }
  29913. return Ice.DispatchStatus.DispatchAsync;
  29914. }
  29915.  
  29916. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29917. public static Ice.DispatchStatus removeCallback___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29918. {
  29919. checkMode__(Ice.OperationMode.Normal, current__.mode);
  29920. IceInternal.BasicStream is__ = inS__.istr();
  29921. is__.startReadEncaps();
  29922. Murmur.ServerCallbackPrx cb;
  29923. cb = Murmur.ServerCallbackPrxHelper.read__(is__);
  29924. is__.endReadEncaps();
  29925. AMD_Server_removeCallback cb__ = new _AMD_Server_removeCallback(inS__);
  29926. try
  29927. {
  29928. obj__.removeCallback_async(cb__, cb, current__);
  29929. }
  29930. catch (_System.Exception ex__)
  29931. {
  29932. cb__.ice_exception(ex__);
  29933. }
  29934. return Ice.DispatchStatus.DispatchAsync;
  29935. }
  29936.  
  29937. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29938. public static Ice.DispatchStatus setAuthenticator___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29939. {
  29940. checkMode__(Ice.OperationMode.Normal, current__.mode);
  29941. IceInternal.BasicStream is__ = inS__.istr();
  29942. is__.startReadEncaps();
  29943. Murmur.ServerAuthenticatorPrx auth;
  29944. auth = Murmur.ServerAuthenticatorPrxHelper.read__(is__);
  29945. is__.endReadEncaps();
  29946. AMD_Server_setAuthenticator cb__ = new _AMD_Server_setAuthenticator(inS__);
  29947. try
  29948. {
  29949. obj__.setAuthenticator_async(cb__, auth, current__);
  29950. }
  29951. catch (_System.Exception ex__)
  29952. {
  29953. cb__.ice_exception(ex__);
  29954. }
  29955. return Ice.DispatchStatus.DispatchAsync;
  29956. }
  29957.  
  29958. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29959. public static Ice.DispatchStatus getConf___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29960. {
  29961. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  29962. IceInternal.BasicStream is__ = inS__.istr();
  29963. is__.startReadEncaps();
  29964. string key;
  29965. key = is__.readString();
  29966. is__.endReadEncaps();
  29967. AMD_Server_getConf cb__ = new _AMD_Server_getConf(inS__);
  29968. try
  29969. {
  29970. obj__.getConf_async(cb__, key, current__);
  29971. }
  29972. catch (_System.Exception ex__)
  29973. {
  29974. cb__.ice_exception(ex__);
  29975. }
  29976. return Ice.DispatchStatus.DispatchAsync;
  29977. }
  29978.  
  29979. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29980. public static Ice.DispatchStatus getAllConf___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29981. {
  29982. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  29983. inS__.istr().skipEmptyEncaps();
  29984. AMD_Server_getAllConf cb__ = new _AMD_Server_getAllConf(inS__);
  29985. try
  29986. {
  29987. obj__.getAllConf_async(cb__, current__);
  29988. }
  29989. catch (_System.Exception ex__)
  29990. {
  29991. cb__.ice_exception(ex__);
  29992. }
  29993. return Ice.DispatchStatus.DispatchAsync;
  29994. }
  29995.  
  29996. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  29997. public static Ice.DispatchStatus setConf___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  29998. {
  29999. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30000. IceInternal.BasicStream is__ = inS__.istr();
  30001. is__.startReadEncaps();
  30002. string key;
  30003. key = is__.readString();
  30004. string value;
  30005. value = is__.readString();
  30006. is__.endReadEncaps();
  30007. AMD_Server_setConf cb__ = new _AMD_Server_setConf(inS__);
  30008. try
  30009. {
  30010. obj__.setConf_async(cb__, key, value, current__);
  30011. }
  30012. catch (_System.Exception ex__)
  30013. {
  30014. cb__.ice_exception(ex__);
  30015. }
  30016. return Ice.DispatchStatus.DispatchAsync;
  30017. }
  30018.  
  30019. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30020. public static Ice.DispatchStatus setSuperuserPassword___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30021. {
  30022. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30023. IceInternal.BasicStream is__ = inS__.istr();
  30024. is__.startReadEncaps();
  30025. string pw;
  30026. pw = is__.readString();
  30027. is__.endReadEncaps();
  30028. AMD_Server_setSuperuserPassword cb__ = new _AMD_Server_setSuperuserPassword(inS__);
  30029. try
  30030. {
  30031. obj__.setSuperuserPassword_async(cb__, pw, current__);
  30032. }
  30033. catch (_System.Exception ex__)
  30034. {
  30035. cb__.ice_exception(ex__);
  30036. }
  30037. return Ice.DispatchStatus.DispatchAsync;
  30038. }
  30039.  
  30040. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30041. public static Ice.DispatchStatus getLog___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30042. {
  30043. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30044. IceInternal.BasicStream is__ = inS__.istr();
  30045. is__.startReadEncaps();
  30046. int first;
  30047. first = is__.readInt();
  30048. int last;
  30049. last = is__.readInt();
  30050. is__.endReadEncaps();
  30051. AMD_Server_getLog cb__ = new _AMD_Server_getLog(inS__);
  30052. try
  30053. {
  30054. obj__.getLog_async(cb__, first, last, current__);
  30055. }
  30056. catch (_System.Exception ex__)
  30057. {
  30058. cb__.ice_exception(ex__);
  30059. }
  30060. return Ice.DispatchStatus.DispatchAsync;
  30061. }
  30062.  
  30063. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30064. public static Ice.DispatchStatus getLogLen___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30065. {
  30066. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30067. inS__.istr().skipEmptyEncaps();
  30068. AMD_Server_getLogLen cb__ = new _AMD_Server_getLogLen(inS__);
  30069. try
  30070. {
  30071. obj__.getLogLen_async(cb__, current__);
  30072. }
  30073. catch (_System.Exception ex__)
  30074. {
  30075. cb__.ice_exception(ex__);
  30076. }
  30077. return Ice.DispatchStatus.DispatchAsync;
  30078. }
  30079.  
  30080. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30081. public static Ice.DispatchStatus getUsers___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30082. {
  30083. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30084. inS__.istr().skipEmptyEncaps();
  30085. AMD_Server_getUsers cb__ = new _AMD_Server_getUsers(inS__);
  30086. try
  30087. {
  30088. obj__.getUsers_async(cb__, current__);
  30089. }
  30090. catch (_System.Exception ex__)
  30091. {
  30092. cb__.ice_exception(ex__);
  30093. }
  30094. return Ice.DispatchStatus.DispatchAsync;
  30095. }
  30096.  
  30097. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30098. public static Ice.DispatchStatus getChannels___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30099. {
  30100. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30101. inS__.istr().skipEmptyEncaps();
  30102. AMD_Server_getChannels cb__ = new _AMD_Server_getChannels(inS__);
  30103. try
  30104. {
  30105. obj__.getChannels_async(cb__, current__);
  30106. }
  30107. catch (_System.Exception ex__)
  30108. {
  30109. cb__.ice_exception(ex__);
  30110. }
  30111. return Ice.DispatchStatus.DispatchAsync;
  30112. }
  30113.  
  30114. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30115. public static Ice.DispatchStatus getCertificateList___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30116. {
  30117. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30118. IceInternal.BasicStream is__ = inS__.istr();
  30119. is__.startReadEncaps();
  30120. int session;
  30121. session = is__.readInt();
  30122. is__.endReadEncaps();
  30123. AMD_Server_getCertificateList cb__ = new _AMD_Server_getCertificateList(inS__);
  30124. try
  30125. {
  30126. obj__.getCertificateList_async(cb__, session, current__);
  30127. }
  30128. catch (_System.Exception ex__)
  30129. {
  30130. cb__.ice_exception(ex__);
  30131. }
  30132. return Ice.DispatchStatus.DispatchAsync;
  30133. }
  30134.  
  30135. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30136. public static Ice.DispatchStatus getTree___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30137. {
  30138. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30139. inS__.istr().skipEmptyEncaps();
  30140. AMD_Server_getTree cb__ = new _AMD_Server_getTree(inS__);
  30141. try
  30142. {
  30143. obj__.getTree_async(cb__, current__);
  30144. }
  30145. catch (_System.Exception ex__)
  30146. {
  30147. cb__.ice_exception(ex__);
  30148. }
  30149. return Ice.DispatchStatus.DispatchAsync;
  30150. }
  30151.  
  30152. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30153. public static Ice.DispatchStatus getBans___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30154. {
  30155. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30156. inS__.istr().skipEmptyEncaps();
  30157. AMD_Server_getBans cb__ = new _AMD_Server_getBans(inS__);
  30158. try
  30159. {
  30160. obj__.getBans_async(cb__, current__);
  30161. }
  30162. catch (_System.Exception ex__)
  30163. {
  30164. cb__.ice_exception(ex__);
  30165. }
  30166. return Ice.DispatchStatus.DispatchAsync;
  30167. }
  30168.  
  30169. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30170. public static Ice.DispatchStatus setBans___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30171. {
  30172. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30173. IceInternal.BasicStream is__ = inS__.istr();
  30174. is__.startReadEncaps();
  30175. Murmur.Ban[] bans;
  30176. {
  30177. int szx__ = is__.readAndCheckSeqSize(16);
  30178. bans = new Murmur.Ban[szx__];
  30179. for (int ix__ = 0; ix__ < szx__; ++ix__)
  30180. {
  30181. bans[ix__] = new Murmur.Ban();
  30182. bans[ix__].read__(is__);
  30183. }
  30184. }
  30185. is__.endReadEncaps();
  30186. AMD_Server_setBans cb__ = new _AMD_Server_setBans(inS__);
  30187. try
  30188. {
  30189. obj__.setBans_async(cb__, bans, current__);
  30190. }
  30191. catch (_System.Exception ex__)
  30192. {
  30193. cb__.ice_exception(ex__);
  30194. }
  30195. return Ice.DispatchStatus.DispatchAsync;
  30196. }
  30197.  
  30198. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30199. public static Ice.DispatchStatus kickUser___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30200. {
  30201. checkMode__(Ice.OperationMode.Normal, current__.mode);
  30202. IceInternal.BasicStream is__ = inS__.istr();
  30203. is__.startReadEncaps();
  30204. int session;
  30205. session = is__.readInt();
  30206. string reason;
  30207. reason = is__.readString();
  30208. is__.endReadEncaps();
  30209. AMD_Server_kickUser cb__ = new _AMD_Server_kickUser(inS__);
  30210. try
  30211. {
  30212. obj__.kickUser_async(cb__, session, reason, current__);
  30213. }
  30214. catch (_System.Exception ex__)
  30215. {
  30216. cb__.ice_exception(ex__);
  30217. }
  30218. return Ice.DispatchStatus.DispatchAsync;
  30219. }
  30220.  
  30221. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30222. public static Ice.DispatchStatus getState___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30223. {
  30224. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30225. IceInternal.BasicStream is__ = inS__.istr();
  30226. is__.startReadEncaps();
  30227. int session;
  30228. session = is__.readInt();
  30229. is__.endReadEncaps();
  30230. AMD_Server_getState cb__ = new _AMD_Server_getState(inS__);
  30231. try
  30232. {
  30233. obj__.getState_async(cb__, session, current__);
  30234. }
  30235. catch (_System.Exception ex__)
  30236. {
  30237. cb__.ice_exception(ex__);
  30238. }
  30239. return Ice.DispatchStatus.DispatchAsync;
  30240. }
  30241.  
  30242. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30243. public static Ice.DispatchStatus setState___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30244. {
  30245. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30246. IceInternal.BasicStream is__ = inS__.istr();
  30247. is__.startReadEncaps();
  30248. Murmur.User state;
  30249. state = null;
  30250. if (state == null)
  30251. {
  30252. state = new Murmur.User();
  30253. }
  30254. state.read__(is__);
  30255. is__.endReadEncaps();
  30256. AMD_Server_setState cb__ = new _AMD_Server_setState(inS__);
  30257. try
  30258. {
  30259. obj__.setState_async(cb__, state, current__);
  30260. }
  30261. catch (_System.Exception ex__)
  30262. {
  30263. cb__.ice_exception(ex__);
  30264. }
  30265. return Ice.DispatchStatus.DispatchAsync;
  30266. }
  30267.  
  30268. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30269. public static Ice.DispatchStatus sendMessage___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30270. {
  30271. checkMode__(Ice.OperationMode.Normal, current__.mode);
  30272. IceInternal.BasicStream is__ = inS__.istr();
  30273. is__.startReadEncaps();
  30274. int session;
  30275. session = is__.readInt();
  30276. string text;
  30277. text = is__.readString();
  30278. is__.endReadEncaps();
  30279. AMD_Server_sendMessage cb__ = new _AMD_Server_sendMessage(inS__);
  30280. try
  30281. {
  30282. obj__.sendMessage_async(cb__, session, text, current__);
  30283. }
  30284. catch (_System.Exception ex__)
  30285. {
  30286. cb__.ice_exception(ex__);
  30287. }
  30288. return Ice.DispatchStatus.DispatchAsync;
  30289. }
  30290.  
  30291. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30292. public static Ice.DispatchStatus hasPermission___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30293. {
  30294. checkMode__(Ice.OperationMode.Normal, current__.mode);
  30295. IceInternal.BasicStream is__ = inS__.istr();
  30296. is__.startReadEncaps();
  30297. int session;
  30298. session = is__.readInt();
  30299. int channelid;
  30300. channelid = is__.readInt();
  30301. int perm;
  30302. perm = is__.readInt();
  30303. is__.endReadEncaps();
  30304. AMD_Server_hasPermission cb__ = new _AMD_Server_hasPermission(inS__);
  30305. try
  30306. {
  30307. obj__.hasPermission_async(cb__, session, channelid, perm, current__);
  30308. }
  30309. catch (_System.Exception ex__)
  30310. {
  30311. cb__.ice_exception(ex__);
  30312. }
  30313. return Ice.DispatchStatus.DispatchAsync;
  30314. }
  30315.  
  30316. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30317. public static Ice.DispatchStatus effectivePermissions___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30318. {
  30319. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30320. IceInternal.BasicStream is__ = inS__.istr();
  30321. is__.startReadEncaps();
  30322. int session;
  30323. session = is__.readInt();
  30324. int channelid;
  30325. channelid = is__.readInt();
  30326. is__.endReadEncaps();
  30327. AMD_Server_effectivePermissions cb__ = new _AMD_Server_effectivePermissions(inS__);
  30328. try
  30329. {
  30330. obj__.effectivePermissions_async(cb__, session, channelid, current__);
  30331. }
  30332. catch (_System.Exception ex__)
  30333. {
  30334. cb__.ice_exception(ex__);
  30335. }
  30336. return Ice.DispatchStatus.DispatchAsync;
  30337. }
  30338.  
  30339. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30340. public static Ice.DispatchStatus addContextCallback___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30341. {
  30342. checkMode__(Ice.OperationMode.Normal, current__.mode);
  30343. IceInternal.BasicStream is__ = inS__.istr();
  30344. is__.startReadEncaps();
  30345. int session;
  30346. session = is__.readInt();
  30347. string action;
  30348. action = is__.readString();
  30349. string text;
  30350. text = is__.readString();
  30351. Murmur.ServerContextCallbackPrx cb;
  30352. cb = Murmur.ServerContextCallbackPrxHelper.read__(is__);
  30353. int ctx;
  30354. ctx = is__.readInt();
  30355. is__.endReadEncaps();
  30356. AMD_Server_addContextCallback cb__ = new _AMD_Server_addContextCallback(inS__);
  30357. try
  30358. {
  30359. obj__.addContextCallback_async(cb__, session, action, text, cb, ctx, current__);
  30360. }
  30361. catch (_System.Exception ex__)
  30362. {
  30363. cb__.ice_exception(ex__);
  30364. }
  30365. return Ice.DispatchStatus.DispatchAsync;
  30366. }
  30367.  
  30368. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30369. public static Ice.DispatchStatus removeContextCallback___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30370. {
  30371. checkMode__(Ice.OperationMode.Normal, current__.mode);
  30372. IceInternal.BasicStream is__ = inS__.istr();
  30373. is__.startReadEncaps();
  30374. Murmur.ServerContextCallbackPrx cb;
  30375. cb = Murmur.ServerContextCallbackPrxHelper.read__(is__);
  30376. is__.endReadEncaps();
  30377. AMD_Server_removeContextCallback cb__ = new _AMD_Server_removeContextCallback(inS__);
  30378. try
  30379. {
  30380. obj__.removeContextCallback_async(cb__, cb, current__);
  30381. }
  30382. catch (_System.Exception ex__)
  30383. {
  30384. cb__.ice_exception(ex__);
  30385. }
  30386. return Ice.DispatchStatus.DispatchAsync;
  30387. }
  30388.  
  30389. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30390. public static Ice.DispatchStatus getChannelState___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30391. {
  30392. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30393. IceInternal.BasicStream is__ = inS__.istr();
  30394. is__.startReadEncaps();
  30395. int channelid;
  30396. channelid = is__.readInt();
  30397. is__.endReadEncaps();
  30398. AMD_Server_getChannelState cb__ = new _AMD_Server_getChannelState(inS__);
  30399. try
  30400. {
  30401. obj__.getChannelState_async(cb__, channelid, current__);
  30402. }
  30403. catch (_System.Exception ex__)
  30404. {
  30405. cb__.ice_exception(ex__);
  30406. }
  30407. return Ice.DispatchStatus.DispatchAsync;
  30408. }
  30409.  
  30410. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30411. public static Ice.DispatchStatus setChannelState___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30412. {
  30413. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30414. IceInternal.BasicStream is__ = inS__.istr();
  30415. is__.startReadEncaps();
  30416. Murmur.Channel state;
  30417. state = null;
  30418. if (state == null)
  30419. {
  30420. state = new Murmur.Channel();
  30421. }
  30422. state.read__(is__);
  30423. is__.endReadEncaps();
  30424. AMD_Server_setChannelState cb__ = new _AMD_Server_setChannelState(inS__);
  30425. try
  30426. {
  30427. obj__.setChannelState_async(cb__, state, current__);
  30428. }
  30429. catch (_System.Exception ex__)
  30430. {
  30431. cb__.ice_exception(ex__);
  30432. }
  30433. return Ice.DispatchStatus.DispatchAsync;
  30434. }
  30435.  
  30436. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30437. public static Ice.DispatchStatus removeChannel___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30438. {
  30439. checkMode__(Ice.OperationMode.Normal, current__.mode);
  30440. IceInternal.BasicStream is__ = inS__.istr();
  30441. is__.startReadEncaps();
  30442. int channelid;
  30443. channelid = is__.readInt();
  30444. is__.endReadEncaps();
  30445. AMD_Server_removeChannel cb__ = new _AMD_Server_removeChannel(inS__);
  30446. try
  30447. {
  30448. obj__.removeChannel_async(cb__, channelid, current__);
  30449. }
  30450. catch (_System.Exception ex__)
  30451. {
  30452. cb__.ice_exception(ex__);
  30453. }
  30454. return Ice.DispatchStatus.DispatchAsync;
  30455. }
  30456.  
  30457. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30458. public static Ice.DispatchStatus addChannel___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30459. {
  30460. checkMode__(Ice.OperationMode.Normal, current__.mode);
  30461. IceInternal.BasicStream is__ = inS__.istr();
  30462. is__.startReadEncaps();
  30463. string name;
  30464. name = is__.readString();
  30465. int parent;
  30466. parent = is__.readInt();
  30467. is__.endReadEncaps();
  30468. AMD_Server_addChannel cb__ = new _AMD_Server_addChannel(inS__);
  30469. try
  30470. {
  30471. obj__.addChannel_async(cb__, name, parent, current__);
  30472. }
  30473. catch (_System.Exception ex__)
  30474. {
  30475. cb__.ice_exception(ex__);
  30476. }
  30477. return Ice.DispatchStatus.DispatchAsync;
  30478. }
  30479.  
  30480. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30481. public static Ice.DispatchStatus sendMessageChannel___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30482. {
  30483. checkMode__(Ice.OperationMode.Normal, current__.mode);
  30484. IceInternal.BasicStream is__ = inS__.istr();
  30485. is__.startReadEncaps();
  30486. int channelid;
  30487. channelid = is__.readInt();
  30488. bool tree;
  30489. tree = is__.readBool();
  30490. string text;
  30491. text = is__.readString();
  30492. is__.endReadEncaps();
  30493. AMD_Server_sendMessageChannel cb__ = new _AMD_Server_sendMessageChannel(inS__);
  30494. try
  30495. {
  30496. obj__.sendMessageChannel_async(cb__, channelid, tree, text, current__);
  30497. }
  30498. catch (_System.Exception ex__)
  30499. {
  30500. cb__.ice_exception(ex__);
  30501. }
  30502. return Ice.DispatchStatus.DispatchAsync;
  30503. }
  30504.  
  30505. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30506. public static Ice.DispatchStatus getACL___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30507. {
  30508. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30509. IceInternal.BasicStream is__ = inS__.istr();
  30510. is__.startReadEncaps();
  30511. int channelid;
  30512. channelid = is__.readInt();
  30513. is__.endReadEncaps();
  30514. AMD_Server_getACL cb__ = new _AMD_Server_getACL(inS__);
  30515. try
  30516. {
  30517. obj__.getACL_async(cb__, channelid, current__);
  30518. }
  30519. catch (_System.Exception ex__)
  30520. {
  30521. cb__.ice_exception(ex__);
  30522. }
  30523. return Ice.DispatchStatus.DispatchAsync;
  30524. }
  30525.  
  30526. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30527. public static Ice.DispatchStatus setACL___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30528. {
  30529. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30530. IceInternal.BasicStream is__ = inS__.istr();
  30531. is__.startReadEncaps();
  30532. int channelid;
  30533. channelid = is__.readInt();
  30534. Murmur.ACL[] acls;
  30535. {
  30536. int szx__ = is__.readAndCheckSeqSize(16);
  30537. acls = new Murmur.ACL[szx__];
  30538. for (int ix__ = 0; ix__ < szx__; ++ix__)
  30539. {
  30540. acls[ix__] = new Murmur.ACL();
  30541. acls[ix__].read__(is__);
  30542. }
  30543. }
  30544. Murmur.Group[] groups;
  30545. {
  30546. int szx__ = is__.readAndCheckSeqSize(7);
  30547. groups = new Murmur.Group[szx__];
  30548. for (int ix__ = 0; ix__ < szx__; ++ix__)
  30549. {
  30550. groups[ix__] = new Murmur.Group();
  30551. groups[ix__].read__(is__);
  30552. }
  30553. }
  30554. bool inherit;
  30555. inherit = is__.readBool();
  30556. is__.endReadEncaps();
  30557. AMD_Server_setACL cb__ = new _AMD_Server_setACL(inS__);
  30558. try
  30559. {
  30560. obj__.setACL_async(cb__, channelid, acls, groups, inherit, current__);
  30561. }
  30562. catch (_System.Exception ex__)
  30563. {
  30564. cb__.ice_exception(ex__);
  30565. }
  30566. return Ice.DispatchStatus.DispatchAsync;
  30567. }
  30568.  
  30569. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30570. public static Ice.DispatchStatus addUserToGroup___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30571. {
  30572. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30573. IceInternal.BasicStream is__ = inS__.istr();
  30574. is__.startReadEncaps();
  30575. int channelid;
  30576. channelid = is__.readInt();
  30577. int session;
  30578. session = is__.readInt();
  30579. string group;
  30580. group = is__.readString();
  30581. is__.endReadEncaps();
  30582. AMD_Server_addUserToGroup cb__ = new _AMD_Server_addUserToGroup(inS__);
  30583. try
  30584. {
  30585. obj__.addUserToGroup_async(cb__, channelid, session, group, current__);
  30586. }
  30587. catch (_System.Exception ex__)
  30588. {
  30589. cb__.ice_exception(ex__);
  30590. }
  30591. return Ice.DispatchStatus.DispatchAsync;
  30592. }
  30593.  
  30594. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30595. public static Ice.DispatchStatus removeUserFromGroup___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30596. {
  30597. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30598. IceInternal.BasicStream is__ = inS__.istr();
  30599. is__.startReadEncaps();
  30600. int channelid;
  30601. channelid = is__.readInt();
  30602. int session;
  30603. session = is__.readInt();
  30604. string group;
  30605. group = is__.readString();
  30606. is__.endReadEncaps();
  30607. AMD_Server_removeUserFromGroup cb__ = new _AMD_Server_removeUserFromGroup(inS__);
  30608. try
  30609. {
  30610. obj__.removeUserFromGroup_async(cb__, channelid, session, group, current__);
  30611. }
  30612. catch (_System.Exception ex__)
  30613. {
  30614. cb__.ice_exception(ex__);
  30615. }
  30616. return Ice.DispatchStatus.DispatchAsync;
  30617. }
  30618.  
  30619. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30620. public static Ice.DispatchStatus redirectWhisperGroup___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30621. {
  30622. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30623. IceInternal.BasicStream is__ = inS__.istr();
  30624. is__.startReadEncaps();
  30625. int session;
  30626. session = is__.readInt();
  30627. string source;
  30628. source = is__.readString();
  30629. string target;
  30630. target = is__.readString();
  30631. is__.endReadEncaps();
  30632. AMD_Server_redirectWhisperGroup cb__ = new _AMD_Server_redirectWhisperGroup(inS__);
  30633. try
  30634. {
  30635. obj__.redirectWhisperGroup_async(cb__, session, source, target, current__);
  30636. }
  30637. catch (_System.Exception ex__)
  30638. {
  30639. cb__.ice_exception(ex__);
  30640. }
  30641. return Ice.DispatchStatus.DispatchAsync;
  30642. }
  30643.  
  30644. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30645. public static Ice.DispatchStatus getUserNames___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30646. {
  30647. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30648. IceInternal.BasicStream is__ = inS__.istr();
  30649. is__.startReadEncaps();
  30650. int[] ids;
  30651. ids = is__.readIntSeq();
  30652. is__.endReadEncaps();
  30653. AMD_Server_getUserNames cb__ = new _AMD_Server_getUserNames(inS__);
  30654. try
  30655. {
  30656. obj__.getUserNames_async(cb__, ids, current__);
  30657. }
  30658. catch (_System.Exception ex__)
  30659. {
  30660. cb__.ice_exception(ex__);
  30661. }
  30662. return Ice.DispatchStatus.DispatchAsync;
  30663. }
  30664.  
  30665. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30666. public static Ice.DispatchStatus getUserIds___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30667. {
  30668. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30669. IceInternal.BasicStream is__ = inS__.istr();
  30670. is__.startReadEncaps();
  30671. string[] names;
  30672. names = is__.readStringSeq();
  30673. is__.endReadEncaps();
  30674. AMD_Server_getUserIds cb__ = new _AMD_Server_getUserIds(inS__);
  30675. try
  30676. {
  30677. obj__.getUserIds_async(cb__, names, current__);
  30678. }
  30679. catch (_System.Exception ex__)
  30680. {
  30681. cb__.ice_exception(ex__);
  30682. }
  30683. return Ice.DispatchStatus.DispatchAsync;
  30684. }
  30685.  
  30686. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30687. public static Ice.DispatchStatus registerUser___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30688. {
  30689. checkMode__(Ice.OperationMode.Normal, current__.mode);
  30690. IceInternal.BasicStream is__ = inS__.istr();
  30691. is__.startReadEncaps();
  30692. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info;
  30693. info = Murmur.UserInfoMapHelper.read(is__);
  30694. is__.endReadEncaps();
  30695. AMD_Server_registerUser cb__ = new _AMD_Server_registerUser(inS__);
  30696. try
  30697. {
  30698. obj__.registerUser_async(cb__, info, current__);
  30699. }
  30700. catch (_System.Exception ex__)
  30701. {
  30702. cb__.ice_exception(ex__);
  30703. }
  30704. return Ice.DispatchStatus.DispatchAsync;
  30705. }
  30706.  
  30707. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30708. public static Ice.DispatchStatus unregisterUser___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30709. {
  30710. checkMode__(Ice.OperationMode.Normal, current__.mode);
  30711. IceInternal.BasicStream is__ = inS__.istr();
  30712. is__.startReadEncaps();
  30713. int userid;
  30714. userid = is__.readInt();
  30715. is__.endReadEncaps();
  30716. AMD_Server_unregisterUser cb__ = new _AMD_Server_unregisterUser(inS__);
  30717. try
  30718. {
  30719. obj__.unregisterUser_async(cb__, userid, current__);
  30720. }
  30721. catch (_System.Exception ex__)
  30722. {
  30723. cb__.ice_exception(ex__);
  30724. }
  30725. return Ice.DispatchStatus.DispatchAsync;
  30726. }
  30727.  
  30728. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30729. public static Ice.DispatchStatus updateRegistration___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30730. {
  30731. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30732. IceInternal.BasicStream is__ = inS__.istr();
  30733. is__.startReadEncaps();
  30734. int userid;
  30735. userid = is__.readInt();
  30736. _System.Collections.Generic.Dictionary<Murmur.UserInfo, string> info;
  30737. info = Murmur.UserInfoMapHelper.read(is__);
  30738. is__.endReadEncaps();
  30739. AMD_Server_updateRegistration cb__ = new _AMD_Server_updateRegistration(inS__);
  30740. try
  30741. {
  30742. obj__.updateRegistration_async(cb__, userid, info, current__);
  30743. }
  30744. catch (_System.Exception ex__)
  30745. {
  30746. cb__.ice_exception(ex__);
  30747. }
  30748. return Ice.DispatchStatus.DispatchAsync;
  30749. }
  30750.  
  30751. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30752. public static Ice.DispatchStatus getRegistration___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30753. {
  30754. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30755. IceInternal.BasicStream is__ = inS__.istr();
  30756. is__.startReadEncaps();
  30757. int userid;
  30758. userid = is__.readInt();
  30759. is__.endReadEncaps();
  30760. AMD_Server_getRegistration cb__ = new _AMD_Server_getRegistration(inS__);
  30761. try
  30762. {
  30763. obj__.getRegistration_async(cb__, userid, current__);
  30764. }
  30765. catch (_System.Exception ex__)
  30766. {
  30767. cb__.ice_exception(ex__);
  30768. }
  30769. return Ice.DispatchStatus.DispatchAsync;
  30770. }
  30771.  
  30772. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30773. public static Ice.DispatchStatus getRegisteredUsers___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30774. {
  30775. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30776. IceInternal.BasicStream is__ = inS__.istr();
  30777. is__.startReadEncaps();
  30778. string filter;
  30779. filter = is__.readString();
  30780. is__.endReadEncaps();
  30781. AMD_Server_getRegisteredUsers cb__ = new _AMD_Server_getRegisteredUsers(inS__);
  30782. try
  30783. {
  30784. obj__.getRegisteredUsers_async(cb__, filter, current__);
  30785. }
  30786. catch (_System.Exception ex__)
  30787. {
  30788. cb__.ice_exception(ex__);
  30789. }
  30790. return Ice.DispatchStatus.DispatchAsync;
  30791. }
  30792.  
  30793. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30794. public static Ice.DispatchStatus verifyPassword___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30795. {
  30796. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30797. IceInternal.BasicStream is__ = inS__.istr();
  30798. is__.startReadEncaps();
  30799. string name;
  30800. name = is__.readString();
  30801. string pw;
  30802. pw = is__.readString();
  30803. is__.endReadEncaps();
  30804. AMD_Server_verifyPassword cb__ = new _AMD_Server_verifyPassword(inS__);
  30805. try
  30806. {
  30807. obj__.verifyPassword_async(cb__, name, pw, current__);
  30808. }
  30809. catch (_System.Exception ex__)
  30810. {
  30811. cb__.ice_exception(ex__);
  30812. }
  30813. return Ice.DispatchStatus.DispatchAsync;
  30814. }
  30815.  
  30816. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30817. public static Ice.DispatchStatus getTexture___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30818. {
  30819. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30820. IceInternal.BasicStream is__ = inS__.istr();
  30821. is__.startReadEncaps();
  30822. int userid;
  30823. userid = is__.readInt();
  30824. is__.endReadEncaps();
  30825. AMD_Server_getTexture cb__ = new _AMD_Server_getTexture(inS__);
  30826. try
  30827. {
  30828. obj__.getTexture_async(cb__, userid, current__);
  30829. }
  30830. catch (_System.Exception ex__)
  30831. {
  30832. cb__.ice_exception(ex__);
  30833. }
  30834. return Ice.DispatchStatus.DispatchAsync;
  30835. }
  30836.  
  30837. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30838. public static Ice.DispatchStatus setTexture___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30839. {
  30840. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30841. IceInternal.BasicStream is__ = inS__.istr();
  30842. is__.startReadEncaps();
  30843. int userid;
  30844. userid = is__.readInt();
  30845. byte[] tex;
  30846. tex = is__.readByteSeq();
  30847. is__.endReadEncaps();
  30848. AMD_Server_setTexture cb__ = new _AMD_Server_setTexture(inS__);
  30849. try
  30850. {
  30851. obj__.setTexture_async(cb__, userid, tex, current__);
  30852. }
  30853. catch (_System.Exception ex__)
  30854. {
  30855. cb__.ice_exception(ex__);
  30856. }
  30857. return Ice.DispatchStatus.DispatchAsync;
  30858. }
  30859.  
  30860. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30861. public static Ice.DispatchStatus getUptime___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30862. {
  30863. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30864. inS__.istr().skipEmptyEncaps();
  30865. AMD_Server_getUptime cb__ = new _AMD_Server_getUptime(inS__);
  30866. try
  30867. {
  30868. obj__.getUptime_async(cb__, current__);
  30869. }
  30870. catch (_System.Exception ex__)
  30871. {
  30872. cb__.ice_exception(ex__);
  30873. }
  30874. return Ice.DispatchStatus.DispatchAsync;
  30875. }
  30876.  
  30877. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  30878. public static Ice.DispatchStatus updateCertificate___(Server obj__, IceInternal.Incoming inS__, Ice.Current current__)
  30879. {
  30880. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  30881. IceInternal.BasicStream is__ = inS__.istr();
  30882. is__.startReadEncaps();
  30883. string certificate;
  30884. certificate = is__.readString();
  30885. string privateKey;
  30886. privateKey = is__.readString();
  30887. string passphrase;
  30888. passphrase = is__.readString();
  30889. is__.endReadEncaps();
  30890. AMD_Server_updateCertificate cb__ = new _AMD_Server_updateCertificate(inS__);
  30891. try
  30892. {
  30893. obj__.updateCertificate_async(cb__, certificate, privateKey, passphrase, current__);
  30894. }
  30895. catch (_System.Exception ex__)
  30896. {
  30897. cb__.ice_exception(ex__);
  30898. }
  30899. return Ice.DispatchStatus.DispatchAsync;
  30900. }
  30901.  
  30902. private static string[] all__ =
  30903. {
  30904. "addCallback",
  30905. "addChannel",
  30906. "addContextCallback",
  30907. "addUserToGroup",
  30908. "delete",
  30909. "effectivePermissions",
  30910. "getACL",
  30911. "getAllConf",
  30912. "getBans",
  30913. "getCertificateList",
  30914. "getChannelState",
  30915. "getChannels",
  30916. "getConf",
  30917. "getLog",
  30918. "getLogLen",
  30919. "getRegisteredUsers",
  30920. "getRegistration",
  30921. "getState",
  30922. "getTexture",
  30923. "getTree",
  30924. "getUptime",
  30925. "getUserIds",
  30926. "getUserNames",
  30927. "getUsers",
  30928. "hasPermission",
  30929. "ice_id",
  30930. "ice_ids",
  30931. "ice_isA",
  30932. "ice_ping",
  30933. "id",
  30934. "isRunning",
  30935. "kickUser",
  30936. "redirectWhisperGroup",
  30937. "registerUser",
  30938. "removeCallback",
  30939. "removeChannel",
  30940. "removeContextCallback",
  30941. "removeUserFromGroup",
  30942. "sendMessage",
  30943. "sendMessageChannel",
  30944. "setACL",
  30945. "setAuthenticator",
  30946. "setBans",
  30947. "setChannelState",
  30948. "setConf",
  30949. "setState",
  30950. "setSuperuserPassword",
  30951. "setTexture",
  30952. "start",
  30953. "stop",
  30954. "unregisterUser",
  30955. "updateCertificate",
  30956. "updateRegistration",
  30957. "verifyPassword"
  30958. };
  30959.  
  30960. public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
  30961. {
  30962. int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
  30963. if (pos < 0)
  30964. {
  30965. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  30966. }
  30967.  
  30968. switch (pos)
  30969. {
  30970. case 0:
  30971. {
  30972. return addCallback___(this, inS__, current__);
  30973. }
  30974. case 1:
  30975. {
  30976. return addChannel___(this, inS__, current__);
  30977. }
  30978. case 2:
  30979. {
  30980. return addContextCallback___(this, inS__, current__);
  30981. }
  30982. case 3:
  30983. {
  30984. return addUserToGroup___(this, inS__, current__);
  30985. }
  30986. case 4:
  30987. {
  30988. return delete___(this, inS__, current__);
  30989. }
  30990. case 5:
  30991. {
  30992. return effectivePermissions___(this, inS__, current__);
  30993. }
  30994. case 6:
  30995. {
  30996. return getACL___(this, inS__, current__);
  30997. }
  30998. case 7:
  30999. {
  31000. return getAllConf___(this, inS__, current__);
  31001. }
  31002. case 8:
  31003. {
  31004. return getBans___(this, inS__, current__);
  31005. }
  31006. case 9:
  31007. {
  31008. return getCertificateList___(this, inS__, current__);
  31009. }
  31010. case 10:
  31011. {
  31012. return getChannelState___(this, inS__, current__);
  31013. }
  31014. case 11:
  31015. {
  31016. return getChannels___(this, inS__, current__);
  31017. }
  31018. case 12:
  31019. {
  31020. return getConf___(this, inS__, current__);
  31021. }
  31022. case 13:
  31023. {
  31024. return getLog___(this, inS__, current__);
  31025. }
  31026. case 14:
  31027. {
  31028. return getLogLen___(this, inS__, current__);
  31029. }
  31030. case 15:
  31031. {
  31032. return getRegisteredUsers___(this, inS__, current__);
  31033. }
  31034. case 16:
  31035. {
  31036. return getRegistration___(this, inS__, current__);
  31037. }
  31038. case 17:
  31039. {
  31040. return getState___(this, inS__, current__);
  31041. }
  31042. case 18:
  31043. {
  31044. return getTexture___(this, inS__, current__);
  31045. }
  31046. case 19:
  31047. {
  31048. return getTree___(this, inS__, current__);
  31049. }
  31050. case 20:
  31051. {
  31052. return getUptime___(this, inS__, current__);
  31053. }
  31054. case 21:
  31055. {
  31056. return getUserIds___(this, inS__, current__);
  31057. }
  31058. case 22:
  31059. {
  31060. return getUserNames___(this, inS__, current__);
  31061. }
  31062. case 23:
  31063. {
  31064. return getUsers___(this, inS__, current__);
  31065. }
  31066. case 24:
  31067. {
  31068. return hasPermission___(this, inS__, current__);
  31069. }
  31070. case 25:
  31071. {
  31072. return ice_id___(this, inS__, current__);
  31073. }
  31074. case 26:
  31075. {
  31076. return ice_ids___(this, inS__, current__);
  31077. }
  31078. case 27:
  31079. {
  31080. return ice_isA___(this, inS__, current__);
  31081. }
  31082. case 28:
  31083. {
  31084. return ice_ping___(this, inS__, current__);
  31085. }
  31086. case 29:
  31087. {
  31088. return id___(this, inS__, current__);
  31089. }
  31090. case 30:
  31091. {
  31092. return isRunning___(this, inS__, current__);
  31093. }
  31094. case 31:
  31095. {
  31096. return kickUser___(this, inS__, current__);
  31097. }
  31098. case 32:
  31099. {
  31100. return redirectWhisperGroup___(this, inS__, current__);
  31101. }
  31102. case 33:
  31103. {
  31104. return registerUser___(this, inS__, current__);
  31105. }
  31106. case 34:
  31107. {
  31108. return removeCallback___(this, inS__, current__);
  31109. }
  31110. case 35:
  31111. {
  31112. return removeChannel___(this, inS__, current__);
  31113. }
  31114. case 36:
  31115. {
  31116. return removeContextCallback___(this, inS__, current__);
  31117. }
  31118. case 37:
  31119. {
  31120. return removeUserFromGroup___(this, inS__, current__);
  31121. }
  31122. case 38:
  31123. {
  31124. return sendMessage___(this, inS__, current__);
  31125. }
  31126. case 39:
  31127. {
  31128. return sendMessageChannel___(this, inS__, current__);
  31129. }
  31130. case 40:
  31131. {
  31132. return setACL___(this, inS__, current__);
  31133. }
  31134. case 41:
  31135. {
  31136. return setAuthenticator___(this, inS__, current__);
  31137. }
  31138. case 42:
  31139. {
  31140. return setBans___(this, inS__, current__);
  31141. }
  31142. case 43:
  31143. {
  31144. return setChannelState___(this, inS__, current__);
  31145. }
  31146. case 44:
  31147. {
  31148. return setConf___(this, inS__, current__);
  31149. }
  31150. case 45:
  31151. {
  31152. return setState___(this, inS__, current__);
  31153. }
  31154. case 46:
  31155. {
  31156. return setSuperuserPassword___(this, inS__, current__);
  31157. }
  31158. case 47:
  31159. {
  31160. return setTexture___(this, inS__, current__);
  31161. }
  31162. case 48:
  31163. {
  31164. return start___(this, inS__, current__);
  31165. }
  31166. case 49:
  31167. {
  31168. return stop___(this, inS__, current__);
  31169. }
  31170. case 50:
  31171. {
  31172. return unregisterUser___(this, inS__, current__);
  31173. }
  31174. case 51:
  31175. {
  31176. return updateCertificate___(this, inS__, current__);
  31177. }
  31178. case 52:
  31179. {
  31180. return updateRegistration___(this, inS__, current__);
  31181. }
  31182. case 53:
  31183. {
  31184. return verifyPassword___(this, inS__, current__);
  31185. }
  31186. }
  31187.  
  31188. _System.Diagnostics.Debug.Assert(false);
  31189. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  31190. }
  31191.  
  31192. #endregion
  31193.  
  31194. #region Marshaling support
  31195.  
  31196. public override void write__(IceInternal.BasicStream os__)
  31197. {
  31198. os__.writeTypeId(ice_staticId());
  31199. os__.startWriteSlice();
  31200. os__.endWriteSlice();
  31201. base.write__(os__);
  31202. }
  31203.  
  31204. public override void read__(IceInternal.BasicStream is__, bool rid__)
  31205. {
  31206. if (rid__)
  31207. {
  31208. /* string myId = */
  31209. is__.readTypeId();
  31210. }
  31211. is__.startReadSlice();
  31212. is__.endReadSlice();
  31213. base.read__(is__, true);
  31214. }
  31215.  
  31216. public override void write__(Ice.OutputStream outS__)
  31217. {
  31218. Ice.MarshalException ex = new Ice.MarshalException();
  31219. ex.reason = "type Murmur::Server was not generated with stream support";
  31220. throw ex;
  31221. }
  31222.  
  31223. public override void read__(Ice.InputStream inS__, bool rid__)
  31224. {
  31225. Ice.MarshalException ex = new Ice.MarshalException();
  31226. ex.reason = "type Murmur::Server was not generated with stream support";
  31227. throw ex;
  31228. }
  31229.  
  31230. #endregion
  31231. }
  31232.  
  31233. [_System.Runtime.InteropServices.ComVisible(false)]
  31234. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  31235. public abstract class MetaCallbackDisp_ : Ice.ObjectImpl, MetaCallback
  31236. {
  31237. #region Slice operations
  31238.  
  31239. public void started(Murmur.ServerPrx srv)
  31240. {
  31241. started(srv, Ice.ObjectImpl.defaultCurrent);
  31242. }
  31243.  
  31244. public abstract void started(Murmur.ServerPrx srv, Ice.Current current__);
  31245.  
  31246. public void stopped(Murmur.ServerPrx srv)
  31247. {
  31248. stopped(srv, Ice.ObjectImpl.defaultCurrent);
  31249. }
  31250.  
  31251. public abstract void stopped(Murmur.ServerPrx srv, Ice.Current current__);
  31252.  
  31253. #endregion
  31254.  
  31255. #region Slice type-related members
  31256.  
  31257. public static new readonly string[] ids__ =
  31258. {
  31259. "::Ice::Object",
  31260. "::Murmur::MetaCallback"
  31261. };
  31262.  
  31263. public override bool ice_isA(string s)
  31264. {
  31265. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  31266. }
  31267.  
  31268. public override bool ice_isA(string s, Ice.Current current__)
  31269. {
  31270. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  31271. }
  31272.  
  31273. public override string[] ice_ids()
  31274. {
  31275. return ids__;
  31276. }
  31277.  
  31278. public override string[] ice_ids(Ice.Current current__)
  31279. {
  31280. return ids__;
  31281. }
  31282.  
  31283. public override string ice_id()
  31284. {
  31285. return ids__[1];
  31286. }
  31287.  
  31288. public override string ice_id(Ice.Current current__)
  31289. {
  31290. return ids__[1];
  31291. }
  31292.  
  31293. public static new string ice_staticId()
  31294. {
  31295. return ids__[1];
  31296. }
  31297.  
  31298. #endregion
  31299.  
  31300. #region Operation dispatch
  31301.  
  31302. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31303. public static Ice.DispatchStatus started___(MetaCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31304. {
  31305. checkMode__(Ice.OperationMode.Normal, current__.mode);
  31306. IceInternal.BasicStream is__ = inS__.istr();
  31307. is__.startReadEncaps();
  31308. Murmur.ServerPrx srv;
  31309. srv = Murmur.ServerPrxHelper.read__(is__);
  31310. is__.endReadEncaps();
  31311. obj__.started(srv, current__);
  31312. return Ice.DispatchStatus.DispatchOK;
  31313. }
  31314.  
  31315. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31316. public static Ice.DispatchStatus stopped___(MetaCallback obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31317. {
  31318. checkMode__(Ice.OperationMode.Normal, current__.mode);
  31319. IceInternal.BasicStream is__ = inS__.istr();
  31320. is__.startReadEncaps();
  31321. Murmur.ServerPrx srv;
  31322. srv = Murmur.ServerPrxHelper.read__(is__);
  31323. is__.endReadEncaps();
  31324. obj__.stopped(srv, current__);
  31325. return Ice.DispatchStatus.DispatchOK;
  31326. }
  31327.  
  31328. private static string[] all__ =
  31329. {
  31330. "ice_id",
  31331. "ice_ids",
  31332. "ice_isA",
  31333. "ice_ping",
  31334. "started",
  31335. "stopped"
  31336. };
  31337.  
  31338. public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
  31339. {
  31340. int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
  31341. if (pos < 0)
  31342. {
  31343. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  31344. }
  31345.  
  31346. switch (pos)
  31347. {
  31348. case 0:
  31349. {
  31350. return ice_id___(this, inS__, current__);
  31351. }
  31352. case 1:
  31353. {
  31354. return ice_ids___(this, inS__, current__);
  31355. }
  31356. case 2:
  31357. {
  31358. return ice_isA___(this, inS__, current__);
  31359. }
  31360. case 3:
  31361. {
  31362. return ice_ping___(this, inS__, current__);
  31363. }
  31364. case 4:
  31365. {
  31366. return started___(this, inS__, current__);
  31367. }
  31368. case 5:
  31369. {
  31370. return stopped___(this, inS__, current__);
  31371. }
  31372. }
  31373.  
  31374. _System.Diagnostics.Debug.Assert(false);
  31375. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  31376. }
  31377.  
  31378. #endregion
  31379.  
  31380. #region Marshaling support
  31381.  
  31382. public override void write__(IceInternal.BasicStream os__)
  31383. {
  31384. os__.writeTypeId(ice_staticId());
  31385. os__.startWriteSlice();
  31386. os__.endWriteSlice();
  31387. base.write__(os__);
  31388. }
  31389.  
  31390. public override void read__(IceInternal.BasicStream is__, bool rid__)
  31391. {
  31392. if (rid__)
  31393. {
  31394. /* string myId = */
  31395. is__.readTypeId();
  31396. }
  31397. is__.startReadSlice();
  31398. is__.endReadSlice();
  31399. base.read__(is__, true);
  31400. }
  31401.  
  31402. public override void write__(Ice.OutputStream outS__)
  31403. {
  31404. Ice.MarshalException ex = new Ice.MarshalException();
  31405. ex.reason = "type Murmur::MetaCallback was not generated with stream support";
  31406. throw ex;
  31407. }
  31408.  
  31409. public override void read__(Ice.InputStream inS__, bool rid__)
  31410. {
  31411. Ice.MarshalException ex = new Ice.MarshalException();
  31412. ex.reason = "type Murmur::MetaCallback was not generated with stream support";
  31413. throw ex;
  31414. }
  31415.  
  31416. #endregion
  31417. }
  31418.  
  31419. [_System.Runtime.InteropServices.ComVisible(false)]
  31420. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  31421. public abstract class MetaDisp_ : Ice.ObjectImpl, Meta
  31422. {
  31423. #region Slice operations
  31424.  
  31425. public void getServer_async(Murmur.AMD_Meta_getServer cb__, int id)
  31426. {
  31427. getServer_async(cb__, id, Ice.ObjectImpl.defaultCurrent);
  31428. }
  31429.  
  31430. public abstract void getServer_async(Murmur.AMD_Meta_getServer cb__, int id, Ice.Current current__);
  31431.  
  31432. public void newServer_async(Murmur.AMD_Meta_newServer cb__)
  31433. {
  31434. newServer_async(cb__, Ice.ObjectImpl.defaultCurrent);
  31435. }
  31436.  
  31437. public abstract void newServer_async(Murmur.AMD_Meta_newServer cb__, Ice.Current current__);
  31438.  
  31439. public void getBootedServers_async(Murmur.AMD_Meta_getBootedServers cb__)
  31440. {
  31441. getBootedServers_async(cb__, Ice.ObjectImpl.defaultCurrent);
  31442. }
  31443.  
  31444. public abstract void getBootedServers_async(Murmur.AMD_Meta_getBootedServers cb__, Ice.Current current__);
  31445.  
  31446. public void getAllServers_async(Murmur.AMD_Meta_getAllServers cb__)
  31447. {
  31448. getAllServers_async(cb__, Ice.ObjectImpl.defaultCurrent);
  31449. }
  31450.  
  31451. public abstract void getAllServers_async(Murmur.AMD_Meta_getAllServers cb__, Ice.Current current__);
  31452.  
  31453. public void getDefaultConf_async(Murmur.AMD_Meta_getDefaultConf cb__)
  31454. {
  31455. getDefaultConf_async(cb__, Ice.ObjectImpl.defaultCurrent);
  31456. }
  31457.  
  31458. public abstract void getDefaultConf_async(Murmur.AMD_Meta_getDefaultConf cb__, Ice.Current current__);
  31459.  
  31460. public void getVersion_async(Murmur.AMD_Meta_getVersion cb__)
  31461. {
  31462. getVersion_async(cb__, Ice.ObjectImpl.defaultCurrent);
  31463. }
  31464.  
  31465. public abstract void getVersion_async(Murmur.AMD_Meta_getVersion cb__, Ice.Current current__);
  31466.  
  31467. public void addCallback_async(Murmur.AMD_Meta_addCallback cb__, Murmur.MetaCallbackPrx cb)
  31468. {
  31469. addCallback_async(cb__, cb, Ice.ObjectImpl.defaultCurrent);
  31470. }
  31471.  
  31472. public abstract void addCallback_async(Murmur.AMD_Meta_addCallback cb__, Murmur.MetaCallbackPrx cb, Ice.Current current__);
  31473.  
  31474. public void removeCallback_async(Murmur.AMD_Meta_removeCallback cb__, Murmur.MetaCallbackPrx cb)
  31475. {
  31476. removeCallback_async(cb__, cb, Ice.ObjectImpl.defaultCurrent);
  31477. }
  31478.  
  31479. public abstract void removeCallback_async(Murmur.AMD_Meta_removeCallback cb__, Murmur.MetaCallbackPrx cb, Ice.Current current__);
  31480.  
  31481. public void getUptime_async(Murmur.AMD_Meta_getUptime cb__)
  31482. {
  31483. getUptime_async(cb__, Ice.ObjectImpl.defaultCurrent);
  31484. }
  31485.  
  31486. public abstract void getUptime_async(Murmur.AMD_Meta_getUptime cb__, Ice.Current current__);
  31487.  
  31488. public void getSlice_async(Murmur.AMD_Meta_getSlice cb__)
  31489. {
  31490. getSlice_async(cb__, Ice.ObjectImpl.defaultCurrent);
  31491. }
  31492.  
  31493. public abstract void getSlice_async(Murmur.AMD_Meta_getSlice cb__, Ice.Current current__);
  31494.  
  31495. public void getSliceChecksums_async(Murmur.AMD_Meta_getSliceChecksums cb__)
  31496. {
  31497. getSliceChecksums_async(cb__, Ice.ObjectImpl.defaultCurrent);
  31498. }
  31499.  
  31500. public abstract void getSliceChecksums_async(Murmur.AMD_Meta_getSliceChecksums cb__, Ice.Current current__);
  31501.  
  31502. #endregion
  31503.  
  31504. #region Slice type-related members
  31505.  
  31506. public static new readonly string[] ids__ =
  31507. {
  31508. "::Ice::Object",
  31509. "::Murmur::Meta"
  31510. };
  31511.  
  31512. public override bool ice_isA(string s)
  31513. {
  31514. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  31515. }
  31516.  
  31517. public override bool ice_isA(string s, Ice.Current current__)
  31518. {
  31519. return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
  31520. }
  31521.  
  31522. public override string[] ice_ids()
  31523. {
  31524. return ids__;
  31525. }
  31526.  
  31527. public override string[] ice_ids(Ice.Current current__)
  31528. {
  31529. return ids__;
  31530. }
  31531.  
  31532. public override string ice_id()
  31533. {
  31534. return ids__[1];
  31535. }
  31536.  
  31537. public override string ice_id(Ice.Current current__)
  31538. {
  31539. return ids__[1];
  31540. }
  31541.  
  31542. public static new string ice_staticId()
  31543. {
  31544. return ids__[1];
  31545. }
  31546.  
  31547. #endregion
  31548.  
  31549. #region Operation dispatch
  31550.  
  31551. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31552. public static Ice.DispatchStatus getServer___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31553. {
  31554. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  31555. IceInternal.BasicStream is__ = inS__.istr();
  31556. is__.startReadEncaps();
  31557. int id;
  31558. id = is__.readInt();
  31559. is__.endReadEncaps();
  31560. AMD_Meta_getServer cb__ = new _AMD_Meta_getServer(inS__);
  31561. try
  31562. {
  31563. obj__.getServer_async(cb__, id, current__);
  31564. }
  31565. catch (_System.Exception ex__)
  31566. {
  31567. cb__.ice_exception(ex__);
  31568. }
  31569. return Ice.DispatchStatus.DispatchAsync;
  31570. }
  31571.  
  31572. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31573. public static Ice.DispatchStatus newServer___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31574. {
  31575. checkMode__(Ice.OperationMode.Normal, current__.mode);
  31576. inS__.istr().skipEmptyEncaps();
  31577. AMD_Meta_newServer cb__ = new _AMD_Meta_newServer(inS__);
  31578. try
  31579. {
  31580. obj__.newServer_async(cb__, current__);
  31581. }
  31582. catch (_System.Exception ex__)
  31583. {
  31584. cb__.ice_exception(ex__);
  31585. }
  31586. return Ice.DispatchStatus.DispatchAsync;
  31587. }
  31588.  
  31589. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31590. public static Ice.DispatchStatus getBootedServers___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31591. {
  31592. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  31593. inS__.istr().skipEmptyEncaps();
  31594. AMD_Meta_getBootedServers cb__ = new _AMD_Meta_getBootedServers(inS__);
  31595. try
  31596. {
  31597. obj__.getBootedServers_async(cb__, current__);
  31598. }
  31599. catch (_System.Exception ex__)
  31600. {
  31601. cb__.ice_exception(ex__);
  31602. }
  31603. return Ice.DispatchStatus.DispatchAsync;
  31604. }
  31605.  
  31606. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31607. public static Ice.DispatchStatus getAllServers___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31608. {
  31609. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  31610. inS__.istr().skipEmptyEncaps();
  31611. AMD_Meta_getAllServers cb__ = new _AMD_Meta_getAllServers(inS__);
  31612. try
  31613. {
  31614. obj__.getAllServers_async(cb__, current__);
  31615. }
  31616. catch (_System.Exception ex__)
  31617. {
  31618. cb__.ice_exception(ex__);
  31619. }
  31620. return Ice.DispatchStatus.DispatchAsync;
  31621. }
  31622.  
  31623. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31624. public static Ice.DispatchStatus getDefaultConf___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31625. {
  31626. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  31627. inS__.istr().skipEmptyEncaps();
  31628. AMD_Meta_getDefaultConf cb__ = new _AMD_Meta_getDefaultConf(inS__);
  31629. try
  31630. {
  31631. obj__.getDefaultConf_async(cb__, current__);
  31632. }
  31633. catch (_System.Exception ex__)
  31634. {
  31635. cb__.ice_exception(ex__);
  31636. }
  31637. return Ice.DispatchStatus.DispatchAsync;
  31638. }
  31639.  
  31640. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31641. public static Ice.DispatchStatus getVersion___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31642. {
  31643. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  31644. inS__.istr().skipEmptyEncaps();
  31645. AMD_Meta_getVersion cb__ = new _AMD_Meta_getVersion(inS__);
  31646. try
  31647. {
  31648. obj__.getVersion_async(cb__, current__);
  31649. }
  31650. catch (_System.Exception ex__)
  31651. {
  31652. cb__.ice_exception(ex__);
  31653. }
  31654. return Ice.DispatchStatus.DispatchAsync;
  31655. }
  31656.  
  31657. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31658. public static Ice.DispatchStatus addCallback___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31659. {
  31660. checkMode__(Ice.OperationMode.Normal, current__.mode);
  31661. IceInternal.BasicStream is__ = inS__.istr();
  31662. is__.startReadEncaps();
  31663. Murmur.MetaCallbackPrx cb;
  31664. cb = Murmur.MetaCallbackPrxHelper.read__(is__);
  31665. is__.endReadEncaps();
  31666. AMD_Meta_addCallback cb__ = new _AMD_Meta_addCallback(inS__);
  31667. try
  31668. {
  31669. obj__.addCallback_async(cb__, cb, current__);
  31670. }
  31671. catch (_System.Exception ex__)
  31672. {
  31673. cb__.ice_exception(ex__);
  31674. }
  31675. return Ice.DispatchStatus.DispatchAsync;
  31676. }
  31677.  
  31678. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31679. public static Ice.DispatchStatus removeCallback___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31680. {
  31681. checkMode__(Ice.OperationMode.Normal, current__.mode);
  31682. IceInternal.BasicStream is__ = inS__.istr();
  31683. is__.startReadEncaps();
  31684. Murmur.MetaCallbackPrx cb;
  31685. cb = Murmur.MetaCallbackPrxHelper.read__(is__);
  31686. is__.endReadEncaps();
  31687. AMD_Meta_removeCallback cb__ = new _AMD_Meta_removeCallback(inS__);
  31688. try
  31689. {
  31690. obj__.removeCallback_async(cb__, cb, current__);
  31691. }
  31692. catch (_System.Exception ex__)
  31693. {
  31694. cb__.ice_exception(ex__);
  31695. }
  31696. return Ice.DispatchStatus.DispatchAsync;
  31697. }
  31698.  
  31699. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31700. public static Ice.DispatchStatus getUptime___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31701. {
  31702. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  31703. inS__.istr().skipEmptyEncaps();
  31704. AMD_Meta_getUptime cb__ = new _AMD_Meta_getUptime(inS__);
  31705. try
  31706. {
  31707. obj__.getUptime_async(cb__, current__);
  31708. }
  31709. catch (_System.Exception ex__)
  31710. {
  31711. cb__.ice_exception(ex__);
  31712. }
  31713. return Ice.DispatchStatus.DispatchAsync;
  31714. }
  31715.  
  31716. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31717. public static Ice.DispatchStatus getSlice___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31718. {
  31719. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  31720. inS__.istr().skipEmptyEncaps();
  31721. AMD_Meta_getSlice cb__ = new _AMD_Meta_getSlice(inS__);
  31722. try
  31723. {
  31724. obj__.getSlice_async(cb__, current__);
  31725. }
  31726. catch (_System.Exception ex__)
  31727. {
  31728. cb__.ice_exception(ex__);
  31729. }
  31730. return Ice.DispatchStatus.DispatchAsync;
  31731. }
  31732.  
  31733. [_System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011")]
  31734. public static Ice.DispatchStatus getSliceChecksums___(Meta obj__, IceInternal.Incoming inS__, Ice.Current current__)
  31735. {
  31736. checkMode__(Ice.OperationMode.Idempotent, current__.mode);
  31737. inS__.istr().skipEmptyEncaps();
  31738. AMD_Meta_getSliceChecksums cb__ = new _AMD_Meta_getSliceChecksums(inS__);
  31739. try
  31740. {
  31741. obj__.getSliceChecksums_async(cb__, current__);
  31742. }
  31743. catch (_System.Exception ex__)
  31744. {
  31745. cb__.ice_exception(ex__);
  31746. }
  31747. return Ice.DispatchStatus.DispatchAsync;
  31748. }
  31749.  
  31750. private static string[] all__ =
  31751. {
  31752. "addCallback",
  31753. "getAllServers",
  31754. "getBootedServers",
  31755. "getDefaultConf",
  31756. "getServer",
  31757. "getSlice",
  31758. "getSliceChecksums",
  31759. "getUptime",
  31760. "getVersion",
  31761. "ice_id",
  31762. "ice_ids",
  31763. "ice_isA",
  31764. "ice_ping",
  31765. "newServer",
  31766. "removeCallback"
  31767. };
  31768.  
  31769. public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
  31770. {
  31771. int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
  31772. if (pos < 0)
  31773. {
  31774. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  31775. }
  31776.  
  31777. switch (pos)
  31778. {
  31779. case 0:
  31780. {
  31781. return addCallback___(this, inS__, current__);
  31782. }
  31783. case 1:
  31784. {
  31785. return getAllServers___(this, inS__, current__);
  31786. }
  31787. case 2:
  31788. {
  31789. return getBootedServers___(this, inS__, current__);
  31790. }
  31791. case 3:
  31792. {
  31793. return getDefaultConf___(this, inS__, current__);
  31794. }
  31795. case 4:
  31796. {
  31797. return getServer___(this, inS__, current__);
  31798. }
  31799. case 5:
  31800. {
  31801. return getSlice___(this, inS__, current__);
  31802. }
  31803. case 6:
  31804. {
  31805. return getSliceChecksums___(this, inS__, current__);
  31806. }
  31807. case 7:
  31808. {
  31809. return getUptime___(this, inS__, current__);
  31810. }
  31811. case 8:
  31812. {
  31813. return getVersion___(this, inS__, current__);
  31814. }
  31815. case 9:
  31816. {
  31817. return ice_id___(this, inS__, current__);
  31818. }
  31819. case 10:
  31820. {
  31821. return ice_ids___(this, inS__, current__);
  31822. }
  31823. case 11:
  31824. {
  31825. return ice_isA___(this, inS__, current__);
  31826. }
  31827. case 12:
  31828. {
  31829. return ice_ping___(this, inS__, current__);
  31830. }
  31831. case 13:
  31832. {
  31833. return newServer___(this, inS__, current__);
  31834. }
  31835. case 14:
  31836. {
  31837. return removeCallback___(this, inS__, current__);
  31838. }
  31839. }
  31840.  
  31841. _System.Diagnostics.Debug.Assert(false);
  31842. throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
  31843. }
  31844.  
  31845. #endregion
  31846.  
  31847. #region Marshaling support
  31848.  
  31849. public override void write__(IceInternal.BasicStream os__)
  31850. {
  31851. os__.writeTypeId(ice_staticId());
  31852. os__.startWriteSlice();
  31853. os__.endWriteSlice();
  31854. base.write__(os__);
  31855. }
  31856.  
  31857. public override void read__(IceInternal.BasicStream is__, bool rid__)
  31858. {
  31859. if (rid__)
  31860. {
  31861. /* string myId = */
  31862. is__.readTypeId();
  31863. }
  31864. is__.startReadSlice();
  31865. is__.endReadSlice();
  31866. base.read__(is__, true);
  31867. }
  31868.  
  31869. public override void write__(Ice.OutputStream outS__)
  31870. {
  31871. Ice.MarshalException ex = new Ice.MarshalException();
  31872. ex.reason = "type Murmur::Meta was not generated with stream support";
  31873. throw ex;
  31874. }
  31875.  
  31876. public override void read__(Ice.InputStream inS__, bool rid__)
  31877. {
  31878. Ice.MarshalException ex = new Ice.MarshalException();
  31879. ex.reason = "type Murmur::Meta was not generated with stream support";
  31880. throw ex;
  31881. }
  31882.  
  31883. #endregion
  31884. }
  31885. }
  31886.  
  31887. namespace Murmur
  31888. {
  31889. /// <summary>
  31890. /// Shows if the server currently running (accepting users).
  31891. /// </summary>
  31892. [_System.Runtime.InteropServices.ComVisible(false)]
  31893. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  31894. public interface AMD_Server_isRunning : Ice.AMDCallback
  31895. {
  31896. /// <summary>
  31897. /// ice_response indicates that
  31898. /// the operation completed successfully.
  31899. /// </summary>
  31900. /// <param name="ret__">(return value) Run-state of server.</param>
  31901. void ice_response(bool ret__);
  31902. }
  31903.  
  31904. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  31905. class _AMD_Server_isRunning : IceInternal.IncomingAsync, AMD_Server_isRunning
  31906. {
  31907. public _AMD_Server_isRunning(IceInternal.Incoming inc) : base(inc)
  31908. {
  31909. }
  31910.  
  31911. public void ice_response(bool ret__)
  31912. {
  31913. if (validateResponse__(true))
  31914. {
  31915. try
  31916. {
  31917. IceInternal.BasicStream os__ = this.os__();
  31918. os__.writeBool(ret__);
  31919. }
  31920. catch (Ice.LocalException ex__)
  31921. {
  31922. ice_exception(ex__);
  31923. }
  31924. response__(true);
  31925. }
  31926. }
  31927.  
  31928. override public void ice_exception(_System.Exception ex)
  31929. {
  31930. try
  31931. {
  31932. throw ex;
  31933. }
  31934. catch (Murmur.InvalidSecretException ex__)
  31935. {
  31936. if (validateResponse__(false))
  31937. {
  31938. os__().writeUserException(ex__);
  31939. response__(false);
  31940. }
  31941. }
  31942. catch (_System.Exception ex__)
  31943. {
  31944. base.ice_exception(ex__);
  31945. }
  31946. }
  31947. }
  31948.  
  31949. /// <summary>
  31950. /// Start server.
  31951. /// </summary>
  31952. [_System.Runtime.InteropServices.ComVisible(false)]
  31953. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  31954. public interface AMD_Server_start : Ice.AMDCallback
  31955. {
  31956. /// <summary>
  31957. /// ice_response indicates that
  31958. /// the operation completed successfully.
  31959. /// </summary>
  31960. void ice_response();
  31961. }
  31962.  
  31963. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  31964. class _AMD_Server_start : IceInternal.IncomingAsync, AMD_Server_start
  31965. {
  31966. public _AMD_Server_start(IceInternal.Incoming inc) : base(inc)
  31967. {
  31968. }
  31969.  
  31970. public void ice_response()
  31971. {
  31972. if (validateResponse__(true))
  31973. {
  31974. response__(true);
  31975. }
  31976. }
  31977.  
  31978. override public void ice_exception(_System.Exception ex)
  31979. {
  31980. try
  31981. {
  31982. throw ex;
  31983. }
  31984. catch (Murmur.InvalidSecretException ex__)
  31985. {
  31986. if (validateResponse__(false))
  31987. {
  31988. os__().writeUserException(ex__);
  31989. response__(false);
  31990. }
  31991. }
  31992. catch (Murmur.ServerBootedException ex__)
  31993. {
  31994. if (validateResponse__(false))
  31995. {
  31996. os__().writeUserException(ex__);
  31997. response__(false);
  31998. }
  31999. }
  32000. catch (Murmur.ServerFailureException ex__)
  32001. {
  32002. if (validateResponse__(false))
  32003. {
  32004. os__().writeUserException(ex__);
  32005. response__(false);
  32006. }
  32007. }
  32008. catch (_System.Exception ex__)
  32009. {
  32010. base.ice_exception(ex__);
  32011. }
  32012. }
  32013. }
  32014.  
  32015. /// <summary>
  32016. /// Stop server.
  32017. /// Note: Server will be restarted on Murmur restart unless explicitly disabled
  32018. /// with setConf("boot", false)
  32019. /// </summary>
  32020. [_System.Runtime.InteropServices.ComVisible(false)]
  32021. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32022. public interface AMD_Server_stop : Ice.AMDCallback
  32023. {
  32024. /// <summary>
  32025. /// ice_response indicates that
  32026. /// the operation completed successfully.
  32027. /// </summary>
  32028. void ice_response();
  32029. }
  32030.  
  32031. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32032. class _AMD_Server_stop : IceInternal.IncomingAsync, AMD_Server_stop
  32033. {
  32034. public _AMD_Server_stop(IceInternal.Incoming inc) : base(inc)
  32035. {
  32036. }
  32037.  
  32038. public void ice_response()
  32039. {
  32040. if (validateResponse__(true))
  32041. {
  32042. response__(true);
  32043. }
  32044. }
  32045.  
  32046. override public void ice_exception(_System.Exception ex)
  32047. {
  32048. try
  32049. {
  32050. throw ex;
  32051. }
  32052. catch (Murmur.InvalidSecretException ex__)
  32053. {
  32054. if (validateResponse__(false))
  32055. {
  32056. os__().writeUserException(ex__);
  32057. response__(false);
  32058. }
  32059. }
  32060. catch (Murmur.ServerBootedException ex__)
  32061. {
  32062. if (validateResponse__(false))
  32063. {
  32064. os__().writeUserException(ex__);
  32065. response__(false);
  32066. }
  32067. }
  32068. catch (_System.Exception ex__)
  32069. {
  32070. base.ice_exception(ex__);
  32071. }
  32072. }
  32073. }
  32074.  
  32075. /// <summary>
  32076. /// Delete server and all it's configuration.
  32077. /// </summary>
  32078. [_System.Runtime.InteropServices.ComVisible(false)]
  32079. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32080. public interface AMD_Server_delete : Ice.AMDCallback
  32081. {
  32082. /// <summary>
  32083. /// ice_response indicates that
  32084. /// the operation completed successfully.
  32085. /// </summary>
  32086. void ice_response();
  32087. }
  32088.  
  32089. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32090. class _AMD_Server_delete : IceInternal.IncomingAsync, AMD_Server_delete
  32091. {
  32092. public _AMD_Server_delete(IceInternal.Incoming inc) : base(inc)
  32093. {
  32094. }
  32095.  
  32096. public void ice_response()
  32097. {
  32098. if (validateResponse__(true))
  32099. {
  32100. response__(true);
  32101. }
  32102. }
  32103.  
  32104. override public void ice_exception(_System.Exception ex)
  32105. {
  32106. try
  32107. {
  32108. throw ex;
  32109. }
  32110. catch (Murmur.InvalidSecretException ex__)
  32111. {
  32112. if (validateResponse__(false))
  32113. {
  32114. os__().writeUserException(ex__);
  32115. response__(false);
  32116. }
  32117. }
  32118. catch (Murmur.ServerBootedException ex__)
  32119. {
  32120. if (validateResponse__(false))
  32121. {
  32122. os__().writeUserException(ex__);
  32123. response__(false);
  32124. }
  32125. }
  32126. catch (_System.Exception ex__)
  32127. {
  32128. base.ice_exception(ex__);
  32129. }
  32130. }
  32131. }
  32132.  
  32133. /// <summary>
  32134. /// Fetch the server id.
  32135. /// </summary>
  32136. [_System.Runtime.InteropServices.ComVisible(false)]
  32137. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32138. public interface AMD_Server_id : Ice.AMDCallback
  32139. {
  32140. /// <summary>
  32141. /// ice_response indicates that
  32142. /// the operation completed successfully.
  32143. /// </summary>
  32144. /// <param name="ret__">(return value) Unique server id.</param>
  32145. void ice_response(int ret__);
  32146. }
  32147.  
  32148. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32149. class _AMD_Server_id : IceInternal.IncomingAsync, AMD_Server_id
  32150. {
  32151. public _AMD_Server_id(IceInternal.Incoming inc) : base(inc)
  32152. {
  32153. }
  32154.  
  32155. public void ice_response(int ret__)
  32156. {
  32157. if (validateResponse__(true))
  32158. {
  32159. try
  32160. {
  32161. IceInternal.BasicStream os__ = this.os__();
  32162. os__.writeInt(ret__);
  32163. }
  32164. catch (Ice.LocalException ex__)
  32165. {
  32166. ice_exception(ex__);
  32167. }
  32168. response__(true);
  32169. }
  32170. }
  32171.  
  32172. override public void ice_exception(_System.Exception ex)
  32173. {
  32174. try
  32175. {
  32176. throw ex;
  32177. }
  32178. catch (Murmur.InvalidSecretException ex__)
  32179. {
  32180. if (validateResponse__(false))
  32181. {
  32182. os__().writeUserException(ex__);
  32183. response__(false);
  32184. }
  32185. }
  32186. catch (_System.Exception ex__)
  32187. {
  32188. base.ice_exception(ex__);
  32189. }
  32190. }
  32191. }
  32192.  
  32193. /// <summary>
  32194. /// Add a callback.
  32195. /// The callback will receive notifications about changes to users and channels.
  32196. ///
  32197. /// </summary>
  32198. [_System.Runtime.InteropServices.ComVisible(false)]
  32199. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32200. public interface AMD_Server_addCallback : Ice.AMDCallback
  32201. {
  32202. /// <summary>
  32203. /// ice_response indicates that
  32204. /// the operation completed successfully.
  32205. /// </summary>
  32206. void ice_response();
  32207. }
  32208.  
  32209. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32210. class _AMD_Server_addCallback : IceInternal.IncomingAsync, AMD_Server_addCallback
  32211. {
  32212. public _AMD_Server_addCallback(IceInternal.Incoming inc) : base(inc)
  32213. {
  32214. }
  32215.  
  32216. public void ice_response()
  32217. {
  32218. if (validateResponse__(true))
  32219. {
  32220. response__(true);
  32221. }
  32222. }
  32223.  
  32224. override public void ice_exception(_System.Exception ex)
  32225. {
  32226. try
  32227. {
  32228. throw ex;
  32229. }
  32230. catch (Murmur.InvalidCallbackException ex__)
  32231. {
  32232. if (validateResponse__(false))
  32233. {
  32234. os__().writeUserException(ex__);
  32235. response__(false);
  32236. }
  32237. }
  32238. catch (Murmur.InvalidSecretException ex__)
  32239. {
  32240. if (validateResponse__(false))
  32241. {
  32242. os__().writeUserException(ex__);
  32243. response__(false);
  32244. }
  32245. }
  32246. catch (Murmur.ServerBootedException ex__)
  32247. {
  32248. if (validateResponse__(false))
  32249. {
  32250. os__().writeUserException(ex__);
  32251. response__(false);
  32252. }
  32253. }
  32254. catch (_System.Exception ex__)
  32255. {
  32256. base.ice_exception(ex__);
  32257. }
  32258. }
  32259. }
  32260.  
  32261. /// <summary>
  32262. /// Remove a callback.
  32263. /// </summary>
  32264. [_System.Runtime.InteropServices.ComVisible(false)]
  32265. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32266. public interface AMD_Server_removeCallback : Ice.AMDCallback
  32267. {
  32268. /// <summary>
  32269. /// ice_response indicates that
  32270. /// the operation completed successfully.
  32271. /// </summary>
  32272. void ice_response();
  32273. }
  32274.  
  32275. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32276. class _AMD_Server_removeCallback : IceInternal.IncomingAsync, AMD_Server_removeCallback
  32277. {
  32278. public _AMD_Server_removeCallback(IceInternal.Incoming inc) : base(inc)
  32279. {
  32280. }
  32281.  
  32282. public void ice_response()
  32283. {
  32284. if (validateResponse__(true))
  32285. {
  32286. response__(true);
  32287. }
  32288. }
  32289.  
  32290. override public void ice_exception(_System.Exception ex)
  32291. {
  32292. try
  32293. {
  32294. throw ex;
  32295. }
  32296. catch (Murmur.InvalidCallbackException ex__)
  32297. {
  32298. if (validateResponse__(false))
  32299. {
  32300. os__().writeUserException(ex__);
  32301. response__(false);
  32302. }
  32303. }
  32304. catch (Murmur.InvalidSecretException ex__)
  32305. {
  32306. if (validateResponse__(false))
  32307. {
  32308. os__().writeUserException(ex__);
  32309. response__(false);
  32310. }
  32311. }
  32312. catch (Murmur.ServerBootedException ex__)
  32313. {
  32314. if (validateResponse__(false))
  32315. {
  32316. os__().writeUserException(ex__);
  32317. response__(false);
  32318. }
  32319. }
  32320. catch (_System.Exception ex__)
  32321. {
  32322. base.ice_exception(ex__);
  32323. }
  32324. }
  32325. }
  32326.  
  32327. /// <summary>
  32328. /// Set external authenticator.
  32329. /// If set, all authentications from clients are forwarded to this
  32330. /// proxy.
  32331. ///
  32332. /// </summary>
  32333. [_System.Runtime.InteropServices.ComVisible(false)]
  32334. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32335. public interface AMD_Server_setAuthenticator : Ice.AMDCallback
  32336. {
  32337. /// <summary>
  32338. /// ice_response indicates that
  32339. /// the operation completed successfully.
  32340. /// </summary>
  32341. void ice_response();
  32342. }
  32343.  
  32344. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32345. class _AMD_Server_setAuthenticator : IceInternal.IncomingAsync, AMD_Server_setAuthenticator
  32346. {
  32347. public _AMD_Server_setAuthenticator(IceInternal.Incoming inc) : base(inc)
  32348. {
  32349. }
  32350.  
  32351. public void ice_response()
  32352. {
  32353. if (validateResponse__(true))
  32354. {
  32355. response__(true);
  32356. }
  32357. }
  32358.  
  32359. override public void ice_exception(_System.Exception ex)
  32360. {
  32361. try
  32362. {
  32363. throw ex;
  32364. }
  32365. catch (Murmur.InvalidCallbackException ex__)
  32366. {
  32367. if (validateResponse__(false))
  32368. {
  32369. os__().writeUserException(ex__);
  32370. response__(false);
  32371. }
  32372. }
  32373. catch (Murmur.InvalidSecretException ex__)
  32374. {
  32375. if (validateResponse__(false))
  32376. {
  32377. os__().writeUserException(ex__);
  32378. response__(false);
  32379. }
  32380. }
  32381. catch (Murmur.ServerBootedException ex__)
  32382. {
  32383. if (validateResponse__(false))
  32384. {
  32385. os__().writeUserException(ex__);
  32386. response__(false);
  32387. }
  32388. }
  32389. catch (_System.Exception ex__)
  32390. {
  32391. base.ice_exception(ex__);
  32392. }
  32393. }
  32394. }
  32395.  
  32396. /// <summary>
  32397. /// Retrieve configuration item.
  32398. /// </summary>
  32399. [_System.Runtime.InteropServices.ComVisible(false)]
  32400. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32401. public interface AMD_Server_getConf : Ice.AMDCallback
  32402. {
  32403. /// <summary>
  32404. /// ice_response indicates that
  32405. /// the operation completed successfully.
  32406. /// </summary>
  32407. /// <param name="ret__">(return value) Configuration value. If this is empty, see Meta.getDefaultConf</param>
  32408. void ice_response(string ret__);
  32409. }
  32410.  
  32411. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32412. class _AMD_Server_getConf : IceInternal.IncomingAsync, AMD_Server_getConf
  32413. {
  32414. public _AMD_Server_getConf(IceInternal.Incoming inc) : base(inc)
  32415. {
  32416. }
  32417.  
  32418. public void ice_response(string ret__)
  32419. {
  32420. if (validateResponse__(true))
  32421. {
  32422. try
  32423. {
  32424. IceInternal.BasicStream os__ = this.os__();
  32425. os__.writeString(ret__);
  32426. }
  32427. catch (Ice.LocalException ex__)
  32428. {
  32429. ice_exception(ex__);
  32430. }
  32431. response__(true);
  32432. }
  32433. }
  32434.  
  32435. override public void ice_exception(_System.Exception ex)
  32436. {
  32437. try
  32438. {
  32439. throw ex;
  32440. }
  32441. catch (Murmur.InvalidSecretException ex__)
  32442. {
  32443. if (validateResponse__(false))
  32444. {
  32445. os__().writeUserException(ex__);
  32446. response__(false);
  32447. }
  32448. }
  32449. catch (Murmur.WriteOnlyException ex__)
  32450. {
  32451. if (validateResponse__(false))
  32452. {
  32453. os__().writeUserException(ex__);
  32454. response__(false);
  32455. }
  32456. }
  32457. catch (_System.Exception ex__)
  32458. {
  32459. base.ice_exception(ex__);
  32460. }
  32461. }
  32462. }
  32463.  
  32464. /// <summary>
  32465. /// Retrieve all configuration items.
  32466. /// </summary>
  32467. [_System.Runtime.InteropServices.ComVisible(false)]
  32468. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32469. public interface AMD_Server_getAllConf : Ice.AMDCallback
  32470. {
  32471. /// <summary>
  32472. /// ice_response indicates that
  32473. /// the operation completed successfully.
  32474. /// </summary>
  32475. /// <param name="ret__">(return value) All configured values. If a value isn't set here, the value from Meta.getDefaultConf is used.</param>
  32476. void ice_response(_System.Collections.Generic.Dictionary<string, string> ret__);
  32477. }
  32478.  
  32479. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32480. class _AMD_Server_getAllConf : IceInternal.IncomingAsync, AMD_Server_getAllConf
  32481. {
  32482. public _AMD_Server_getAllConf(IceInternal.Incoming inc) : base(inc)
  32483. {
  32484. }
  32485.  
  32486. public void ice_response(_System.Collections.Generic.Dictionary<string, string> ret__)
  32487. {
  32488. if (validateResponse__(true))
  32489. {
  32490. try
  32491. {
  32492. IceInternal.BasicStream os__ = this.os__();
  32493. Murmur.ConfigMapHelper.write(os__, ret__);
  32494. }
  32495. catch (Ice.LocalException ex__)
  32496. {
  32497. ice_exception(ex__);
  32498. }
  32499. response__(true);
  32500. }
  32501. }
  32502.  
  32503. override public void ice_exception(_System.Exception ex)
  32504. {
  32505. try
  32506. {
  32507. throw ex;
  32508. }
  32509. catch (Murmur.InvalidSecretException ex__)
  32510. {
  32511. if (validateResponse__(false))
  32512. {
  32513. os__().writeUserException(ex__);
  32514. response__(false);
  32515. }
  32516. }
  32517. catch (_System.Exception ex__)
  32518. {
  32519. base.ice_exception(ex__);
  32520. }
  32521. }
  32522. }
  32523.  
  32524. /// <summary>
  32525. /// Set a configuration item.
  32526. /// </summary>
  32527. [_System.Runtime.InteropServices.ComVisible(false)]
  32528. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32529. public interface AMD_Server_setConf : Ice.AMDCallback
  32530. {
  32531. /// <summary>
  32532. /// ice_response indicates that
  32533. /// the operation completed successfully.
  32534. /// </summary>
  32535. void ice_response();
  32536. }
  32537.  
  32538. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32539. class _AMD_Server_setConf : IceInternal.IncomingAsync, AMD_Server_setConf
  32540. {
  32541. public _AMD_Server_setConf(IceInternal.Incoming inc) : base(inc)
  32542. {
  32543. }
  32544.  
  32545. public void ice_response()
  32546. {
  32547. if (validateResponse__(true))
  32548. {
  32549. response__(true);
  32550. }
  32551. }
  32552.  
  32553. override public void ice_exception(_System.Exception ex)
  32554. {
  32555. try
  32556. {
  32557. throw ex;
  32558. }
  32559. catch (Murmur.InvalidSecretException ex__)
  32560. {
  32561. if (validateResponse__(false))
  32562. {
  32563. os__().writeUserException(ex__);
  32564. response__(false);
  32565. }
  32566. }
  32567. catch (_System.Exception ex__)
  32568. {
  32569. base.ice_exception(ex__);
  32570. }
  32571. }
  32572. }
  32573.  
  32574. /// <summary>
  32575. /// Set superuser password.
  32576. /// This is just a convenience for using updateRegistration on user id 0.
  32577. /// </summary>
  32578. [_System.Runtime.InteropServices.ComVisible(false)]
  32579. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32580. public interface AMD_Server_setSuperuserPassword : Ice.AMDCallback
  32581. {
  32582. /// <summary>
  32583. /// ice_response indicates that
  32584. /// the operation completed successfully.
  32585. /// </summary>
  32586. void ice_response();
  32587. }
  32588.  
  32589. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32590. class _AMD_Server_setSuperuserPassword : IceInternal.IncomingAsync, AMD_Server_setSuperuserPassword
  32591. {
  32592. public _AMD_Server_setSuperuserPassword(IceInternal.Incoming inc) : base(inc)
  32593. {
  32594. }
  32595.  
  32596. public void ice_response()
  32597. {
  32598. if (validateResponse__(true))
  32599. {
  32600. response__(true);
  32601. }
  32602. }
  32603.  
  32604. override public void ice_exception(_System.Exception ex)
  32605. {
  32606. try
  32607. {
  32608. throw ex;
  32609. }
  32610. catch (Murmur.InvalidSecretException ex__)
  32611. {
  32612. if (validateResponse__(false))
  32613. {
  32614. os__().writeUserException(ex__);
  32615. response__(false);
  32616. }
  32617. }
  32618. catch (_System.Exception ex__)
  32619. {
  32620. base.ice_exception(ex__);
  32621. }
  32622. }
  32623. }
  32624.  
  32625. /// <summary>
  32626. /// Fetch log entries.
  32627. /// </summary>
  32628. [_System.Runtime.InteropServices.ComVisible(false)]
  32629. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32630. public interface AMD_Server_getLog : Ice.AMDCallback
  32631. {
  32632. /// <summary>
  32633. /// ice_response indicates that
  32634. /// the operation completed successfully.
  32635. /// </summary>
  32636. /// <param name="ret__">(return value) List of log entries.</param>
  32637. void ice_response(Murmur.LogEntry[] ret__);
  32638. }
  32639.  
  32640. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32641. class _AMD_Server_getLog : IceInternal.IncomingAsync, AMD_Server_getLog
  32642. {
  32643. public _AMD_Server_getLog(IceInternal.Incoming inc) : base(inc)
  32644. {
  32645. }
  32646.  
  32647. public void ice_response(Murmur.LogEntry[] ret__)
  32648. {
  32649. if (validateResponse__(true))
  32650. {
  32651. try
  32652. {
  32653. IceInternal.BasicStream os__ = this.os__();
  32654. if (ret__ == null)
  32655. {
  32656. os__.writeSize(0);
  32657. }
  32658. else
  32659. {
  32660. os__.writeSize(ret__.Length);
  32661. for (int ix__ = 0; ix__ < ret__.Length; ++ix__)
  32662. {
  32663. (ret__[ix__] == null ? new Murmur.LogEntry() : ret__[ix__]).write__(os__);
  32664. }
  32665. }
  32666. }
  32667. catch (Ice.LocalException ex__)
  32668. {
  32669. ice_exception(ex__);
  32670. }
  32671. response__(true);
  32672. }
  32673. }
  32674.  
  32675. override public void ice_exception(_System.Exception ex)
  32676. {
  32677. try
  32678. {
  32679. throw ex;
  32680. }
  32681. catch (Murmur.InvalidSecretException ex__)
  32682. {
  32683. if (validateResponse__(false))
  32684. {
  32685. os__().writeUserException(ex__);
  32686. response__(false);
  32687. }
  32688. }
  32689. catch (_System.Exception ex__)
  32690. {
  32691. base.ice_exception(ex__);
  32692. }
  32693. }
  32694. }
  32695.  
  32696. /// <summary>
  32697. /// Fetch length of log
  32698. /// <returns>Number of entries in log
  32699. /// </returns>
  32700. /// </summary>
  32701. [_System.Runtime.InteropServices.ComVisible(false)]
  32702. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32703. public interface AMD_Server_getLogLen : Ice.AMDCallback
  32704. {
  32705. /// <summary>
  32706. /// ice_response indicates that
  32707. /// the operation completed successfully.
  32708. /// </summary>
  32709. void ice_response(int ret__);
  32710. }
  32711.  
  32712. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32713. class _AMD_Server_getLogLen : IceInternal.IncomingAsync, AMD_Server_getLogLen
  32714. {
  32715. public _AMD_Server_getLogLen(IceInternal.Incoming inc) : base(inc)
  32716. {
  32717. }
  32718.  
  32719. public void ice_response(int ret__)
  32720. {
  32721. if (validateResponse__(true))
  32722. {
  32723. try
  32724. {
  32725. IceInternal.BasicStream os__ = this.os__();
  32726. os__.writeInt(ret__);
  32727. }
  32728. catch (Ice.LocalException ex__)
  32729. {
  32730. ice_exception(ex__);
  32731. }
  32732. response__(true);
  32733. }
  32734. }
  32735.  
  32736. override public void ice_exception(_System.Exception ex)
  32737. {
  32738. try
  32739. {
  32740. throw ex;
  32741. }
  32742. catch (Murmur.InvalidSecretException ex__)
  32743. {
  32744. if (validateResponse__(false))
  32745. {
  32746. os__().writeUserException(ex__);
  32747. response__(false);
  32748. }
  32749. }
  32750. catch (_System.Exception ex__)
  32751. {
  32752. base.ice_exception(ex__);
  32753. }
  32754. }
  32755. }
  32756.  
  32757. /// <summary>
  32758. /// Fetch all users.
  32759. /// This returns all currently connected users on the server.
  32760. /// </summary>
  32761. [_System.Runtime.InteropServices.ComVisible(false)]
  32762. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32763. public interface AMD_Server_getUsers : Ice.AMDCallback
  32764. {
  32765. /// <summary>
  32766. /// ice_response indicates that
  32767. /// the operation completed successfully.
  32768. /// </summary>
  32769. /// <param name="ret__">(return value) List of connected users.
  32770. /// </param>
  32771. void ice_response(_System.Collections.Generic.Dictionary<int, Murmur.User> ret__);
  32772. }
  32773.  
  32774. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32775. class _AMD_Server_getUsers : IceInternal.IncomingAsync, AMD_Server_getUsers
  32776. {
  32777. public _AMD_Server_getUsers(IceInternal.Incoming inc) : base(inc)
  32778. {
  32779. }
  32780.  
  32781. public void ice_response(_System.Collections.Generic.Dictionary<int, Murmur.User> ret__)
  32782. {
  32783. if (validateResponse__(true))
  32784. {
  32785. try
  32786. {
  32787. IceInternal.BasicStream os__ = this.os__();
  32788. Murmur.UserMapHelper.write(os__, ret__);
  32789. }
  32790. catch (Ice.LocalException ex__)
  32791. {
  32792. ice_exception(ex__);
  32793. }
  32794. response__(true);
  32795. }
  32796. }
  32797.  
  32798. override public void ice_exception(_System.Exception ex)
  32799. {
  32800. try
  32801. {
  32802. throw ex;
  32803. }
  32804. catch (Murmur.InvalidSecretException ex__)
  32805. {
  32806. if (validateResponse__(false))
  32807. {
  32808. os__().writeUserException(ex__);
  32809. response__(false);
  32810. }
  32811. }
  32812. catch (Murmur.ServerBootedException ex__)
  32813. {
  32814. if (validateResponse__(false))
  32815. {
  32816. os__().writeUserException(ex__);
  32817. response__(false);
  32818. }
  32819. }
  32820. catch (_System.Exception ex__)
  32821. {
  32822. base.ice_exception(ex__);
  32823. }
  32824. }
  32825. }
  32826.  
  32827. /// <summary>
  32828. /// Fetch all channels.
  32829. /// This returns all defined channels on the server. The root channel is always channel 0.
  32830. /// </summary>
  32831. [_System.Runtime.InteropServices.ComVisible(false)]
  32832. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32833. public interface AMD_Server_getChannels : Ice.AMDCallback
  32834. {
  32835. /// <summary>
  32836. /// ice_response indicates that
  32837. /// the operation completed successfully.
  32838. /// </summary>
  32839. /// <param name="ret__">(return value) List of defined channels.
  32840. /// </param>
  32841. void ice_response(_System.Collections.Generic.Dictionary<int, Murmur.Channel> ret__);
  32842. }
  32843.  
  32844. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32845. class _AMD_Server_getChannels : IceInternal.IncomingAsync, AMD_Server_getChannels
  32846. {
  32847. public _AMD_Server_getChannels(IceInternal.Incoming inc) : base(inc)
  32848. {
  32849. }
  32850.  
  32851. public void ice_response(_System.Collections.Generic.Dictionary<int, Murmur.Channel> ret__)
  32852. {
  32853. if (validateResponse__(true))
  32854. {
  32855. try
  32856. {
  32857. IceInternal.BasicStream os__ = this.os__();
  32858. Murmur.ChannelMapHelper.write(os__, ret__);
  32859. }
  32860. catch (Ice.LocalException ex__)
  32861. {
  32862. ice_exception(ex__);
  32863. }
  32864. response__(true);
  32865. }
  32866. }
  32867.  
  32868. override public void ice_exception(_System.Exception ex)
  32869. {
  32870. try
  32871. {
  32872. throw ex;
  32873. }
  32874. catch (Murmur.InvalidSecretException ex__)
  32875. {
  32876. if (validateResponse__(false))
  32877. {
  32878. os__().writeUserException(ex__);
  32879. response__(false);
  32880. }
  32881. }
  32882. catch (Murmur.ServerBootedException ex__)
  32883. {
  32884. if (validateResponse__(false))
  32885. {
  32886. os__().writeUserException(ex__);
  32887. response__(false);
  32888. }
  32889. }
  32890. catch (_System.Exception ex__)
  32891. {
  32892. base.ice_exception(ex__);
  32893. }
  32894. }
  32895. }
  32896.  
  32897. /// <summary>
  32898. /// Fetch certificate of user.
  32899. /// This returns the complete certificate chain of a user.
  32900. /// </summary>
  32901. [_System.Runtime.InteropServices.ComVisible(false)]
  32902. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32903. public interface AMD_Server_getCertificateList : Ice.AMDCallback
  32904. {
  32905. /// <summary>
  32906. /// ice_response indicates that
  32907. /// the operation completed successfully.
  32908. /// </summary>
  32909. /// <param name="ret__">(return value) Certificate list of user.</param>
  32910. void ice_response(byte[][] ret__);
  32911. }
  32912.  
  32913. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32914. class _AMD_Server_getCertificateList : IceInternal.IncomingAsync, AMD_Server_getCertificateList
  32915. {
  32916. public _AMD_Server_getCertificateList(IceInternal.Incoming inc) : base(inc)
  32917. {
  32918. }
  32919.  
  32920. public void ice_response(byte[][] ret__)
  32921. {
  32922. if (validateResponse__(true))
  32923. {
  32924. try
  32925. {
  32926. IceInternal.BasicStream os__ = this.os__();
  32927. if (ret__ == null)
  32928. {
  32929. os__.writeSize(0);
  32930. }
  32931. else
  32932. {
  32933. os__.writeSize(ret__.Length);
  32934. for (int ix__ = 0; ix__ < ret__.Length; ++ix__)
  32935. {
  32936. Murmur.CertificateDerHelper.write(os__, ret__[ix__]);
  32937. }
  32938. }
  32939. }
  32940. catch (Ice.LocalException ex__)
  32941. {
  32942. ice_exception(ex__);
  32943. }
  32944. response__(true);
  32945. }
  32946. }
  32947.  
  32948. override public void ice_exception(_System.Exception ex)
  32949. {
  32950. try
  32951. {
  32952. throw ex;
  32953. }
  32954. catch (Murmur.InvalidSecretException ex__)
  32955. {
  32956. if (validateResponse__(false))
  32957. {
  32958. os__().writeUserException(ex__);
  32959. response__(false);
  32960. }
  32961. }
  32962. catch (Murmur.InvalidSessionException ex__)
  32963. {
  32964. if (validateResponse__(false))
  32965. {
  32966. os__().writeUserException(ex__);
  32967. response__(false);
  32968. }
  32969. }
  32970. catch (Murmur.ServerBootedException ex__)
  32971. {
  32972. if (validateResponse__(false))
  32973. {
  32974. os__().writeUserException(ex__);
  32975. response__(false);
  32976. }
  32977. }
  32978. catch (_System.Exception ex__)
  32979. {
  32980. base.ice_exception(ex__);
  32981. }
  32982. }
  32983. }
  32984.  
  32985. /// <summary>
  32986. /// Fetch all channels and connected users as a tree.
  32987. /// This retrieves an easy-to-use representation of the server
  32988. /// as a tree. This is primarily used for viewing the state of the server on a webpage.
  32989. /// </summary>
  32990. [_System.Runtime.InteropServices.ComVisible(false)]
  32991. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  32992. public interface AMD_Server_getTree : Ice.AMDCallback
  32993. {
  32994. /// <summary>
  32995. /// ice_response indicates that
  32996. /// the operation completed successfully.
  32997. /// </summary>
  32998. /// <param name="ret__">(return value) Recursive tree of all channels and connected users.</param>
  32999. void ice_response(Murmur.Tree ret__);
  33000. }
  33001.  
  33002. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33003. class _AMD_Server_getTree : IceInternal.IncomingAsync, AMD_Server_getTree
  33004. {
  33005. public _AMD_Server_getTree(IceInternal.Incoming inc) : base(inc)
  33006. {
  33007. }
  33008.  
  33009. public void ice_response(Murmur.Tree ret__)
  33010. {
  33011. if (validateResponse__(true))
  33012. {
  33013. try
  33014. {
  33015. IceInternal.BasicStream os__ = this.os__();
  33016. os__.writeObject(ret__);
  33017. os__.writePendingObjects();
  33018. }
  33019. catch (Ice.LocalException ex__)
  33020. {
  33021. ice_exception(ex__);
  33022. }
  33023. response__(true);
  33024. }
  33025. }
  33026.  
  33027. override public void ice_exception(_System.Exception ex)
  33028. {
  33029. try
  33030. {
  33031. throw ex;
  33032. }
  33033. catch (Murmur.InvalidSecretException ex__)
  33034. {
  33035. if (validateResponse__(false))
  33036. {
  33037. os__().writeUserException(ex__);
  33038. response__(false);
  33039. }
  33040. }
  33041. catch (Murmur.ServerBootedException ex__)
  33042. {
  33043. if (validateResponse__(false))
  33044. {
  33045. os__().writeUserException(ex__);
  33046. response__(false);
  33047. }
  33048. }
  33049. catch (_System.Exception ex__)
  33050. {
  33051. base.ice_exception(ex__);
  33052. }
  33053. }
  33054. }
  33055.  
  33056. /// <summary>
  33057. /// Fetch all current IP bans on the server.
  33058. /// </summary>
  33059. [_System.Runtime.InteropServices.ComVisible(false)]
  33060. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33061. public interface AMD_Server_getBans : Ice.AMDCallback
  33062. {
  33063. /// <summary>
  33064. /// ice_response indicates that
  33065. /// the operation completed successfully.
  33066. /// </summary>
  33067. /// <param name="ret__">(return value) List of bans.</param>
  33068. void ice_response(Murmur.Ban[] ret__);
  33069. }
  33070.  
  33071. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33072. class _AMD_Server_getBans : IceInternal.IncomingAsync, AMD_Server_getBans
  33073. {
  33074. public _AMD_Server_getBans(IceInternal.Incoming inc) : base(inc)
  33075. {
  33076. }
  33077.  
  33078. public void ice_response(Murmur.Ban[] ret__)
  33079. {
  33080. if (validateResponse__(true))
  33081. {
  33082. try
  33083. {
  33084. IceInternal.BasicStream os__ = this.os__();
  33085. if (ret__ == null)
  33086. {
  33087. os__.writeSize(0);
  33088. }
  33089. else
  33090. {
  33091. os__.writeSize(ret__.Length);
  33092. for (int ix__ = 0; ix__ < ret__.Length; ++ix__)
  33093. {
  33094. (ret__[ix__] == null ? new Murmur.Ban() : ret__[ix__]).write__(os__);
  33095. }
  33096. }
  33097. }
  33098. catch (Ice.LocalException ex__)
  33099. {
  33100. ice_exception(ex__);
  33101. }
  33102. response__(true);
  33103. }
  33104. }
  33105.  
  33106. override public void ice_exception(_System.Exception ex)
  33107. {
  33108. try
  33109. {
  33110. throw ex;
  33111. }
  33112. catch (Murmur.InvalidSecretException ex__)
  33113. {
  33114. if (validateResponse__(false))
  33115. {
  33116. os__().writeUserException(ex__);
  33117. response__(false);
  33118. }
  33119. }
  33120. catch (Murmur.ServerBootedException ex__)
  33121. {
  33122. if (validateResponse__(false))
  33123. {
  33124. os__().writeUserException(ex__);
  33125. response__(false);
  33126. }
  33127. }
  33128. catch (_System.Exception ex__)
  33129. {
  33130. base.ice_exception(ex__);
  33131. }
  33132. }
  33133. }
  33134.  
  33135. /// <summary>
  33136. /// Set all current IP bans on the server.
  33137. /// This will replace any bans already present, so if you want to add a ban, be sure to call getBans and then
  33138. /// append to the returned list before calling this method.
  33139. /// </summary>
  33140. [_System.Runtime.InteropServices.ComVisible(false)]
  33141. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33142. public interface AMD_Server_setBans : Ice.AMDCallback
  33143. {
  33144. /// <summary>
  33145. /// ice_response indicates that
  33146. /// the operation completed successfully.
  33147. /// </summary>
  33148. void ice_response();
  33149. }
  33150.  
  33151. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33152. class _AMD_Server_setBans : IceInternal.IncomingAsync, AMD_Server_setBans
  33153. {
  33154. public _AMD_Server_setBans(IceInternal.Incoming inc) : base(inc)
  33155. {
  33156. }
  33157.  
  33158. public void ice_response()
  33159. {
  33160. if (validateResponse__(true))
  33161. {
  33162. response__(true);
  33163. }
  33164. }
  33165.  
  33166. override public void ice_exception(_System.Exception ex)
  33167. {
  33168. try
  33169. {
  33170. throw ex;
  33171. }
  33172. catch (Murmur.InvalidSecretException ex__)
  33173. {
  33174. if (validateResponse__(false))
  33175. {
  33176. os__().writeUserException(ex__);
  33177. response__(false);
  33178. }
  33179. }
  33180. catch (Murmur.ServerBootedException ex__)
  33181. {
  33182. if (validateResponse__(false))
  33183. {
  33184. os__().writeUserException(ex__);
  33185. response__(false);
  33186. }
  33187. }
  33188. catch (_System.Exception ex__)
  33189. {
  33190. base.ice_exception(ex__);
  33191. }
  33192. }
  33193. }
  33194.  
  33195. /// <summary>
  33196. /// Kick a user.
  33197. /// The user is not banned, and is free to rejoin the server.
  33198. /// </summary>
  33199. [_System.Runtime.InteropServices.ComVisible(false)]
  33200. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33201. public interface AMD_Server_kickUser : Ice.AMDCallback
  33202. {
  33203. /// <summary>
  33204. /// ice_response indicates that
  33205. /// the operation completed successfully.
  33206. /// </summary>
  33207. void ice_response();
  33208. }
  33209.  
  33210. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33211. class _AMD_Server_kickUser : IceInternal.IncomingAsync, AMD_Server_kickUser
  33212. {
  33213. public _AMD_Server_kickUser(IceInternal.Incoming inc) : base(inc)
  33214. {
  33215. }
  33216.  
  33217. public void ice_response()
  33218. {
  33219. if (validateResponse__(true))
  33220. {
  33221. response__(true);
  33222. }
  33223. }
  33224.  
  33225. override public void ice_exception(_System.Exception ex)
  33226. {
  33227. try
  33228. {
  33229. throw ex;
  33230. }
  33231. catch (Murmur.InvalidSecretException ex__)
  33232. {
  33233. if (validateResponse__(false))
  33234. {
  33235. os__().writeUserException(ex__);
  33236. response__(false);
  33237. }
  33238. }
  33239. catch (Murmur.InvalidSessionException ex__)
  33240. {
  33241. if (validateResponse__(false))
  33242. {
  33243. os__().writeUserException(ex__);
  33244. response__(false);
  33245. }
  33246. }
  33247. catch (Murmur.ServerBootedException ex__)
  33248. {
  33249. if (validateResponse__(false))
  33250. {
  33251. os__().writeUserException(ex__);
  33252. response__(false);
  33253. }
  33254. }
  33255. catch (_System.Exception ex__)
  33256. {
  33257. base.ice_exception(ex__);
  33258. }
  33259. }
  33260. }
  33261.  
  33262. /// <summary>
  33263. /// Get state of a single connected user.
  33264. /// </summary>
  33265. [_System.Runtime.InteropServices.ComVisible(false)]
  33266. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33267. public interface AMD_Server_getState : Ice.AMDCallback
  33268. {
  33269. /// <summary>
  33270. /// ice_response indicates that
  33271. /// the operation completed successfully.
  33272. /// </summary>
  33273. /// <param name="ret__">(return value) State of connected user.
  33274. /// </param>
  33275. void ice_response(Murmur.User ret__);
  33276. }
  33277.  
  33278. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33279. class _AMD_Server_getState : IceInternal.IncomingAsync, AMD_Server_getState
  33280. {
  33281. public _AMD_Server_getState(IceInternal.Incoming inc) : base(inc)
  33282. {
  33283. }
  33284.  
  33285. public void ice_response(Murmur.User ret__)
  33286. {
  33287. if (validateResponse__(true))
  33288. {
  33289. try
  33290. {
  33291. IceInternal.BasicStream os__ = this.os__();
  33292. if (ret__ == null)
  33293. {
  33294. Murmur.User tmp__ = new Murmur.User();
  33295. tmp__.write__(os__);
  33296. }
  33297. else
  33298. {
  33299. ret__.write__(os__);
  33300. }
  33301. }
  33302. catch (Ice.LocalException ex__)
  33303. {
  33304. ice_exception(ex__);
  33305. }
  33306. response__(true);
  33307. }
  33308. }
  33309.  
  33310. override public void ice_exception(_System.Exception ex)
  33311. {
  33312. try
  33313. {
  33314. throw ex;
  33315. }
  33316. catch (Murmur.InvalidSecretException ex__)
  33317. {
  33318. if (validateResponse__(false))
  33319. {
  33320. os__().writeUserException(ex__);
  33321. response__(false);
  33322. }
  33323. }
  33324. catch (Murmur.InvalidSessionException ex__)
  33325. {
  33326. if (validateResponse__(false))
  33327. {
  33328. os__().writeUserException(ex__);
  33329. response__(false);
  33330. }
  33331. }
  33332. catch (Murmur.ServerBootedException ex__)
  33333. {
  33334. if (validateResponse__(false))
  33335. {
  33336. os__().writeUserException(ex__);
  33337. response__(false);
  33338. }
  33339. }
  33340. catch (_System.Exception ex__)
  33341. {
  33342. base.ice_exception(ex__);
  33343. }
  33344. }
  33345. }
  33346.  
  33347. /// <summary>
  33348. /// Set user state.
  33349. /// You can use this to move, mute and deafen users.
  33350. /// </summary>
  33351. [_System.Runtime.InteropServices.ComVisible(false)]
  33352. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33353. public interface AMD_Server_setState : Ice.AMDCallback
  33354. {
  33355. /// <summary>
  33356. /// ice_response indicates that
  33357. /// the operation completed successfully.
  33358. /// </summary>
  33359. void ice_response();
  33360. }
  33361.  
  33362. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33363. class _AMD_Server_setState : IceInternal.IncomingAsync, AMD_Server_setState
  33364. {
  33365. public _AMD_Server_setState(IceInternal.Incoming inc) : base(inc)
  33366. {
  33367. }
  33368.  
  33369. public void ice_response()
  33370. {
  33371. if (validateResponse__(true))
  33372. {
  33373. response__(true);
  33374. }
  33375. }
  33376.  
  33377. override public void ice_exception(_System.Exception ex)
  33378. {
  33379. try
  33380. {
  33381. throw ex;
  33382. }
  33383. catch (Murmur.InvalidChannelException ex__)
  33384. {
  33385. if (validateResponse__(false))
  33386. {
  33387. os__().writeUserException(ex__);
  33388. response__(false);
  33389. }
  33390. }
  33391. catch (Murmur.InvalidSecretException ex__)
  33392. {
  33393. if (validateResponse__(false))
  33394. {
  33395. os__().writeUserException(ex__);
  33396. response__(false);
  33397. }
  33398. }
  33399. catch (Murmur.InvalidSessionException ex__)
  33400. {
  33401. if (validateResponse__(false))
  33402. {
  33403. os__().writeUserException(ex__);
  33404. response__(false);
  33405. }
  33406. }
  33407. catch (Murmur.ServerBootedException ex__)
  33408. {
  33409. if (validateResponse__(false))
  33410. {
  33411. os__().writeUserException(ex__);
  33412. response__(false);
  33413. }
  33414. }
  33415. catch (_System.Exception ex__)
  33416. {
  33417. base.ice_exception(ex__);
  33418. }
  33419. }
  33420. }
  33421.  
  33422. /// <summary>
  33423. /// Send text message to a single user.
  33424. /// </summary>
  33425. [_System.Runtime.InteropServices.ComVisible(false)]
  33426. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33427. public interface AMD_Server_sendMessage : Ice.AMDCallback
  33428. {
  33429. /// <summary>
  33430. /// ice_response indicates that
  33431. /// the operation completed successfully.
  33432. /// </summary>
  33433. void ice_response();
  33434. }
  33435.  
  33436. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33437. class _AMD_Server_sendMessage : IceInternal.IncomingAsync, AMD_Server_sendMessage
  33438. {
  33439. public _AMD_Server_sendMessage(IceInternal.Incoming inc) : base(inc)
  33440. {
  33441. }
  33442.  
  33443. public void ice_response()
  33444. {
  33445. if (validateResponse__(true))
  33446. {
  33447. response__(true);
  33448. }
  33449. }
  33450.  
  33451. override public void ice_exception(_System.Exception ex)
  33452. {
  33453. try
  33454. {
  33455. throw ex;
  33456. }
  33457. catch (Murmur.InvalidSecretException ex__)
  33458. {
  33459. if (validateResponse__(false))
  33460. {
  33461. os__().writeUserException(ex__);
  33462. response__(false);
  33463. }
  33464. }
  33465. catch (Murmur.InvalidSessionException ex__)
  33466. {
  33467. if (validateResponse__(false))
  33468. {
  33469. os__().writeUserException(ex__);
  33470. response__(false);
  33471. }
  33472. }
  33473. catch (Murmur.ServerBootedException ex__)
  33474. {
  33475. if (validateResponse__(false))
  33476. {
  33477. os__().writeUserException(ex__);
  33478. response__(false);
  33479. }
  33480. }
  33481. catch (_System.Exception ex__)
  33482. {
  33483. base.ice_exception(ex__);
  33484. }
  33485. }
  33486. }
  33487.  
  33488. /// <summary>
  33489. /// Check if user is permitted to perform action.
  33490. /// </summary>
  33491. [_System.Runtime.InteropServices.ComVisible(false)]
  33492. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33493. public interface AMD_Server_hasPermission : Ice.AMDCallback
  33494. {
  33495. /// <summary>
  33496. /// ice_response indicates that
  33497. /// the operation completed successfully.
  33498. /// </summary>
  33499. /// <param name="ret__">(return value) true if any of the permissions in perm were set for the user.</param>
  33500. void ice_response(bool ret__);
  33501. }
  33502.  
  33503. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33504. class _AMD_Server_hasPermission : IceInternal.IncomingAsync, AMD_Server_hasPermission
  33505. {
  33506. public _AMD_Server_hasPermission(IceInternal.Incoming inc) : base(inc)
  33507. {
  33508. }
  33509.  
  33510. public void ice_response(bool ret__)
  33511. {
  33512. if (validateResponse__(true))
  33513. {
  33514. try
  33515. {
  33516. IceInternal.BasicStream os__ = this.os__();
  33517. os__.writeBool(ret__);
  33518. }
  33519. catch (Ice.LocalException ex__)
  33520. {
  33521. ice_exception(ex__);
  33522. }
  33523. response__(true);
  33524. }
  33525. }
  33526.  
  33527. override public void ice_exception(_System.Exception ex)
  33528. {
  33529. try
  33530. {
  33531. throw ex;
  33532. }
  33533. catch (Murmur.InvalidChannelException ex__)
  33534. {
  33535. if (validateResponse__(false))
  33536. {
  33537. os__().writeUserException(ex__);
  33538. response__(false);
  33539. }
  33540. }
  33541. catch (Murmur.InvalidSecretException ex__)
  33542. {
  33543. if (validateResponse__(false))
  33544. {
  33545. os__().writeUserException(ex__);
  33546. response__(false);
  33547. }
  33548. }
  33549. catch (Murmur.InvalidSessionException ex__)
  33550. {
  33551. if (validateResponse__(false))
  33552. {
  33553. os__().writeUserException(ex__);
  33554. response__(false);
  33555. }
  33556. }
  33557. catch (Murmur.ServerBootedException ex__)
  33558. {
  33559. if (validateResponse__(false))
  33560. {
  33561. os__().writeUserException(ex__);
  33562. response__(false);
  33563. }
  33564. }
  33565. catch (_System.Exception ex__)
  33566. {
  33567. base.ice_exception(ex__);
  33568. }
  33569. }
  33570. }
  33571.  
  33572. /// <summary>
  33573. /// Return users effective permissions
  33574. /// <param name="session">Connection ID of user.</param>
  33575. /// See User.session.
  33576. /// </summary>
  33577. [_System.Runtime.InteropServices.ComVisible(false)]
  33578. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33579. public interface AMD_Server_effectivePermissions : Ice.AMDCallback
  33580. {
  33581. /// <summary>
  33582. /// ice_response indicates that
  33583. /// the operation completed successfully.
  33584. /// </summary>
  33585. /// <param name="ret__">(return value) bitfield of allowed actions</param>
  33586. void ice_response(int ret__);
  33587. }
  33588.  
  33589. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33590. class _AMD_Server_effectivePermissions : IceInternal.IncomingAsync, AMD_Server_effectivePermissions
  33591. {
  33592. public _AMD_Server_effectivePermissions(IceInternal.Incoming inc) : base(inc)
  33593. {
  33594. }
  33595.  
  33596. public void ice_response(int ret__)
  33597. {
  33598. if (validateResponse__(true))
  33599. {
  33600. try
  33601. {
  33602. IceInternal.BasicStream os__ = this.os__();
  33603. os__.writeInt(ret__);
  33604. }
  33605. catch (Ice.LocalException ex__)
  33606. {
  33607. ice_exception(ex__);
  33608. }
  33609. response__(true);
  33610. }
  33611. }
  33612.  
  33613. override public void ice_exception(_System.Exception ex)
  33614. {
  33615. try
  33616. {
  33617. throw ex;
  33618. }
  33619. catch (Murmur.InvalidChannelException ex__)
  33620. {
  33621. if (validateResponse__(false))
  33622. {
  33623. os__().writeUserException(ex__);
  33624. response__(false);
  33625. }
  33626. }
  33627. catch (Murmur.InvalidSecretException ex__)
  33628. {
  33629. if (validateResponse__(false))
  33630. {
  33631. os__().writeUserException(ex__);
  33632. response__(false);
  33633. }
  33634. }
  33635. catch (Murmur.InvalidSessionException ex__)
  33636. {
  33637. if (validateResponse__(false))
  33638. {
  33639. os__().writeUserException(ex__);
  33640. response__(false);
  33641. }
  33642. }
  33643. catch (Murmur.ServerBootedException ex__)
  33644. {
  33645. if (validateResponse__(false))
  33646. {
  33647. os__().writeUserException(ex__);
  33648. response__(false);
  33649. }
  33650. }
  33651. catch (_System.Exception ex__)
  33652. {
  33653. base.ice_exception(ex__);
  33654. }
  33655. }
  33656. }
  33657.  
  33658. /// <summary>
  33659. /// Add a context callback.
  33660. /// This is done per user, and will add a context menu action for the user.
  33661. ///
  33662. /// </summary>
  33663. [_System.Runtime.InteropServices.ComVisible(false)]
  33664. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33665. public interface AMD_Server_addContextCallback : Ice.AMDCallback
  33666. {
  33667. /// <summary>
  33668. /// ice_response indicates that
  33669. /// the operation completed successfully.
  33670. /// </summary>
  33671. void ice_response();
  33672. }
  33673.  
  33674. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33675. class _AMD_Server_addContextCallback : IceInternal.IncomingAsync, AMD_Server_addContextCallback
  33676. {
  33677. public _AMD_Server_addContextCallback(IceInternal.Incoming inc) : base(inc)
  33678. {
  33679. }
  33680.  
  33681. public void ice_response()
  33682. {
  33683. if (validateResponse__(true))
  33684. {
  33685. response__(true);
  33686. }
  33687. }
  33688.  
  33689. override public void ice_exception(_System.Exception ex)
  33690. {
  33691. try
  33692. {
  33693. throw ex;
  33694. }
  33695. catch (Murmur.InvalidCallbackException ex__)
  33696. {
  33697. if (validateResponse__(false))
  33698. {
  33699. os__().writeUserException(ex__);
  33700. response__(false);
  33701. }
  33702. }
  33703. catch (Murmur.InvalidSecretException ex__)
  33704. {
  33705. if (validateResponse__(false))
  33706. {
  33707. os__().writeUserException(ex__);
  33708. response__(false);
  33709. }
  33710. }
  33711. catch (Murmur.ServerBootedException ex__)
  33712. {
  33713. if (validateResponse__(false))
  33714. {
  33715. os__().writeUserException(ex__);
  33716. response__(false);
  33717. }
  33718. }
  33719. catch (_System.Exception ex__)
  33720. {
  33721. base.ice_exception(ex__);
  33722. }
  33723. }
  33724. }
  33725.  
  33726. /// <summary>
  33727. /// Remove a callback.
  33728. /// </summary>
  33729. [_System.Runtime.InteropServices.ComVisible(false)]
  33730. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33731. public interface AMD_Server_removeContextCallback : Ice.AMDCallback
  33732. {
  33733. /// <summary>
  33734. /// ice_response indicates that
  33735. /// the operation completed successfully.
  33736. /// </summary>
  33737. void ice_response();
  33738. }
  33739.  
  33740. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33741. class _AMD_Server_removeContextCallback : IceInternal.IncomingAsync, AMD_Server_removeContextCallback
  33742. {
  33743. public _AMD_Server_removeContextCallback(IceInternal.Incoming inc) : base(inc)
  33744. {
  33745. }
  33746.  
  33747. public void ice_response()
  33748. {
  33749. if (validateResponse__(true))
  33750. {
  33751. response__(true);
  33752. }
  33753. }
  33754.  
  33755. override public void ice_exception(_System.Exception ex)
  33756. {
  33757. try
  33758. {
  33759. throw ex;
  33760. }
  33761. catch (Murmur.InvalidCallbackException ex__)
  33762. {
  33763. if (validateResponse__(false))
  33764. {
  33765. os__().writeUserException(ex__);
  33766. response__(false);
  33767. }
  33768. }
  33769. catch (Murmur.InvalidSecretException ex__)
  33770. {
  33771. if (validateResponse__(false))
  33772. {
  33773. os__().writeUserException(ex__);
  33774. response__(false);
  33775. }
  33776. }
  33777. catch (Murmur.ServerBootedException ex__)
  33778. {
  33779. if (validateResponse__(false))
  33780. {
  33781. os__().writeUserException(ex__);
  33782. response__(false);
  33783. }
  33784. }
  33785. catch (_System.Exception ex__)
  33786. {
  33787. base.ice_exception(ex__);
  33788. }
  33789. }
  33790. }
  33791.  
  33792. /// <summary>
  33793. /// Get state of single channel.
  33794. /// </summary>
  33795. [_System.Runtime.InteropServices.ComVisible(false)]
  33796. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33797. public interface AMD_Server_getChannelState : Ice.AMDCallback
  33798. {
  33799. /// <summary>
  33800. /// ice_response indicates that
  33801. /// the operation completed successfully.
  33802. /// </summary>
  33803. /// <param name="ret__">(return value) State of channel.
  33804. /// </param>
  33805. void ice_response(Murmur.Channel ret__);
  33806. }
  33807.  
  33808. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33809. class _AMD_Server_getChannelState : IceInternal.IncomingAsync, AMD_Server_getChannelState
  33810. {
  33811. public _AMD_Server_getChannelState(IceInternal.Incoming inc) : base(inc)
  33812. {
  33813. }
  33814.  
  33815. public void ice_response(Murmur.Channel ret__)
  33816. {
  33817. if (validateResponse__(true))
  33818. {
  33819. try
  33820. {
  33821. IceInternal.BasicStream os__ = this.os__();
  33822. if (ret__ == null)
  33823. {
  33824. Murmur.Channel tmp__ = new Murmur.Channel();
  33825. tmp__.write__(os__);
  33826. }
  33827. else
  33828. {
  33829. ret__.write__(os__);
  33830. }
  33831. }
  33832. catch (Ice.LocalException ex__)
  33833. {
  33834. ice_exception(ex__);
  33835. }
  33836. response__(true);
  33837. }
  33838. }
  33839.  
  33840. override public void ice_exception(_System.Exception ex)
  33841. {
  33842. try
  33843. {
  33844. throw ex;
  33845. }
  33846. catch (Murmur.InvalidChannelException ex__)
  33847. {
  33848. if (validateResponse__(false))
  33849. {
  33850. os__().writeUserException(ex__);
  33851. response__(false);
  33852. }
  33853. }
  33854. catch (Murmur.InvalidSecretException ex__)
  33855. {
  33856. if (validateResponse__(false))
  33857. {
  33858. os__().writeUserException(ex__);
  33859. response__(false);
  33860. }
  33861. }
  33862. catch (Murmur.ServerBootedException ex__)
  33863. {
  33864. if (validateResponse__(false))
  33865. {
  33866. os__().writeUserException(ex__);
  33867. response__(false);
  33868. }
  33869. }
  33870. catch (_System.Exception ex__)
  33871. {
  33872. base.ice_exception(ex__);
  33873. }
  33874. }
  33875. }
  33876.  
  33877. /// <summary>
  33878. /// Set state of a single channel.
  33879. /// You can use this to move or relink channels.
  33880. /// </summary>
  33881. [_System.Runtime.InteropServices.ComVisible(false)]
  33882. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33883. public interface AMD_Server_setChannelState : Ice.AMDCallback
  33884. {
  33885. /// <summary>
  33886. /// ice_response indicates that
  33887. /// the operation completed successfully.
  33888. /// </summary>
  33889. void ice_response();
  33890. }
  33891.  
  33892. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33893. class _AMD_Server_setChannelState : IceInternal.IncomingAsync, AMD_Server_setChannelState
  33894. {
  33895. public _AMD_Server_setChannelState(IceInternal.Incoming inc) : base(inc)
  33896. {
  33897. }
  33898.  
  33899. public void ice_response()
  33900. {
  33901. if (validateResponse__(true))
  33902. {
  33903. response__(true);
  33904. }
  33905. }
  33906.  
  33907. override public void ice_exception(_System.Exception ex)
  33908. {
  33909. try
  33910. {
  33911. throw ex;
  33912. }
  33913. catch (Murmur.InvalidChannelException ex__)
  33914. {
  33915. if (validateResponse__(false))
  33916. {
  33917. os__().writeUserException(ex__);
  33918. response__(false);
  33919. }
  33920. }
  33921. catch (Murmur.InvalidSecretException ex__)
  33922. {
  33923. if (validateResponse__(false))
  33924. {
  33925. os__().writeUserException(ex__);
  33926. response__(false);
  33927. }
  33928. }
  33929. catch (Murmur.NestingLimitException ex__)
  33930. {
  33931. if (validateResponse__(false))
  33932. {
  33933. os__().writeUserException(ex__);
  33934. response__(false);
  33935. }
  33936. }
  33937. catch (Murmur.ServerBootedException ex__)
  33938. {
  33939. if (validateResponse__(false))
  33940. {
  33941. os__().writeUserException(ex__);
  33942. response__(false);
  33943. }
  33944. }
  33945. catch (_System.Exception ex__)
  33946. {
  33947. base.ice_exception(ex__);
  33948. }
  33949. }
  33950. }
  33951.  
  33952. /// <summary>
  33953. /// Remove a channel and all its subchannels.
  33954. /// </summary>
  33955. [_System.Runtime.InteropServices.ComVisible(false)]
  33956. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33957. public interface AMD_Server_removeChannel : Ice.AMDCallback
  33958. {
  33959. /// <summary>
  33960. /// ice_response indicates that
  33961. /// the operation completed successfully.
  33962. /// </summary>
  33963. void ice_response();
  33964. }
  33965.  
  33966. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  33967. class _AMD_Server_removeChannel : IceInternal.IncomingAsync, AMD_Server_removeChannel
  33968. {
  33969. public _AMD_Server_removeChannel(IceInternal.Incoming inc) : base(inc)
  33970. {
  33971. }
  33972.  
  33973. public void ice_response()
  33974. {
  33975. if (validateResponse__(true))
  33976. {
  33977. response__(true);
  33978. }
  33979. }
  33980.  
  33981. override public void ice_exception(_System.Exception ex)
  33982. {
  33983. try
  33984. {
  33985. throw ex;
  33986. }
  33987. catch (Murmur.InvalidChannelException ex__)
  33988. {
  33989. if (validateResponse__(false))
  33990. {
  33991. os__().writeUserException(ex__);
  33992. response__(false);
  33993. }
  33994. }
  33995. catch (Murmur.InvalidSecretException ex__)
  33996. {
  33997. if (validateResponse__(false))
  33998. {
  33999. os__().writeUserException(ex__);
  34000. response__(false);
  34001. }
  34002. }
  34003. catch (Murmur.ServerBootedException ex__)
  34004. {
  34005. if (validateResponse__(false))
  34006. {
  34007. os__().writeUserException(ex__);
  34008. response__(false);
  34009. }
  34010. }
  34011. catch (_System.Exception ex__)
  34012. {
  34013. base.ice_exception(ex__);
  34014. }
  34015. }
  34016. }
  34017.  
  34018. /// <summary>
  34019. /// Add a new channel.
  34020. /// </summary>
  34021. [_System.Runtime.InteropServices.ComVisible(false)]
  34022. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34023. public interface AMD_Server_addChannel : Ice.AMDCallback
  34024. {
  34025. /// <summary>
  34026. /// ice_response indicates that
  34027. /// the operation completed successfully.
  34028. /// </summary>
  34029. /// <param name="ret__">(return value) ID of newly created channel.</param>
  34030. void ice_response(int ret__);
  34031. }
  34032.  
  34033. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34034. class _AMD_Server_addChannel : IceInternal.IncomingAsync, AMD_Server_addChannel
  34035. {
  34036. public _AMD_Server_addChannel(IceInternal.Incoming inc) : base(inc)
  34037. {
  34038. }
  34039.  
  34040. public void ice_response(int ret__)
  34041. {
  34042. if (validateResponse__(true))
  34043. {
  34044. try
  34045. {
  34046. IceInternal.BasicStream os__ = this.os__();
  34047. os__.writeInt(ret__);
  34048. }
  34049. catch (Ice.LocalException ex__)
  34050. {
  34051. ice_exception(ex__);
  34052. }
  34053. response__(true);
  34054. }
  34055. }
  34056.  
  34057. override public void ice_exception(_System.Exception ex)
  34058. {
  34059. try
  34060. {
  34061. throw ex;
  34062. }
  34063. catch (Murmur.InvalidChannelException ex__)
  34064. {
  34065. if (validateResponse__(false))
  34066. {
  34067. os__().writeUserException(ex__);
  34068. response__(false);
  34069. }
  34070. }
  34071. catch (Murmur.InvalidSecretException ex__)
  34072. {
  34073. if (validateResponse__(false))
  34074. {
  34075. os__().writeUserException(ex__);
  34076. response__(false);
  34077. }
  34078. }
  34079. catch (Murmur.NestingLimitException ex__)
  34080. {
  34081. if (validateResponse__(false))
  34082. {
  34083. os__().writeUserException(ex__);
  34084. response__(false);
  34085. }
  34086. }
  34087. catch (Murmur.ServerBootedException ex__)
  34088. {
  34089. if (validateResponse__(false))
  34090. {
  34091. os__().writeUserException(ex__);
  34092. response__(false);
  34093. }
  34094. }
  34095. catch (_System.Exception ex__)
  34096. {
  34097. base.ice_exception(ex__);
  34098. }
  34099. }
  34100. }
  34101.  
  34102. /// <summary>
  34103. /// Send text message to channel or a tree of channels.
  34104. /// </summary>
  34105. [_System.Runtime.InteropServices.ComVisible(false)]
  34106. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34107. public interface AMD_Server_sendMessageChannel : Ice.AMDCallback
  34108. {
  34109. /// <summary>
  34110. /// ice_response indicates that
  34111. /// the operation completed successfully.
  34112. /// </summary>
  34113. void ice_response();
  34114. }
  34115.  
  34116. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34117. class _AMD_Server_sendMessageChannel : IceInternal.IncomingAsync, AMD_Server_sendMessageChannel
  34118. {
  34119. public _AMD_Server_sendMessageChannel(IceInternal.Incoming inc) : base(inc)
  34120. {
  34121. }
  34122.  
  34123. public void ice_response()
  34124. {
  34125. if (validateResponse__(true))
  34126. {
  34127. response__(true);
  34128. }
  34129. }
  34130.  
  34131. override public void ice_exception(_System.Exception ex)
  34132. {
  34133. try
  34134. {
  34135. throw ex;
  34136. }
  34137. catch (Murmur.InvalidChannelException ex__)
  34138. {
  34139. if (validateResponse__(false))
  34140. {
  34141. os__().writeUserException(ex__);
  34142. response__(false);
  34143. }
  34144. }
  34145. catch (Murmur.InvalidSecretException ex__)
  34146. {
  34147. if (validateResponse__(false))
  34148. {
  34149. os__().writeUserException(ex__);
  34150. response__(false);
  34151. }
  34152. }
  34153. catch (Murmur.ServerBootedException ex__)
  34154. {
  34155. if (validateResponse__(false))
  34156. {
  34157. os__().writeUserException(ex__);
  34158. response__(false);
  34159. }
  34160. }
  34161. catch (_System.Exception ex__)
  34162. {
  34163. base.ice_exception(ex__);
  34164. }
  34165. }
  34166. }
  34167.  
  34168. /// <summary>
  34169. /// Retrieve ACLs and Groups on a channel.
  34170. /// </summary>
  34171. [_System.Runtime.InteropServices.ComVisible(false)]
  34172. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34173. public interface AMD_Server_getACL : Ice.AMDCallback
  34174. {
  34175. /// <summary>
  34176. /// ice_response indicates that
  34177. /// the operation completed successfully.
  34178. /// </summary>
  34179. /// <param name="acls">List of ACLs on the channel. This will include inherited ACLs.
  34180. /// </param>
  34181. /// <param name="groups">List of groups on the channel. This will include inherited groups.
  34182. /// </param>
  34183. /// <param name="inherit">Does this channel inherit ACLs from the parent channel?</param>
  34184. void ice_response(Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit);
  34185. }
  34186.  
  34187. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34188. class _AMD_Server_getACL : IceInternal.IncomingAsync, AMD_Server_getACL
  34189. {
  34190. public _AMD_Server_getACL(IceInternal.Incoming inc) : base(inc)
  34191. {
  34192. }
  34193.  
  34194. public void ice_response(Murmur.ACL[] acls, Murmur.Group[] groups, bool inherit)
  34195. {
  34196. if (validateResponse__(true))
  34197. {
  34198. try
  34199. {
  34200. IceInternal.BasicStream os__ = this.os__();
  34201. if (acls == null)
  34202. {
  34203. os__.writeSize(0);
  34204. }
  34205. else
  34206. {
  34207. os__.writeSize(acls.Length);
  34208. for (int ix__ = 0; ix__ < acls.Length; ++ix__)
  34209. {
  34210. (acls[ix__] == null ? new Murmur.ACL() : acls[ix__]).write__(os__);
  34211. }
  34212. }
  34213. if (groups == null)
  34214. {
  34215. os__.writeSize(0);
  34216. }
  34217. else
  34218. {
  34219. os__.writeSize(groups.Length);
  34220. for (int ix__ = 0; ix__ < groups.Length; ++ix__)
  34221. {
  34222. (groups[ix__] == null ? new Murmur.Group() : groups[ix__]).write__(os__);
  34223. }
  34224. }
  34225. os__.writeBool(inherit);
  34226. }
  34227. catch (Ice.LocalException ex__)
  34228. {
  34229. ice_exception(ex__);
  34230. }
  34231. response__(true);
  34232. }
  34233. }
  34234.  
  34235. override public void ice_exception(_System.Exception ex)
  34236. {
  34237. try
  34238. {
  34239. throw ex;
  34240. }
  34241. catch (Murmur.InvalidChannelException ex__)
  34242. {
  34243. if (validateResponse__(false))
  34244. {
  34245. os__().writeUserException(ex__);
  34246. response__(false);
  34247. }
  34248. }
  34249. catch (Murmur.InvalidSecretException ex__)
  34250. {
  34251. if (validateResponse__(false))
  34252. {
  34253. os__().writeUserException(ex__);
  34254. response__(false);
  34255. }
  34256. }
  34257. catch (Murmur.ServerBootedException ex__)
  34258. {
  34259. if (validateResponse__(false))
  34260. {
  34261. os__().writeUserException(ex__);
  34262. response__(false);
  34263. }
  34264. }
  34265. catch (_System.Exception ex__)
  34266. {
  34267. base.ice_exception(ex__);
  34268. }
  34269. }
  34270. }
  34271.  
  34272. /// <summary>
  34273. /// Set ACLs and Groups on a channel.
  34274. /// Note that this will replace all existing ACLs and groups on the channel.
  34275. /// </summary>
  34276. [_System.Runtime.InteropServices.ComVisible(false)]
  34277. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34278. public interface AMD_Server_setACL : Ice.AMDCallback
  34279. {
  34280. /// <summary>
  34281. /// ice_response indicates that
  34282. /// the operation completed successfully.
  34283. /// </summary>
  34284. void ice_response();
  34285. }
  34286.  
  34287. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34288. class _AMD_Server_setACL : IceInternal.IncomingAsync, AMD_Server_setACL
  34289. {
  34290. public _AMD_Server_setACL(IceInternal.Incoming inc) : base(inc)
  34291. {
  34292. }
  34293.  
  34294. public void ice_response()
  34295. {
  34296. if (validateResponse__(true))
  34297. {
  34298. response__(true);
  34299. }
  34300. }
  34301.  
  34302. override public void ice_exception(_System.Exception ex)
  34303. {
  34304. try
  34305. {
  34306. throw ex;
  34307. }
  34308. catch (Murmur.InvalidChannelException ex__)
  34309. {
  34310. if (validateResponse__(false))
  34311. {
  34312. os__().writeUserException(ex__);
  34313. response__(false);
  34314. }
  34315. }
  34316. catch (Murmur.InvalidSecretException ex__)
  34317. {
  34318. if (validateResponse__(false))
  34319. {
  34320. os__().writeUserException(ex__);
  34321. response__(false);
  34322. }
  34323. }
  34324. catch (Murmur.ServerBootedException ex__)
  34325. {
  34326. if (validateResponse__(false))
  34327. {
  34328. os__().writeUserException(ex__);
  34329. response__(false);
  34330. }
  34331. }
  34332. catch (_System.Exception ex__)
  34333. {
  34334. base.ice_exception(ex__);
  34335. }
  34336. }
  34337. }
  34338.  
  34339. /// <summary>
  34340. /// Temporarily add a user to a group on a channel.
  34341. /// This state is not saved, and is intended for temporary memberships.
  34342. /// </summary>
  34343. [_System.Runtime.InteropServices.ComVisible(false)]
  34344. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34345. public interface AMD_Server_addUserToGroup : Ice.AMDCallback
  34346. {
  34347. /// <summary>
  34348. /// ice_response indicates that
  34349. /// the operation completed successfully.
  34350. /// </summary>
  34351. void ice_response();
  34352. }
  34353.  
  34354. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34355. class _AMD_Server_addUserToGroup : IceInternal.IncomingAsync, AMD_Server_addUserToGroup
  34356. {
  34357. public _AMD_Server_addUserToGroup(IceInternal.Incoming inc) : base(inc)
  34358. {
  34359. }
  34360.  
  34361. public void ice_response()
  34362. {
  34363. if (validateResponse__(true))
  34364. {
  34365. response__(true);
  34366. }
  34367. }
  34368.  
  34369. override public void ice_exception(_System.Exception ex)
  34370. {
  34371. try
  34372. {
  34373. throw ex;
  34374. }
  34375. catch (Murmur.InvalidChannelException ex__)
  34376. {
  34377. if (validateResponse__(false))
  34378. {
  34379. os__().writeUserException(ex__);
  34380. response__(false);
  34381. }
  34382. }
  34383. catch (Murmur.InvalidSecretException ex__)
  34384. {
  34385. if (validateResponse__(false))
  34386. {
  34387. os__().writeUserException(ex__);
  34388. response__(false);
  34389. }
  34390. }
  34391. catch (Murmur.InvalidSessionException ex__)
  34392. {
  34393. if (validateResponse__(false))
  34394. {
  34395. os__().writeUserException(ex__);
  34396. response__(false);
  34397. }
  34398. }
  34399. catch (Murmur.ServerBootedException ex__)
  34400. {
  34401. if (validateResponse__(false))
  34402. {
  34403. os__().writeUserException(ex__);
  34404. response__(false);
  34405. }
  34406. }
  34407. catch (_System.Exception ex__)
  34408. {
  34409. base.ice_exception(ex__);
  34410. }
  34411. }
  34412. }
  34413.  
  34414. /// <summary>
  34415. /// Remove a user from a temporary group membership on a channel.
  34416. /// This state is not saved, and is intended for temporary memberships.
  34417. /// </summary>
  34418. [_System.Runtime.InteropServices.ComVisible(false)]
  34419. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34420. public interface AMD_Server_removeUserFromGroup : Ice.AMDCallback
  34421. {
  34422. /// <summary>
  34423. /// ice_response indicates that
  34424. /// the operation completed successfully.
  34425. /// </summary>
  34426. void ice_response();
  34427. }
  34428.  
  34429. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34430. class _AMD_Server_removeUserFromGroup : IceInternal.IncomingAsync, AMD_Server_removeUserFromGroup
  34431. {
  34432. public _AMD_Server_removeUserFromGroup(IceInternal.Incoming inc) : base(inc)
  34433. {
  34434. }
  34435.  
  34436. public void ice_response()
  34437. {
  34438. if (validateResponse__(true))
  34439. {
  34440. response__(true);
  34441. }
  34442. }
  34443.  
  34444. override public void ice_exception(_System.Exception ex)
  34445. {
  34446. try
  34447. {
  34448. throw ex;
  34449. }
  34450. catch (Murmur.InvalidChannelException ex__)
  34451. {
  34452. if (validateResponse__(false))
  34453. {
  34454. os__().writeUserException(ex__);
  34455. response__(false);
  34456. }
  34457. }
  34458. catch (Murmur.InvalidSecretException ex__)
  34459. {
  34460. if (validateResponse__(false))
  34461. {
  34462. os__().writeUserException(ex__);
  34463. response__(false);
  34464. }
  34465. }
  34466. catch (Murmur.InvalidSessionException ex__)
  34467. {
  34468. if (validateResponse__(false))
  34469. {
  34470. os__().writeUserException(ex__);
  34471. response__(false);
  34472. }
  34473. }
  34474. catch (Murmur.ServerBootedException ex__)
  34475. {
  34476. if (validateResponse__(false))
  34477. {
  34478. os__().writeUserException(ex__);
  34479. response__(false);
  34480. }
  34481. }
  34482. catch (_System.Exception ex__)
  34483. {
  34484. base.ice_exception(ex__);
  34485. }
  34486. }
  34487. }
  34488.  
  34489. /// <summary>
  34490. /// Redirect whisper targets for user.
  34491. /// If set, whenever a user tries to whisper to group "source", the whisper will be redirected to group "target".
  34492. /// To remove a redirect pass an empty target string. This is intended for context groups.
  34493. /// </summary>
  34494. [_System.Runtime.InteropServices.ComVisible(false)]
  34495. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34496. public interface AMD_Server_redirectWhisperGroup : Ice.AMDCallback
  34497. {
  34498. /// <summary>
  34499. /// ice_response indicates that
  34500. /// the operation completed successfully.
  34501. /// </summary>
  34502. void ice_response();
  34503. }
  34504.  
  34505. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34506. class _AMD_Server_redirectWhisperGroup : IceInternal.IncomingAsync, AMD_Server_redirectWhisperGroup
  34507. {
  34508. public _AMD_Server_redirectWhisperGroup(IceInternal.Incoming inc) : base(inc)
  34509. {
  34510. }
  34511.  
  34512. public void ice_response()
  34513. {
  34514. if (validateResponse__(true))
  34515. {
  34516. response__(true);
  34517. }
  34518. }
  34519.  
  34520. override public void ice_exception(_System.Exception ex)
  34521. {
  34522. try
  34523. {
  34524. throw ex;
  34525. }
  34526. catch (Murmur.InvalidSecretException ex__)
  34527. {
  34528. if (validateResponse__(false))
  34529. {
  34530. os__().writeUserException(ex__);
  34531. response__(false);
  34532. }
  34533. }
  34534. catch (Murmur.InvalidSessionException ex__)
  34535. {
  34536. if (validateResponse__(false))
  34537. {
  34538. os__().writeUserException(ex__);
  34539. response__(false);
  34540. }
  34541. }
  34542. catch (Murmur.ServerBootedException ex__)
  34543. {
  34544. if (validateResponse__(false))
  34545. {
  34546. os__().writeUserException(ex__);
  34547. response__(false);
  34548. }
  34549. }
  34550. catch (_System.Exception ex__)
  34551. {
  34552. base.ice_exception(ex__);
  34553. }
  34554. }
  34555. }
  34556.  
  34557. /// <summary>
  34558. /// Map a list of User.userid to a matching name.
  34559. /// </summary>
  34560. [_System.Runtime.InteropServices.ComVisible(false)]
  34561. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34562. public interface AMD_Server_getUserNames : Ice.AMDCallback
  34563. {
  34564. /// <summary>
  34565. /// ice_response indicates that
  34566. /// the operation completed successfully.
  34567. /// </summary>
  34568. /// <param name="ret__">(return value) Matching list of names, with an empty string representing invalid or unknown ids.</param>
  34569. void ice_response(_System.Collections.Generic.Dictionary<int, string> ret__);
  34570. }
  34571.  
  34572. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34573. class _AMD_Server_getUserNames : IceInternal.IncomingAsync, AMD_Server_getUserNames
  34574. {
  34575. public _AMD_Server_getUserNames(IceInternal.Incoming inc) : base(inc)
  34576. {
  34577. }
  34578.  
  34579. public void ice_response(_System.Collections.Generic.Dictionary<int, string> ret__)
  34580. {
  34581. if (validateResponse__(true))
  34582. {
  34583. try
  34584. {
  34585. IceInternal.BasicStream os__ = this.os__();
  34586. Murmur.NameMapHelper.write(os__, ret__);
  34587. }
  34588. catch (Ice.LocalException ex__)
  34589. {
  34590. ice_exception(ex__);
  34591. }
  34592. response__(true);
  34593. }
  34594. }
  34595.  
  34596. override public void ice_exception(_System.Exception ex)
  34597. {
  34598. try
  34599. {
  34600. throw ex;
  34601. }
  34602. catch (Murmur.InvalidSecretException ex__)
  34603. {
  34604. if (validateResponse__(false))
  34605. {
  34606. os__().writeUserException(ex__);
  34607. response__(false);
  34608. }
  34609. }
  34610. catch (Murmur.ServerBootedException ex__)
  34611. {
  34612. if (validateResponse__(false))
  34613. {
  34614. os__().writeUserException(ex__);
  34615. response__(false);
  34616. }
  34617. }
  34618. catch (_System.Exception ex__)
  34619. {
  34620. base.ice_exception(ex__);
  34621. }
  34622. }
  34623. }
  34624.  
  34625. /// <summary>
  34626. /// Map a list of user names to a matching id.
  34627. /// </summary>
  34628. [_System.Runtime.InteropServices.ComVisible(false)]
  34629. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34630. public interface AMD_Server_getUserIds : Ice.AMDCallback
  34631. {
  34632. /// <summary>
  34633. /// ice_response indicates that
  34634. /// the operation completed successfully.
  34635. /// </summary>
  34636. void ice_response(_System.Collections.Generic.Dictionary<string, int> ret__);
  34637. }
  34638.  
  34639. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34640. class _AMD_Server_getUserIds : IceInternal.IncomingAsync, AMD_Server_getUserIds
  34641. {
  34642. public _AMD_Server_getUserIds(IceInternal.Incoming inc) : base(inc)
  34643. {
  34644. }
  34645.  
  34646. public void ice_response(_System.Collections.Generic.Dictionary<string, int> ret__)
  34647. {
  34648. if (validateResponse__(true))
  34649. {
  34650. try
  34651. {
  34652. IceInternal.BasicStream os__ = this.os__();
  34653. Murmur.IdMapHelper.write(os__, ret__);
  34654. }
  34655. catch (Ice.LocalException ex__)
  34656. {
  34657. ice_exception(ex__);
  34658. }
  34659. response__(true);
  34660. }
  34661. }
  34662.  
  34663. override public void ice_exception(_System.Exception ex)
  34664. {
  34665. try
  34666. {
  34667. throw ex;
  34668. }
  34669. catch (Murmur.InvalidSecretException ex__)
  34670. {
  34671. if (validateResponse__(false))
  34672. {
  34673. os__().writeUserException(ex__);
  34674. response__(false);
  34675. }
  34676. }
  34677. catch (Murmur.ServerBootedException ex__)
  34678. {
  34679. if (validateResponse__(false))
  34680. {
  34681. os__().writeUserException(ex__);
  34682. response__(false);
  34683. }
  34684. }
  34685. catch (_System.Exception ex__)
  34686. {
  34687. base.ice_exception(ex__);
  34688. }
  34689. }
  34690. }
  34691.  
  34692. /// <summary>
  34693. /// Register a new user.
  34694. /// </summary>
  34695. [_System.Runtime.InteropServices.ComVisible(false)]
  34696. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34697. public interface AMD_Server_registerUser : Ice.AMDCallback
  34698. {
  34699. /// <summary>
  34700. /// ice_response indicates that
  34701. /// the operation completed successfully.
  34702. /// </summary>
  34703. /// <param name="ret__">(return value) The ID of the user. See RegisteredUser.userid.</param>
  34704. void ice_response(int ret__);
  34705. }
  34706.  
  34707. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34708. class _AMD_Server_registerUser : IceInternal.IncomingAsync, AMD_Server_registerUser
  34709. {
  34710. public _AMD_Server_registerUser(IceInternal.Incoming inc) : base(inc)
  34711. {
  34712. }
  34713.  
  34714. public void ice_response(int ret__)
  34715. {
  34716. if (validateResponse__(true))
  34717. {
  34718. try
  34719. {
  34720. IceInternal.BasicStream os__ = this.os__();
  34721. os__.writeInt(ret__);
  34722. }
  34723. catch (Ice.LocalException ex__)
  34724. {
  34725. ice_exception(ex__);
  34726. }
  34727. response__(true);
  34728. }
  34729. }
  34730.  
  34731. override public void ice_exception(_System.Exception ex)
  34732. {
  34733. try
  34734. {
  34735. throw ex;
  34736. }
  34737. catch (Murmur.InvalidSecretException ex__)
  34738. {
  34739. if (validateResponse__(false))
  34740. {
  34741. os__().writeUserException(ex__);
  34742. response__(false);
  34743. }
  34744. }
  34745. catch (Murmur.InvalidUserException ex__)
  34746. {
  34747. if (validateResponse__(false))
  34748. {
  34749. os__().writeUserException(ex__);
  34750. response__(false);
  34751. }
  34752. }
  34753. catch (Murmur.ServerBootedException ex__)
  34754. {
  34755. if (validateResponse__(false))
  34756. {
  34757. os__().writeUserException(ex__);
  34758. response__(false);
  34759. }
  34760. }
  34761. catch (_System.Exception ex__)
  34762. {
  34763. base.ice_exception(ex__);
  34764. }
  34765. }
  34766. }
  34767.  
  34768. /// <summary>
  34769. /// Remove a user registration.
  34770. /// </summary>
  34771. [_System.Runtime.InteropServices.ComVisible(false)]
  34772. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34773. public interface AMD_Server_unregisterUser : Ice.AMDCallback
  34774. {
  34775. /// <summary>
  34776. /// ice_response indicates that
  34777. /// the operation completed successfully.
  34778. /// </summary>
  34779. void ice_response();
  34780. }
  34781.  
  34782. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34783. class _AMD_Server_unregisterUser : IceInternal.IncomingAsync, AMD_Server_unregisterUser
  34784. {
  34785. public _AMD_Server_unregisterUser(IceInternal.Incoming inc) : base(inc)
  34786. {
  34787. }
  34788.  
  34789. public void ice_response()
  34790. {
  34791. if (validateResponse__(true))
  34792. {
  34793. response__(true);
  34794. }
  34795. }
  34796.  
  34797. override public void ice_exception(_System.Exception ex)
  34798. {
  34799. try
  34800. {
  34801. throw ex;
  34802. }
  34803. catch (Murmur.InvalidSecretException ex__)
  34804. {
  34805. if (validateResponse__(false))
  34806. {
  34807. os__().writeUserException(ex__);
  34808. response__(false);
  34809. }
  34810. }
  34811. catch (Murmur.InvalidUserException ex__)
  34812. {
  34813. if (validateResponse__(false))
  34814. {
  34815. os__().writeUserException(ex__);
  34816. response__(false);
  34817. }
  34818. }
  34819. catch (Murmur.ServerBootedException ex__)
  34820. {
  34821. if (validateResponse__(false))
  34822. {
  34823. os__().writeUserException(ex__);
  34824. response__(false);
  34825. }
  34826. }
  34827. catch (_System.Exception ex__)
  34828. {
  34829. base.ice_exception(ex__);
  34830. }
  34831. }
  34832. }
  34833.  
  34834. /// <summary>
  34835. /// Update the registration for a user.
  34836. /// You can use this to set the email or password of a user,
  34837. /// and can also use it to change the user's name.
  34838. /// </summary>
  34839. [_System.Runtime.InteropServices.ComVisible(false)]
  34840. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34841. public interface AMD_Server_updateRegistration : Ice.AMDCallback
  34842. {
  34843. /// <summary>
  34844. /// ice_response indicates that
  34845. /// the operation completed successfully.
  34846. /// </summary>
  34847. void ice_response();
  34848. }
  34849.  
  34850. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34851. class _AMD_Server_updateRegistration : IceInternal.IncomingAsync, AMD_Server_updateRegistration
  34852. {
  34853. public _AMD_Server_updateRegistration(IceInternal.Incoming inc) : base(inc)
  34854. {
  34855. }
  34856.  
  34857. public void ice_response()
  34858. {
  34859. if (validateResponse__(true))
  34860. {
  34861. response__(true);
  34862. }
  34863. }
  34864.  
  34865. override public void ice_exception(_System.Exception ex)
  34866. {
  34867. try
  34868. {
  34869. throw ex;
  34870. }
  34871. catch (Murmur.InvalidSecretException ex__)
  34872. {
  34873. if (validateResponse__(false))
  34874. {
  34875. os__().writeUserException(ex__);
  34876. response__(false);
  34877. }
  34878. }
  34879. catch (Murmur.InvalidUserException ex__)
  34880. {
  34881. if (validateResponse__(false))
  34882. {
  34883. os__().writeUserException(ex__);
  34884. response__(false);
  34885. }
  34886. }
  34887. catch (Murmur.ServerBootedException ex__)
  34888. {
  34889. if (validateResponse__(false))
  34890. {
  34891. os__().writeUserException(ex__);
  34892. response__(false);
  34893. }
  34894. }
  34895. catch (_System.Exception ex__)
  34896. {
  34897. base.ice_exception(ex__);
  34898. }
  34899. }
  34900. }
  34901.  
  34902. /// <summary>
  34903. /// Fetch registration for a single user.
  34904. /// </summary>
  34905. [_System.Runtime.InteropServices.ComVisible(false)]
  34906. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34907. public interface AMD_Server_getRegistration : Ice.AMDCallback
  34908. {
  34909. /// <summary>
  34910. /// ice_response indicates that
  34911. /// the operation completed successfully.
  34912. /// </summary>
  34913. /// <param name="ret__">(return value) Registration record.</param>
  34914. void ice_response(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> ret__);
  34915. }
  34916.  
  34917. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34918. class _AMD_Server_getRegistration : IceInternal.IncomingAsync, AMD_Server_getRegistration
  34919. {
  34920. public _AMD_Server_getRegistration(IceInternal.Incoming inc) : base(inc)
  34921. {
  34922. }
  34923.  
  34924. public void ice_response(_System.Collections.Generic.Dictionary<Murmur.UserInfo, string> ret__)
  34925. {
  34926. if (validateResponse__(true))
  34927. {
  34928. try
  34929. {
  34930. IceInternal.BasicStream os__ = this.os__();
  34931. Murmur.UserInfoMapHelper.write(os__, ret__);
  34932. }
  34933. catch (Ice.LocalException ex__)
  34934. {
  34935. ice_exception(ex__);
  34936. }
  34937. response__(true);
  34938. }
  34939. }
  34940.  
  34941. override public void ice_exception(_System.Exception ex)
  34942. {
  34943. try
  34944. {
  34945. throw ex;
  34946. }
  34947. catch (Murmur.InvalidSecretException ex__)
  34948. {
  34949. if (validateResponse__(false))
  34950. {
  34951. os__().writeUserException(ex__);
  34952. response__(false);
  34953. }
  34954. }
  34955. catch (Murmur.InvalidUserException ex__)
  34956. {
  34957. if (validateResponse__(false))
  34958. {
  34959. os__().writeUserException(ex__);
  34960. response__(false);
  34961. }
  34962. }
  34963. catch (Murmur.ServerBootedException ex__)
  34964. {
  34965. if (validateResponse__(false))
  34966. {
  34967. os__().writeUserException(ex__);
  34968. response__(false);
  34969. }
  34970. }
  34971. catch (_System.Exception ex__)
  34972. {
  34973. base.ice_exception(ex__);
  34974. }
  34975. }
  34976. }
  34977.  
  34978. /// <summary>
  34979. /// Fetch a group of registered users.
  34980. /// </summary>
  34981. [_System.Runtime.InteropServices.ComVisible(false)]
  34982. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34983. public interface AMD_Server_getRegisteredUsers : Ice.AMDCallback
  34984. {
  34985. /// <summary>
  34986. /// ice_response indicates that
  34987. /// the operation completed successfully.
  34988. /// </summary>
  34989. /// <param name="ret__">(return value) List of registration records.</param>
  34990. void ice_response(_System.Collections.Generic.Dictionary<int, string> ret__);
  34991. }
  34992.  
  34993. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  34994. class _AMD_Server_getRegisteredUsers : IceInternal.IncomingAsync, AMD_Server_getRegisteredUsers
  34995. {
  34996. public _AMD_Server_getRegisteredUsers(IceInternal.Incoming inc) : base(inc)
  34997. {
  34998. }
  34999.  
  35000. public void ice_response(_System.Collections.Generic.Dictionary<int, string> ret__)
  35001. {
  35002. if (validateResponse__(true))
  35003. {
  35004. try
  35005. {
  35006. IceInternal.BasicStream os__ = this.os__();
  35007. Murmur.NameMapHelper.write(os__, ret__);
  35008. }
  35009. catch (Ice.LocalException ex__)
  35010. {
  35011. ice_exception(ex__);
  35012. }
  35013. response__(true);
  35014. }
  35015. }
  35016.  
  35017. override public void ice_exception(_System.Exception ex)
  35018. {
  35019. try
  35020. {
  35021. throw ex;
  35022. }
  35023. catch (Murmur.InvalidSecretException ex__)
  35024. {
  35025. if (validateResponse__(false))
  35026. {
  35027. os__().writeUserException(ex__);
  35028. response__(false);
  35029. }
  35030. }
  35031. catch (Murmur.ServerBootedException ex__)
  35032. {
  35033. if (validateResponse__(false))
  35034. {
  35035. os__().writeUserException(ex__);
  35036. response__(false);
  35037. }
  35038. }
  35039. catch (_System.Exception ex__)
  35040. {
  35041. base.ice_exception(ex__);
  35042. }
  35043. }
  35044. }
  35045.  
  35046. /// <summary>
  35047. /// Verify the password of a user.
  35048. /// You can use this to verify a user's credentials.
  35049. /// </summary>
  35050. [_System.Runtime.InteropServices.ComVisible(false)]
  35051. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35052. public interface AMD_Server_verifyPassword : Ice.AMDCallback
  35053. {
  35054. /// <summary>
  35055. /// ice_response indicates that
  35056. /// the operation completed successfully.
  35057. /// </summary>
  35058. /// <param name="ret__">(return value) User ID of registered user (See RegisteredUser.userid), -1 for failed authentication or -2 for unknown usernames.</param>
  35059. void ice_response(int ret__);
  35060. }
  35061.  
  35062. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35063. class _AMD_Server_verifyPassword : IceInternal.IncomingAsync, AMD_Server_verifyPassword
  35064. {
  35065. public _AMD_Server_verifyPassword(IceInternal.Incoming inc) : base(inc)
  35066. {
  35067. }
  35068.  
  35069. public void ice_response(int ret__)
  35070. {
  35071. if (validateResponse__(true))
  35072. {
  35073. try
  35074. {
  35075. IceInternal.BasicStream os__ = this.os__();
  35076. os__.writeInt(ret__);
  35077. }
  35078. catch (Ice.LocalException ex__)
  35079. {
  35080. ice_exception(ex__);
  35081. }
  35082. response__(true);
  35083. }
  35084. }
  35085.  
  35086. override public void ice_exception(_System.Exception ex)
  35087. {
  35088. try
  35089. {
  35090. throw ex;
  35091. }
  35092. catch (Murmur.InvalidSecretException ex__)
  35093. {
  35094. if (validateResponse__(false))
  35095. {
  35096. os__().writeUserException(ex__);
  35097. response__(false);
  35098. }
  35099. }
  35100. catch (Murmur.ServerBootedException ex__)
  35101. {
  35102. if (validateResponse__(false))
  35103. {
  35104. os__().writeUserException(ex__);
  35105. response__(false);
  35106. }
  35107. }
  35108. catch (_System.Exception ex__)
  35109. {
  35110. base.ice_exception(ex__);
  35111. }
  35112. }
  35113. }
  35114.  
  35115. /// <summary>
  35116. /// Fetch user texture.
  35117. /// Textures are stored as zlib compress()ed 600x60 32-bit BGRA data.
  35118. /// </summary>
  35119. [_System.Runtime.InteropServices.ComVisible(false)]
  35120. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35121. public interface AMD_Server_getTexture : Ice.AMDCallback
  35122. {
  35123. /// <summary>
  35124. /// ice_response indicates that
  35125. /// the operation completed successfully.
  35126. /// </summary>
  35127. /// <param name="ret__">(return value) Custom texture associated with user or an empty texture.</param>
  35128. void ice_response(byte[] ret__);
  35129. }
  35130.  
  35131. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35132. class _AMD_Server_getTexture : IceInternal.IncomingAsync, AMD_Server_getTexture
  35133. {
  35134. public _AMD_Server_getTexture(IceInternal.Incoming inc) : base(inc)
  35135. {
  35136. }
  35137.  
  35138. public void ice_response(byte[] ret__)
  35139. {
  35140. if (validateResponse__(true))
  35141. {
  35142. try
  35143. {
  35144. IceInternal.BasicStream os__ = this.os__();
  35145. os__.writeByteSeq(ret__);
  35146. }
  35147. catch (Ice.LocalException ex__)
  35148. {
  35149. ice_exception(ex__);
  35150. }
  35151. response__(true);
  35152. }
  35153. }
  35154.  
  35155. override public void ice_exception(_System.Exception ex)
  35156. {
  35157. try
  35158. {
  35159. throw ex;
  35160. }
  35161. catch (Murmur.InvalidSecretException ex__)
  35162. {
  35163. if (validateResponse__(false))
  35164. {
  35165. os__().writeUserException(ex__);
  35166. response__(false);
  35167. }
  35168. }
  35169. catch (Murmur.InvalidUserException ex__)
  35170. {
  35171. if (validateResponse__(false))
  35172. {
  35173. os__().writeUserException(ex__);
  35174. response__(false);
  35175. }
  35176. }
  35177. catch (Murmur.ServerBootedException ex__)
  35178. {
  35179. if (validateResponse__(false))
  35180. {
  35181. os__().writeUserException(ex__);
  35182. response__(false);
  35183. }
  35184. }
  35185. catch (_System.Exception ex__)
  35186. {
  35187. base.ice_exception(ex__);
  35188. }
  35189. }
  35190. }
  35191.  
  35192. /// <summary>
  35193. /// Set a user texture (now called avatar).
  35194. /// </summary>
  35195. [_System.Runtime.InteropServices.ComVisible(false)]
  35196. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35197. public interface AMD_Server_setTexture : Ice.AMDCallback
  35198. {
  35199. /// <summary>
  35200. /// ice_response indicates that
  35201. /// the operation completed successfully.
  35202. /// </summary>
  35203. void ice_response();
  35204. }
  35205.  
  35206. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35207. class _AMD_Server_setTexture : IceInternal.IncomingAsync, AMD_Server_setTexture
  35208. {
  35209. public _AMD_Server_setTexture(IceInternal.Incoming inc) : base(inc)
  35210. {
  35211. }
  35212.  
  35213. public void ice_response()
  35214. {
  35215. if (validateResponse__(true))
  35216. {
  35217. response__(true);
  35218. }
  35219. }
  35220.  
  35221. override public void ice_exception(_System.Exception ex)
  35222. {
  35223. try
  35224. {
  35225. throw ex;
  35226. }
  35227. catch (Murmur.InvalidSecretException ex__)
  35228. {
  35229. if (validateResponse__(false))
  35230. {
  35231. os__().writeUserException(ex__);
  35232. response__(false);
  35233. }
  35234. }
  35235. catch (Murmur.InvalidTextureException ex__)
  35236. {
  35237. if (validateResponse__(false))
  35238. {
  35239. os__().writeUserException(ex__);
  35240. response__(false);
  35241. }
  35242. }
  35243. catch (Murmur.InvalidUserException ex__)
  35244. {
  35245. if (validateResponse__(false))
  35246. {
  35247. os__().writeUserException(ex__);
  35248. response__(false);
  35249. }
  35250. }
  35251. catch (Murmur.ServerBootedException ex__)
  35252. {
  35253. if (validateResponse__(false))
  35254. {
  35255. os__().writeUserException(ex__);
  35256. response__(false);
  35257. }
  35258. }
  35259. catch (_System.Exception ex__)
  35260. {
  35261. base.ice_exception(ex__);
  35262. }
  35263. }
  35264. }
  35265.  
  35266. /// <summary>
  35267. /// Get virtual server uptime.
  35268. /// </summary>
  35269. [_System.Runtime.InteropServices.ComVisible(false)]
  35270. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35271. public interface AMD_Server_getUptime : Ice.AMDCallback
  35272. {
  35273. /// <summary>
  35274. /// ice_response indicates that
  35275. /// the operation completed successfully.
  35276. /// </summary>
  35277. /// <param name="ret__">(return value) Uptime of the virtual server in seconds</param>
  35278. void ice_response(int ret__);
  35279. }
  35280.  
  35281. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35282. class _AMD_Server_getUptime : IceInternal.IncomingAsync, AMD_Server_getUptime
  35283. {
  35284. public _AMD_Server_getUptime(IceInternal.Incoming inc) : base(inc)
  35285. {
  35286. }
  35287.  
  35288. public void ice_response(int ret__)
  35289. {
  35290. if (validateResponse__(true))
  35291. {
  35292. try
  35293. {
  35294. IceInternal.BasicStream os__ = this.os__();
  35295. os__.writeInt(ret__);
  35296. }
  35297. catch (Ice.LocalException ex__)
  35298. {
  35299. ice_exception(ex__);
  35300. }
  35301. response__(true);
  35302. }
  35303. }
  35304.  
  35305. override public void ice_exception(_System.Exception ex)
  35306. {
  35307. try
  35308. {
  35309. throw ex;
  35310. }
  35311. catch (Murmur.InvalidSecretException ex__)
  35312. {
  35313. if (validateResponse__(false))
  35314. {
  35315. os__().writeUserException(ex__);
  35316. response__(false);
  35317. }
  35318. }
  35319. catch (Murmur.ServerBootedException ex__)
  35320. {
  35321. if (validateResponse__(false))
  35322. {
  35323. os__().writeUserException(ex__);
  35324. response__(false);
  35325. }
  35326. }
  35327. catch (_System.Exception ex__)
  35328. {
  35329. base.ice_exception(ex__);
  35330. }
  35331. }
  35332. }
  35333.  
  35334. /// <summary>
  35335. /// Update the server's certificate information.
  35336. /// Reconfigure the running server's TLS socket with the given
  35337. /// certificate and private key.
  35338. ///
  35339. /// The certificate and and private key must be PEM formatted.
  35340. ///
  35341. /// New clients will see the new certificate.
  35342. /// Existing clients will continue to see the certificate the server
  35343. /// was using when they connected to it.
  35344. ///
  35345. /// This method throws InvalidInputDataException if any of the
  35346. /// following errors happen:
  35347. /// - Unable to decode the PEM certificate and/or private key.
  35348. /// - Unable to decrypt the private key with the given passphrase.
  35349. /// - The certificate and/or private key do not contain RSA keys.
  35350. /// - The certificate is not usable with the given private key.
  35351. /// </summary>
  35352. [_System.Runtime.InteropServices.ComVisible(false)]
  35353. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35354. public interface AMD_Server_updateCertificate : Ice.AMDCallback
  35355. {
  35356. /// <summary>
  35357. /// ice_response indicates that
  35358. /// the operation completed successfully.
  35359. /// </summary>
  35360. void ice_response();
  35361. }
  35362.  
  35363. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35364. class _AMD_Server_updateCertificate : IceInternal.IncomingAsync, AMD_Server_updateCertificate
  35365. {
  35366. public _AMD_Server_updateCertificate(IceInternal.Incoming inc) : base(inc)
  35367. {
  35368. }
  35369.  
  35370. public void ice_response()
  35371. {
  35372. if (validateResponse__(true))
  35373. {
  35374. response__(true);
  35375. }
  35376. }
  35377.  
  35378. override public void ice_exception(_System.Exception ex)
  35379. {
  35380. try
  35381. {
  35382. throw ex;
  35383. }
  35384. catch (Murmur.InvalidInputDataException ex__)
  35385. {
  35386. if (validateResponse__(false))
  35387. {
  35388. os__().writeUserException(ex__);
  35389. response__(false);
  35390. }
  35391. }
  35392. catch (Murmur.InvalidSecretException ex__)
  35393. {
  35394. if (validateResponse__(false))
  35395. {
  35396. os__().writeUserException(ex__);
  35397. response__(false);
  35398. }
  35399. }
  35400. catch (Murmur.ServerBootedException ex__)
  35401. {
  35402. if (validateResponse__(false))
  35403. {
  35404. os__().writeUserException(ex__);
  35405. response__(false);
  35406. }
  35407. }
  35408. catch (_System.Exception ex__)
  35409. {
  35410. base.ice_exception(ex__);
  35411. }
  35412. }
  35413. }
  35414.  
  35415. /// <summary>
  35416. /// Fetch interface to specific server.
  35417. /// </summary>
  35418. [_System.Runtime.InteropServices.ComVisible(false)]
  35419. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35420. public interface AMD_Meta_getServer : Ice.AMDCallback
  35421. {
  35422. /// <summary>
  35423. /// ice_response indicates that
  35424. /// the operation completed successfully.
  35425. /// </summary>
  35426. /// <param name="ret__">(return value) Interface for specified server, or a null proxy if id is invalid.</param>
  35427. void ice_response(Murmur.ServerPrx ret__);
  35428. }
  35429.  
  35430. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35431. class _AMD_Meta_getServer : IceInternal.IncomingAsync, AMD_Meta_getServer
  35432. {
  35433. public _AMD_Meta_getServer(IceInternal.Incoming inc) : base(inc)
  35434. {
  35435. }
  35436.  
  35437. public void ice_response(Murmur.ServerPrx ret__)
  35438. {
  35439. if (validateResponse__(true))
  35440. {
  35441. try
  35442. {
  35443. IceInternal.BasicStream os__ = this.os__();
  35444. Murmur.ServerPrxHelper.write__(os__, ret__);
  35445. }
  35446. catch (Ice.LocalException ex__)
  35447. {
  35448. ice_exception(ex__);
  35449. }
  35450. response__(true);
  35451. }
  35452. }
  35453.  
  35454. override public void ice_exception(_System.Exception ex)
  35455. {
  35456. try
  35457. {
  35458. throw ex;
  35459. }
  35460. catch (Murmur.InvalidSecretException ex__)
  35461. {
  35462. if (validateResponse__(false))
  35463. {
  35464. os__().writeUserException(ex__);
  35465. response__(false);
  35466. }
  35467. }
  35468. catch (_System.Exception ex__)
  35469. {
  35470. base.ice_exception(ex__);
  35471. }
  35472. }
  35473. }
  35474.  
  35475. /// <summary>
  35476. /// Create a new server.
  35477. /// Call Server.getId on the returned interface to find it's ID.
  35478. /// </summary>
  35479. [_System.Runtime.InteropServices.ComVisible(false)]
  35480. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35481. public interface AMD_Meta_newServer : Ice.AMDCallback
  35482. {
  35483. /// <summary>
  35484. /// ice_response indicates that
  35485. /// the operation completed successfully.
  35486. /// </summary>
  35487. /// <param name="ret__">(return value) Interface for new server.</param>
  35488. void ice_response(Murmur.ServerPrx ret__);
  35489. }
  35490.  
  35491. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35492. class _AMD_Meta_newServer : IceInternal.IncomingAsync, AMD_Meta_newServer
  35493. {
  35494. public _AMD_Meta_newServer(IceInternal.Incoming inc) : base(inc)
  35495. {
  35496. }
  35497.  
  35498. public void ice_response(Murmur.ServerPrx ret__)
  35499. {
  35500. if (validateResponse__(true))
  35501. {
  35502. try
  35503. {
  35504. IceInternal.BasicStream os__ = this.os__();
  35505. Murmur.ServerPrxHelper.write__(os__, ret__);
  35506. }
  35507. catch (Ice.LocalException ex__)
  35508. {
  35509. ice_exception(ex__);
  35510. }
  35511. response__(true);
  35512. }
  35513. }
  35514.  
  35515. override public void ice_exception(_System.Exception ex)
  35516. {
  35517. try
  35518. {
  35519. throw ex;
  35520. }
  35521. catch (Murmur.InvalidSecretException ex__)
  35522. {
  35523. if (validateResponse__(false))
  35524. {
  35525. os__().writeUserException(ex__);
  35526. response__(false);
  35527. }
  35528. }
  35529. catch (_System.Exception ex__)
  35530. {
  35531. base.ice_exception(ex__);
  35532. }
  35533. }
  35534. }
  35535.  
  35536. /// <summary>
  35537. /// Fetch list of all currently running servers.
  35538. /// </summary>
  35539. [_System.Runtime.InteropServices.ComVisible(false)]
  35540. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35541. public interface AMD_Meta_getBootedServers : Ice.AMDCallback
  35542. {
  35543. /// <summary>
  35544. /// ice_response indicates that
  35545. /// the operation completed successfully.
  35546. /// </summary>
  35547. /// <param name="ret__">(return value) List of interfaces for running servers.</param>
  35548. void ice_response(Murmur.ServerPrx[] ret__);
  35549. }
  35550.  
  35551. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35552. class _AMD_Meta_getBootedServers : IceInternal.IncomingAsync, AMD_Meta_getBootedServers
  35553. {
  35554. public _AMD_Meta_getBootedServers(IceInternal.Incoming inc) : base(inc)
  35555. {
  35556. }
  35557.  
  35558. public void ice_response(Murmur.ServerPrx[] ret__)
  35559. {
  35560. if (validateResponse__(true))
  35561. {
  35562. try
  35563. {
  35564. IceInternal.BasicStream os__ = this.os__();
  35565. if (ret__ == null)
  35566. {
  35567. os__.writeSize(0);
  35568. }
  35569. else
  35570. {
  35571. os__.writeSize(ret__.Length);
  35572. for (int ix__ = 0; ix__ < ret__.Length; ++ix__)
  35573. {
  35574. Murmur.ServerPrxHelper.write__(os__, ret__[ix__]);
  35575. }
  35576. }
  35577. }
  35578. catch (Ice.LocalException ex__)
  35579. {
  35580. ice_exception(ex__);
  35581. }
  35582. response__(true);
  35583. }
  35584. }
  35585.  
  35586. override public void ice_exception(_System.Exception ex)
  35587. {
  35588. try
  35589. {
  35590. throw ex;
  35591. }
  35592. catch (Murmur.InvalidSecretException ex__)
  35593. {
  35594. if (validateResponse__(false))
  35595. {
  35596. os__().writeUserException(ex__);
  35597. response__(false);
  35598. }
  35599. }
  35600. catch (_System.Exception ex__)
  35601. {
  35602. base.ice_exception(ex__);
  35603. }
  35604. }
  35605. }
  35606.  
  35607. /// <summary>
  35608. /// Fetch list of all defined servers.
  35609. /// </summary>
  35610. [_System.Runtime.InteropServices.ComVisible(false)]
  35611. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35612. public interface AMD_Meta_getAllServers : Ice.AMDCallback
  35613. {
  35614. /// <summary>
  35615. /// ice_response indicates that
  35616. /// the operation completed successfully.
  35617. /// </summary>
  35618. /// <param name="ret__">(return value) List of interfaces for all servers.</param>
  35619. void ice_response(Murmur.ServerPrx[] ret__);
  35620. }
  35621.  
  35622. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35623. class _AMD_Meta_getAllServers : IceInternal.IncomingAsync, AMD_Meta_getAllServers
  35624. {
  35625. public _AMD_Meta_getAllServers(IceInternal.Incoming inc) : base(inc)
  35626. {
  35627. }
  35628.  
  35629. public void ice_response(Murmur.ServerPrx[] ret__)
  35630. {
  35631. if (validateResponse__(true))
  35632. {
  35633. try
  35634. {
  35635. IceInternal.BasicStream os__ = this.os__();
  35636. if (ret__ == null)
  35637. {
  35638. os__.writeSize(0);
  35639. }
  35640. else
  35641. {
  35642. os__.writeSize(ret__.Length);
  35643. for (int ix__ = 0; ix__ < ret__.Length; ++ix__)
  35644. {
  35645. Murmur.ServerPrxHelper.write__(os__, ret__[ix__]);
  35646. }
  35647. }
  35648. }
  35649. catch (Ice.LocalException ex__)
  35650. {
  35651. ice_exception(ex__);
  35652. }
  35653. response__(true);
  35654. }
  35655. }
  35656.  
  35657. override public void ice_exception(_System.Exception ex)
  35658. {
  35659. try
  35660. {
  35661. throw ex;
  35662. }
  35663. catch (Murmur.InvalidSecretException ex__)
  35664. {
  35665. if (validateResponse__(false))
  35666. {
  35667. os__().writeUserException(ex__);
  35668. response__(false);
  35669. }
  35670. }
  35671. catch (_System.Exception ex__)
  35672. {
  35673. base.ice_exception(ex__);
  35674. }
  35675. }
  35676. }
  35677.  
  35678. /// <summary>
  35679. /// Fetch default configuraion.
  35680. /// This returns the configuration items that were set in the configuration file, or
  35681. /// the built-in default. The individual servers will use these values unless they have been overridden in the
  35682. /// server specific configuration. The only special case is the port, which defaults to the value defined here +
  35683. /// the servers ID - 1 (so that virtual server #1 uses the defined port, server #2 uses port+1 etc).
  35684. /// </summary>
  35685. [_System.Runtime.InteropServices.ComVisible(false)]
  35686. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35687. public interface AMD_Meta_getDefaultConf : Ice.AMDCallback
  35688. {
  35689. /// <summary>
  35690. /// ice_response indicates that
  35691. /// the operation completed successfully.
  35692. /// </summary>
  35693. /// <param name="ret__">(return value) Default configuration of the servers.</param>
  35694. void ice_response(_System.Collections.Generic.Dictionary<string, string> ret__);
  35695. }
  35696.  
  35697. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35698. class _AMD_Meta_getDefaultConf : IceInternal.IncomingAsync, AMD_Meta_getDefaultConf
  35699. {
  35700. public _AMD_Meta_getDefaultConf(IceInternal.Incoming inc) : base(inc)
  35701. {
  35702. }
  35703.  
  35704. public void ice_response(_System.Collections.Generic.Dictionary<string, string> ret__)
  35705. {
  35706. if (validateResponse__(true))
  35707. {
  35708. try
  35709. {
  35710. IceInternal.BasicStream os__ = this.os__();
  35711. Murmur.ConfigMapHelper.write(os__, ret__);
  35712. }
  35713. catch (Ice.LocalException ex__)
  35714. {
  35715. ice_exception(ex__);
  35716. }
  35717. response__(true);
  35718. }
  35719. }
  35720.  
  35721. override public void ice_exception(_System.Exception ex)
  35722. {
  35723. try
  35724. {
  35725. throw ex;
  35726. }
  35727. catch (Murmur.InvalidSecretException ex__)
  35728. {
  35729. if (validateResponse__(false))
  35730. {
  35731. os__().writeUserException(ex__);
  35732. response__(false);
  35733. }
  35734. }
  35735. catch (_System.Exception ex__)
  35736. {
  35737. base.ice_exception(ex__);
  35738. }
  35739. }
  35740. }
  35741.  
  35742. /// <summary>
  35743. /// Fetch version of Murmur.
  35744. /// </summary>
  35745. [_System.Runtime.InteropServices.ComVisible(false)]
  35746. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35747. public interface AMD_Meta_getVersion : Ice.AMDCallback
  35748. {
  35749. /// <summary>
  35750. /// ice_response indicates that
  35751. /// the operation completed successfully.
  35752. /// </summary>
  35753. /// <param name="major">Major version.
  35754. /// </param>
  35755. /// <param name="minor">Minor version.
  35756. /// </param>
  35757. /// <param name="patch">Patchlevel.
  35758. /// </param>
  35759. /// <param name="text">Textual representation of version. Note that this may not match the major, minor and patch levels, as it
  35760. /// may be simply the compile date or the SVN revision. This is usually the text you want to present to users.</param>
  35761. void ice_response(int major, int minor, int patch, string text);
  35762. }
  35763.  
  35764. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35765. class _AMD_Meta_getVersion : IceInternal.IncomingAsync, AMD_Meta_getVersion
  35766. {
  35767. public _AMD_Meta_getVersion(IceInternal.Incoming inc) : base(inc)
  35768. {
  35769. }
  35770.  
  35771. public void ice_response(int major, int minor, int patch, string text)
  35772. {
  35773. if (validateResponse__(true))
  35774. {
  35775. try
  35776. {
  35777. IceInternal.BasicStream os__ = this.os__();
  35778. os__.writeInt(major);
  35779. os__.writeInt(minor);
  35780. os__.writeInt(patch);
  35781. os__.writeString(text);
  35782. }
  35783. catch (Ice.LocalException ex__)
  35784. {
  35785. ice_exception(ex__);
  35786. }
  35787. response__(true);
  35788. }
  35789. }
  35790. }
  35791.  
  35792. /// <summary>
  35793. /// Add a callback.
  35794. /// The callback will receive notifications when servers are started or stopped.
  35795. ///
  35796. /// </summary>
  35797. [_System.Runtime.InteropServices.ComVisible(false)]
  35798. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35799. public interface AMD_Meta_addCallback : Ice.AMDCallback
  35800. {
  35801. /// <summary>
  35802. /// ice_response indicates that
  35803. /// the operation completed successfully.
  35804. /// </summary>
  35805. void ice_response();
  35806. }
  35807.  
  35808. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35809. class _AMD_Meta_addCallback : IceInternal.IncomingAsync, AMD_Meta_addCallback
  35810. {
  35811. public _AMD_Meta_addCallback(IceInternal.Incoming inc) : base(inc)
  35812. {
  35813. }
  35814.  
  35815. public void ice_response()
  35816. {
  35817. if (validateResponse__(true))
  35818. {
  35819. response__(true);
  35820. }
  35821. }
  35822.  
  35823. override public void ice_exception(_System.Exception ex)
  35824. {
  35825. try
  35826. {
  35827. throw ex;
  35828. }
  35829. catch (Murmur.InvalidCallbackException ex__)
  35830. {
  35831. if (validateResponse__(false))
  35832. {
  35833. os__().writeUserException(ex__);
  35834. response__(false);
  35835. }
  35836. }
  35837. catch (Murmur.InvalidSecretException ex__)
  35838. {
  35839. if (validateResponse__(false))
  35840. {
  35841. os__().writeUserException(ex__);
  35842. response__(false);
  35843. }
  35844. }
  35845. catch (_System.Exception ex__)
  35846. {
  35847. base.ice_exception(ex__);
  35848. }
  35849. }
  35850. }
  35851.  
  35852. /// <summary>
  35853. /// Remove a callback.
  35854. /// </summary>
  35855. [_System.Runtime.InteropServices.ComVisible(false)]
  35856. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35857. public interface AMD_Meta_removeCallback : Ice.AMDCallback
  35858. {
  35859. /// <summary>
  35860. /// ice_response indicates that
  35861. /// the operation completed successfully.
  35862. /// </summary>
  35863. void ice_response();
  35864. }
  35865.  
  35866. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35867. class _AMD_Meta_removeCallback : IceInternal.IncomingAsync, AMD_Meta_removeCallback
  35868. {
  35869. public _AMD_Meta_removeCallback(IceInternal.Incoming inc) : base(inc)
  35870. {
  35871. }
  35872.  
  35873. public void ice_response()
  35874. {
  35875. if (validateResponse__(true))
  35876. {
  35877. response__(true);
  35878. }
  35879. }
  35880.  
  35881. override public void ice_exception(_System.Exception ex)
  35882. {
  35883. try
  35884. {
  35885. throw ex;
  35886. }
  35887. catch (Murmur.InvalidCallbackException ex__)
  35888. {
  35889. if (validateResponse__(false))
  35890. {
  35891. os__().writeUserException(ex__);
  35892. response__(false);
  35893. }
  35894. }
  35895. catch (Murmur.InvalidSecretException ex__)
  35896. {
  35897. if (validateResponse__(false))
  35898. {
  35899. os__().writeUserException(ex__);
  35900. response__(false);
  35901. }
  35902. }
  35903. catch (_System.Exception ex__)
  35904. {
  35905. base.ice_exception(ex__);
  35906. }
  35907. }
  35908. }
  35909.  
  35910. /// <summary>
  35911. /// Get murmur uptime.
  35912. /// </summary>
  35913. [_System.Runtime.InteropServices.ComVisible(false)]
  35914. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35915. public interface AMD_Meta_getUptime : Ice.AMDCallback
  35916. {
  35917. /// <summary>
  35918. /// ice_response indicates that
  35919. /// the operation completed successfully.
  35920. /// </summary>
  35921. /// <param name="ret__">(return value) Uptime of murmur in seconds</param>
  35922. void ice_response(int ret__);
  35923. }
  35924.  
  35925. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35926. class _AMD_Meta_getUptime : IceInternal.IncomingAsync, AMD_Meta_getUptime
  35927. {
  35928. public _AMD_Meta_getUptime(IceInternal.Incoming inc) : base(inc)
  35929. {
  35930. }
  35931.  
  35932. public void ice_response(int ret__)
  35933. {
  35934. if (validateResponse__(true))
  35935. {
  35936. try
  35937. {
  35938. IceInternal.BasicStream os__ = this.os__();
  35939. os__.writeInt(ret__);
  35940. }
  35941. catch (Ice.LocalException ex__)
  35942. {
  35943. ice_exception(ex__);
  35944. }
  35945. response__(true);
  35946. }
  35947. }
  35948. }
  35949.  
  35950. /// <summary>
  35951. /// Get slice file.
  35952. /// </summary>
  35953. [_System.Runtime.InteropServices.ComVisible(false)]
  35954. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35955. public interface AMD_Meta_getSlice : Ice.AMDCallback
  35956. {
  35957. /// <summary>
  35958. /// ice_response indicates that
  35959. /// the operation completed successfully.
  35960. /// </summary>
  35961. /// <param name="ret__">(return value) Contents of the slice file server compiled with.</param>
  35962. void ice_response(string ret__);
  35963. }
  35964.  
  35965. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35966. class _AMD_Meta_getSlice : IceInternal.IncomingAsync, AMD_Meta_getSlice
  35967. {
  35968. public _AMD_Meta_getSlice(IceInternal.Incoming inc) : base(inc)
  35969. {
  35970. }
  35971.  
  35972. public void ice_response(string ret__)
  35973. {
  35974. if (validateResponse__(true))
  35975. {
  35976. try
  35977. {
  35978. IceInternal.BasicStream os__ = this.os__();
  35979. os__.writeString(ret__);
  35980. }
  35981. catch (Ice.LocalException ex__)
  35982. {
  35983. ice_exception(ex__);
  35984. }
  35985. response__(true);
  35986. }
  35987. }
  35988. }
  35989.  
  35990. /// <summary>
  35991. /// Returns a checksum dict for the slice file.
  35992. /// </summary>
  35993. [_System.Runtime.InteropServices.ComVisible(false)]
  35994. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  35995. public interface AMD_Meta_getSliceChecksums : Ice.AMDCallback
  35996. {
  35997. /// <summary>
  35998. /// ice_response indicates that
  35999. /// the operation completed successfully.
  36000. /// </summary>
  36001. /// <param name="ret__">(return value) Checksum dict</param>
  36002. void ice_response(_System.Collections.Generic.Dictionary<string, string> ret__);
  36003. }
  36004.  
  36005. [_System.CodeDom.Compiler.GeneratedCodeAttribute("slice2cs", "3.4.2")]
  36006. class _AMD_Meta_getSliceChecksums : IceInternal.IncomingAsync, AMD_Meta_getSliceChecksums
  36007. {
  36008. public _AMD_Meta_getSliceChecksums(IceInternal.Incoming inc) : base(inc)
  36009. {
  36010. }
  36011.  
  36012. public void ice_response(_System.Collections.Generic.Dictionary<string, string> ret__)
  36013. {
  36014. if (validateResponse__(true))
  36015. {
  36016. try
  36017. {
  36018. IceInternal.BasicStream os__ = this.os__();
  36019. Ice.SliceChecksumDictHelper.write(os__, ret__);
  36020. }
  36021. catch (Ice.LocalException ex__)
  36022. {
  36023. ice_exception(ex__);
  36024. }
  36025. response__(true);
  36026. }
  36027. }
  36028. }
  36029. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement