func init() { netfw.RegisterComponent("seasonrank", func(p netfw.IPeer) netfw.IComponent { return &oprPrevSeasonRankCom{} }) }
func init() { netfw.RegisterComponent("userdata", func(p netfw.IPeer) netfw.IComponent { return &oprUserDataCom{} }) }
func init() { netfw.RegisterComponent("icloud", func(p netfw.IPeer) netfw.IComponent { return &oprIcloudCom{} }) }
func init() { netfw.RegisterComponent(componentName, func(p netfw.IPeer) netfw.IComponent { return &relayComponent{ peerImplementor: p, } }) }
func init() { // 取得消息对应的消息ID netfw.RegisterComponent(componentName, func(p netfw.IPeer) netfw.IComponent { c := &rpcComponent{ callDataMap: make(map[int64]*Call), rpcIDacc: 1, peerImplementor: p, } c.SetTimeout(3000) return c }) }
func init() { netfw.RegisterComponent("login", func(p netfw.IPeer) netfw.IComponent { return &oprloginComponent{} }) }