public void RegisterHttpHandler <T>(HttpMsgRouter.MsgHandler handler) where T : IProtocolHead { network.RegisterHttpHandler <T>(handler); }