Пример #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));
 }