1 package org.iotivity.base.examples.simpleserver;
\r
3 import org.iotivity.base.OcPlatform;
\r
5 * StringConstants contains the simpleserver specific constant values. To add another supported
\r
6 * Resource or Interface type to this app, begin by adding the new strings here, and then
\r
7 * find the places throughout the app where Resource-specific case switches occur, and add
\r
8 * the newly-supported type there.
\r
10 public interface StringConstants {
\r
11 public static final String RESOURCE_URI0 = "/light0";
\r
12 public static final String RESOURCE_URI1 = "/light1";
\r
13 public static final String RESOURCE_TYPENAME = "core.light";
\r
14 public static final String RESOURCE_INTERFACE = OcPlatform.DEFAULT_INTERFACE; //resource interface
\r
15 public static final String CREATED_URI = "createduri";
\r
16 public static final String STATE = "state";
\r
17 public static final String NAME = "name";
\r
18 public static final String POWER = "power";
\r
19 public static final String MESSAGE = "message";
\r
20 public static final int ERROR_CODE = 200;
\r