Esempio n. 1
0
 public Builder setConnectionParams(String host, int port, String username, String password) {
   result.invm = false;
   result.ycd = new YamcsConnectData();
   result.ycd.host = host;
   result.ycd.port = port;
   result.ycd.username = username;
   result.ycd.password = password;
   return this;
 }
Esempio n. 2
0
 public Builder setConnectionParams(YamcsConnectData ycd) {
   result.invm = (ycd.host == null);
   result.ycd = ycd;
   return this;
 }
Esempio n. 3
0
 public Builder setConnectionParams(String url) throws URISyntaxException {
   result.ycd = YamcsConnectData.parse(url);
   result.invm = (result.ycd.host == null);
   return this;
 }