gateway ctor add gateId paramter support manager multi gate