Package org.external

Source Code of org.external.MyExternalApi

package org.external;

import org.apache.commons.lang.RandomStringUtils;
import org.external.model.Weather;

public class MyExternalApi {

  public String connect(String username, String password) {
    // STUB
    return RandomStringUtils.randomAlphabetic(15);
  }
 
  public void logout(String connectionId) {
    // STUB
  }
 
  public Weather getWeather(String sessionId, boolean celsius, String countryName, String cityName) {
    // STUB
    return new Weather();
  }
 
  public boolean isConnected() {
    return true;
  }
}
TOP

Related Classes of org.external.MyExternalApi

TOP
Copyright © 2018 www.massapi.com. 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.