示例#1
0
 public Task <ACLData> GetACL(int chanid)
 {
     return(FixIce.FromAsync(chanid, S.begin_getACL, ar =>
     {
         var data = new ACLData();
         S.end_getACL(out data.ACLs, out data.Groups, out data.Inherit, ar);
         return data;
     }));
 }
示例#2
0
 public Task AddUserToGroup(int chanid, int sess, string grp)
 {
     return(FixIce.FromAsyncVoid(chanid, sess, grp, S.begin_addUserToGroup, S.end_addUserToGroup));
 }
示例#3
0
 public Task <Dictionary <int, Murmur.Channel> > GetChannels()
 {
     return(FixIce.FromAsync(S.begin_getChannels, S.end_getChannels));
 }
示例#4
0
 public Task <int> GetLogLen()
 {
     return(FixIce.FromAsync(S.begin_getLogLen, S.end_getLogLen));
 }
示例#5
0
 public Task SetSuperuserPassword(string pw)
 {
     return(FixIce.FromAsyncVoid(pw, S.begin_setSuperuserPassword, S.end_setSuperuserPassword));
 }
示例#6
0
 public Task <Dictionary <string, string> > GetAllConf()
 {
     return(FixIce.FromAsync(S.begin_getAllConf, S.end_getAllConf));
 }
示例#7
0
 public Task SetAuthenticator(Murmur.ServerAuthenticatorPrx sa)
 {
     return(FixIce.FromAsyncVoid(sa, S.begin_setAuthenticator, S.end_setAuthenticator));
 }
示例#8
0
 public Task <int> GetId()
 {
     return(FixIce.FromAsync(S.begin_id, S.end_id));
 }
示例#9
0
 public Task UnregisterUser(int userid)
 {
     return(FixIce.FromAsyncVoid(userid, S.begin_unregisterUser, S.end_unregisterUser));
 }
示例#10
0
 public Task <int> RegisterUser(Dictionary <Murmur.UserInfo, string> ui)
 {
     return(FixIce.FromAsync(ui, S.begin_registerUser, S.end_registerUser));
 }
示例#11
0
 public Task <bool> IsRunning()
 {
     return(FixIce.FromAsync(S.begin_isRunning, S.end_isRunning));
 }
示例#12
0
 public Task <Dictionary <string, int> > GetUserIds(params string[] names)
 {
     return(FixIce.FromAsync(names, S.begin_getUserIds, S.end_getUserIds));
 }
示例#13
0
 public Task <Dictionary <int, string> > GetUserNames(params int[] ids)
 {
     return(FixIce.FromAsync(ids, S.begin_getUserNames, S.end_getUserNames));
 }
示例#14
0
 public Task RedirectWhisperGroup(int sess, string src, string target)
 {
     return(FixIce.FromAsyncVoid(sess, src, target, S.begin_redirectWhisperGroup, S.end_redirectWhisperGroup));
 }
示例#15
0
 public Task RemoveUserFromGroup(int chanid, int sess, string grp)
 {
     return(FixIce.FromAsyncVoid(chanid, sess, grp, S.begin_removeUserFromGroup, S.end_removeUserFromGroup));
 }
示例#16
0
 public Task Start()
 {
     return(FixIce.FromAsyncVoid(S.begin_start, S.end_start));
 }
示例#17
0
 public Task Delete()
 {
     return(FixIce.FromAsyncVoid(S.begin_delete, S.end_delete));
 }
示例#18
0
 public Task UpdateRegistration(int uid, Dictionary <Murmur.UserInfo, string> ui)
 {
     return(FixIce.FromAsyncVoid(uid, ui, S.begin_updateRegistration, S.end_updateRegistration));
 }
示例#19
0
 public Task RemoveCallback(Murmur.ServerCallbackPrx sc)
 {
     return(FixIce.FromAsyncVoid(sc, S.begin_removeCallback, S.end_removeCallback));
 }
示例#20
0
 public Task <Dictionary <Murmur.UserInfo, string> > GetRegistration(int userid)
 {
     return(FixIce.FromAsync(userid, S.begin_getRegistration, S.end_getRegistration));
 }
示例#21
0
 public Task <string> GetConf(string key)
 {
     return(FixIce.FromAsync(key, S.begin_getConf, S.end_getConf));
 }
示例#22
0
 public Task <Dictionary <int, string> > GetRegisteredUsers(string filter)
 {
     return(FixIce.FromAsync(filter, S.begin_getRegisteredUsers, S.end_getRegisteredUsers));
 }
示例#23
0
 public Task SetConf(string key, string value)
 {
     return(FixIce.FromAsyncVoid(key, value, S.begin_setConf, S.end_setConf));
 }
示例#24
0
 public Task <int> VerifyPassword(string name, string pw)
 {
     return(FixIce.FromAsync(name, pw, S.begin_verifyPassword, S.end_verifyPassword));
 }
示例#25
0
 public Task <Murmur.LogEntry[]> GetLog(int first, int last)
 {
     return(FixIce.FromAsync(first, last, S.begin_getLog, S.end_getLog));
 }
示例#26
0
 public Task <byte[]> GetTexture(int userid)
 {
     return(FixIce.FromAsync(userid, S.begin_getTexture, S.end_getTexture));
 }
示例#27
0
 public Task <Dictionary <int, Murmur.User> > GetUsers()
 {
     return(FixIce.FromAsync(S.begin_getUsers, S.end_getUsers));
 }
示例#28
0
 public Task SetTexture(int userid, byte[] tex)
 {
     return(FixIce.FromAsyncVoid(userid, tex, S.begin_setTexture, S.end_setTexture));
 }
示例#29
0
 public Task <byte[][]> GetCertificateList(int session)
 {
     return(FixIce.FromAsync(session, S.begin_getCertificateList, S.end_getCertificateList));
 }
示例#30
0
 public Task <int> GetUptime()
 {
     return(FixIce.FromAsync(S.begin_getUptime, S.end_getUptime));
 }