Package com.sos.VirtualFileSystem.Options

Examples of com.sos.VirtualFileSystem.Options.SOSConnection2OptionsSuperClass


      SOSConnection2OptionsAlternate objT = this.getConnectionOptions().Target();
      objT.host.Value(this.host.Value());
      objT.port.value(this.port.value());
      objT.protocol.Value(this.protocol.Value());
      objT.passive_mode.Value(this.passive_mode.Value());
      SOSConnection2OptionsSuperClass objAlt = objT.Alternatives();
      objAlt.host.Value(this.alternative_host.Value());
      objAlt.port.value(this.alternative_port.value());
      objAlt.protocol.Value(this.protocol.Value());
      objT.passive_mode.Value(this.alternative_passive_mode.Value());
    }
View Full Code Here


      objT.user = this.user;
      objT.password = this.password;
      objT.ssh_auth_file = this.ssh_auth_file;
      objT.ssh_auth_method = this.ssh_auth_method;
      objT.passive_mode = this.passive_mode;
      SOSConnection2OptionsSuperClass objAlt = objT.Alternatives();
      objAlt.host.Value(this.alternative_host.Value());
      objAlt.port.value(this.alternative_port.value());
      objAlt.protocol.Value(this.protocol.Value());
      objT.passive_mode.Value(this.alternative_passive_mode.Value());
    }
    else {
      if (this.operation.Value().equalsIgnoreCase("receive")) {
        strDataSourceType = this.protocol.Value();
        if (strDataSourceType.length() <= 0) {
          strDataSourceType = enuTransferTypes.local.Text();
          ;
        }
        changeDirValues4Receive();
        SOSConnection2OptionsAlternate objT = this.getConnectionOptions().Source();
        objT.host.Value(this.host.Value());
        objT.port.value(this.port.value());
        objT.protocol.Value(this.protocol.Value());
        objT.passive_mode.Value(this.passive_mode.Value());
        objT.user = this.user;
        objT.password = this.password;
        objT.ssh_auth_file = this.ssh_auth_file;
        objT.ssh_auth_method = this.ssh_auth_method;
        SOSConnection2OptionsSuperClass objAlt = objT.Alternatives();
        objAlt.host.Value(this.alternative_host.Value());
        objAlt.port.value(this.alternative_port.value());
        objAlt.protocol.Value(this.protocol.Value());
        objT.passive_mode.Value(this.alternative_passive_mode.Value());
      }
View Full Code Here

    try {
      objHost = objConnection2Options.getHost();
      objPort = objConnection2Options.getport();
      this.connect(objHost.Value(), objPort.value());
      if (Client().isConnected() == false) {
        SOSConnection2OptionsSuperClass objAlternate = objConnection2Options.Alternatives();
        objHost = objAlternate.host;
        objPort = objAlternate.port;
        logger.info(String.format("try alternate host due to connection-error", host));
        this.connect(objHost.Value(), objPort.value());
        if (Client().isConnected() == false) {
View Full Code Here

    try {
      objHost = objConnection2Options.getHost();
      objPort = objConnection2Options.getport();
      this.connect(objHost.Value(), objPort.value());
      if (Client().isConnected() == false) {
        SOSConnection2OptionsSuperClass objAlternate = objConnection2Options.Alternatives();
        objHost = objAlternate.host;
        objPort = objAlternate.port;
        logger.info(String.format("try alternate host due to connection-error", host));
        this.connect(objHost.Value(), objPort.value());
        if (Client().isConnected() == false) {
View Full Code Here

      objPort.CheckMandatory();
      host = objHost.Value();
      port = objPort.value();
      this.connect(objHost.Value(), objPort.value());
      if (isConnected == false) {
        SOSConnection2OptionsSuperClass objAlternate = objConnection2Options.Alternatives();
        objHost = objAlternate.host;
        objPort = objAlternate.port;
        host = objHost.Value();
        port = objPort.value();
        logger.info(String.format("try alternate host due to connection-error ", host));
View Full Code Here

TOP

Related Classes of com.sos.VirtualFileSystem.Options.SOSConnection2OptionsSuperClass

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.