Package cn.com.zjtelecom.smgp.message

Examples of cn.com.zjtelecom.smgp.message.SubmitRespMessage


            // submit
            SubmitMessage submitMessage = new SubmitMessage(Message);
            Submit submit = submitMessage.getSubmit();
            SubmitResult submitResult = this.serversim.onSumit(
                submit, this.account);
            SubmitRespMessage submitRespMessage = new SubmitRespMessage(
                SequenceId, submitResult.getStatus(),
                submitResult.getMsgID());
            SendBuf(submitRespMessage.getBuf());
            break;
          case (0x00000004):
            // ActiveTest
            ActiveTestRespMessage activeTestRespMessage = new ActiveTestRespMessage(
                SequenceId);
View Full Code Here


          }
          break;
        case 0x80000001: // Login_Resp
          break;
        case 0x80000002: // Submit_Resp
          SubmitRespMessage submitRespMessage = new SubmitRespMessage(
              this.CurPack.Message);
          this.onSubmitResp(submitRespMessage);
          break;
        case 0x80000006: // Exit_Resp
          break;
View Full Code Here

        e.printStackTrace();
      }
    }

    Result result = new Result();
    SubmitRespMessage srm = new SubmitRespMessage(this.CurPack.Message);
    // if (srm==null) {
    // return (new Result(-1,"Login Fail"));
    // } else {
    return (new Result(srm.getStatus(), srm.getMsgID()));
    // }

  }
View Full Code Here

        e.printStackTrace();
      }
    }

    if (tmppack != null) {
      SubmitRespMessage srm = new SubmitRespMessage(tmppack.Message);
      return (new Result(srm.getStatus(), srm.getMsgID()));
    } else {
      System.out.println("SubmitResp��ʱ��" + "Seq:" + tmpseq);
      return (new Result(-1, "00000000000000000000"));

    }
View Full Code Here

        e.printStackTrace();
      }
    }

    Result result = new Result();
    SubmitRespMessage srm = new SubmitRespMessage(this.CurPack.Message);
    // if (srm==null) {
    // return (new Result(-1,"Login Fail"));
    // } else {
    return (new Result(srm.getStatus(), srm.getMsgID()));
    // }

  }
View Full Code Here

TOP

Related Classes of cn.com.zjtelecom.smgp.message.SubmitRespMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.