summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/contrib/samples/comet-webapp/src/main/java/org/apache/tuscany/sca/sample/comet/TemperatureService.java
blob: 51714786e8b312cffbcdb817ea8efe16dc4b0e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.apache.tuscany.sca.sample.comet;

import org.apache.tuscany.sca.sample.comet.model.Location;
import org.apache.tuscany.sca.sample.comet.model.Response;
import org.oasisopen.sca.annotation.Remotable;

@Remotable
public interface TemperatureService {

    public static final int CELSIUS = 1;
    public static final int FAHRENHEIT = 2;

    Response getTemperature(Location location, int scale);

}