public void Handle(Netool.Network.IChannel c) { var channel = c as HttpServerChannel; if (channel == null) { return; } channel.RequestReceived += channel_RequestReceived; }
public bool CanAccept(Netool.Network.IChannel c) { return(c is HttpServerChannel); }