public interface TestClassInterface { public short getShort(short in); public void registerCallback(CallBackInterface _cb); public int callBack(); public List getCharList(List in); public Enum[] handleEnumStruct(Enum en[], List str, char c); public List handleStructList(List str); public void registerCallbackArray(CallBackInterface _cb[]); public void registerCallbackList(List _cb); capability Callbacks { description = "All the set-and-get methods"; method = "getShort(short in)"; method = "registerCallback(CallBackInterface _cb)"; method = "callBack()"; method = "getCharList(List in)"; method = "handleEnumStruct(Enum en[], List str, char c)"; method = "handleStructList(List str)"; method = "registerCallbackArray(CallBackInterface _cb[])"; method = "registerCallbackList(List _cb)"; } enum Enum { APPLE, ORANGE, GRAPE } struct Struct { string name; float value; int year; } }