public class CallBack_Skeleton implements CallBackInterface {
private int objectId = 0; // Default value is 0
- private final static String[] methodSignatures = {
-
- "intprintInt()",
- "voidsetInt(int)"
- };
private CallBackInterface cb;
private IoTRMIObject rmiObj;
}
- // Return method signatures
- public static String[] getMethodSignatures() {
-
- return methodSignatures;
- }
-
-
public static void main(String[] args) throws Exception {
int port = 5010;
private IoTRMICall rmiCall;
private int objectId = 0; // Default value is 0
- private final static String[] methodSignatures = {
-
- "intprintInt()",
- "voidsetInt(int)"
- };
/**
* Constructors
}
- // Return method signatures
- public static String[] getMethodSignatures() {
-
- return methodSignatures;
- }
-
-
public int printInt() {
int methodId = 0;
*/
private int objectId = 0; // Default value is 0
private static int objIdCnt = 0; // Counter for callback object Ids
- private final static String[] methodSignatures = {
-
- "voidsetA(int)", // 0
- "voidsetB(float)", // 1
- "voidsetC(string)", // 2
- "sumArray(string[])", // 3
- "intsetAndGetA(int)", // 4
- "intsetACAndGetA(string,int)", // 5
- "intcallBack()", // 6
- "voidregisterCallBack(CallBackInterface)", // 7
- "voidregisterCallBack(CallBackInterface[])", // 8
- "registercallback", // 9
- "handleStruct(StructJ[])", // 10
- "structsize" // 11
- };
-
private TestClassInterface tc;
private int port;
private IoTRMIObject rmiObj;
}
}
}
-
-
- // Return method signatures
- public static String[] getMethodSignatures() {
-
- return methodSignatures;
- }
public static void main(String[] args) throws Exception {
private final static int NUM_CB_OBJ = 1;
private int objectId = 0; // Default value is 0
private static int objIdCnt = 0; // Counter for callback object Ids
- private final static String[] methodSignatures = {
-
- "voidsetA(int)", // 0
- "voidsetB(float)", // 1
- "voidsetC(string)", // 2
- "sumArray(string[])", // 3
- "intsetAndGetA(int)", // 4
- "intsetACAndGetA(string,int)", // 5
- "intcallBack()", // 6
- "voidregisterCallBack(CallBackInterface)", // 7
- "voidregisterCallBack(CallBackInterface[])", // 8
- "registercallback", // 9
- "handleStruct(StructJ[])", // 10
- "structsize" // 11
- };
/**
* Constructors
}
- // Return method signatures
- public static String[] getMethodSignatures() {
-
- return methodSignatures;
- }
-
-
// Initialize callback
public void ___initCallBack() {