예제 #1
0
        public void Handle(Netool.Network.IChannel c)
        {
            var channel = c as HttpServerChannel;

            if (channel == null)
            {
                return;
            }
            channel.RequestReceived += channel_RequestReceived;
        }
예제 #2
0
 public bool CanAccept(Netool.Network.IChannel c)
 {
     return(c is HttpServerChannel);
 }