gateHandler.js 700 B

1234567891011121314151617181920
  1. /*-----------------------------------------------
  2. *本文件由代码生成器自动生成,
  3. *千万不要修改本文件的任何代码,
  4. *修改的的任何代码都会被覆盖掉!
  5. --------------------------------------------------*/
  6. var async = require('asyncawait/async');
  7. var await = require('asyncawait/await');
  8. var GateHandler = function(socket){
  9. this.socket = socket;
  10. }
  11. GateHandler.prototype.queryEntryRequest = async(function(c2s_uid,c2s_sign,c2s_time,c2s_logicServerId){
  12. return await(this.socket.requestAsync('gate.gateHandler.queryEntryRequest',{c2s_uid:c2s_uid,c2s_sign:c2s_sign,c2s_time:c2s_time,c2s_logicServerId:c2s_logicServerId}));
  13. });
  14. module.exports = GateHandler;