Esempio n. 1
0
        public async Task <IReadOnlyList <GetServerGroupClientList> > GetServerGroupClientList(int serverGroupDatabaseId)
        {
            var res = await Client.Send("servergroupclientlist", new Parameter("sgid", serverGroupDatabaseId)).ConfigureAwait(false);

            return(DataProxy.SerializeGeneric <GetServerGroupClientList>(res));
        }
Esempio n. 2
0
        public async Task <IReadOnlyList <GetServerGroupListInfo> > GetServerGroups()
        {
            var res = await Client.Send("servergrouplist").ConfigureAwait(false);

            return(DataProxy.SerializeGeneric <GetServerGroupListInfo>(res));
        }
Esempio n. 3
0
        public async Task <IReadOnlyList <GetChannelListInfo> > GetChannels()
        {
            var res = await Client.Send("channellist").ConfigureAwait(false);

            return(DataProxy.SerializeGeneric <GetChannelListInfo>(res));
        }
Esempio n. 4
0
        public async Task <IReadOnlyCollection <FoundChannel> > FindChannel()
        {
            var res = await Client.Send("channelfind").ConfigureAwait(false);

            return(DataProxy.SerializeGeneric <FoundChannel>(res));
        }
Esempio n. 5
0
        public async Task <IReadOnlyList <GetServerGroup> > GetServerGroups(int clientDatabaseId)
        {
            var res = await Client.Send("servergroupsbyclientid", new Parameter("cldbid", clientDatabaseId)).ConfigureAwait(false);

            return(DataProxy.SerializeGeneric <GetServerGroup>(res));
        }