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; }
public Builder setConnectionParams(YamcsConnectData ycd) { result.invm = (ycd.host == null); result.ycd = ycd; return this; }
public Builder setConnectionParams(String url) throws URISyntaxException { result.ycd = YamcsConnectData.parse(url); result.invm = (result.ycd.host == null); return this; }