Esempio n. 1
0
File: Peer.cs Progetto: habbes/organ
        public async Task <IChannel> CreateChannel(string channelId, long currencyWindow = 10)
        {
            var channel = new LocalChannel(channelId, currencyWindow);
            await directory.RegisterChannel(Id, channelId);

            channels.AddChannel(channel);
            return(channel);
        }