Package cn.com.zjtelecom.smgp.connect

Examples of cn.com.zjtelecom.smgp.connect.PConnect


  private PConnect pconnect;
  private Result LoginResult;

  public Client(String host, int port, int loginmode, String clientid,
      String clientpasswd, String spid, int displaymode) {
    this.pconnect = new PConnect(host, port, loginmode, clientid,
        clientpasswd, spid, displaymode);
    this.pconnect.start();
    this.LoginResult = this.pconnect.Login();
    if (this.LoginResult.ErrorCode != 0) {
      this.pconnect.stop();
View Full Code Here


    }
  }

  public Client(String host, int port, int loginmode, String clientid,
      String clientpasswd, String spid) {
    this.pconnect = new PConnect(host, port, loginmode, clientid,
        clientpasswd, spid);
    this.pconnect.start();
    this.LoginResult = this.pconnect.Login();
    if (this.LoginResult.ErrorCode != 0) {
      this.pconnect.stop();
View Full Code Here

TOP

Related Classes of cn.com.zjtelecom.smgp.connect.PConnect

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.