예제 #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));
 }