1 package SpeakerController;
3 import java.io.IOException;
5 import java.util.ArrayList;
6 import java.util.Arrays;
7 import iotrmi.Java.IoTRMICall;
8 import iotrmi.Java.IoTRMIObject;
10 import iotcode.interfaces.*;
12 public class SpeakerCallback_CallbackSkeleton implements SpeakerCallback {
14 private SpeakerCallback mainObj;
15 private int objectId = 0;
16 private String callbackAddress;
19 public SpeakerCallback_CallbackSkeleton(SpeakerCallback _mainObj, String _callbackAddress, int _objectId) throws Exception {
20 callbackAddress = _callbackAddress;
25 public void speakerDone() {
26 mainObj.speakerDone();
29 public void ___speakerDone(IoTRMIObject rmiObj) {
30 Object[] paramObj = rmiObj.getMethodParams(new Class<?>[] { },
35 public void invokeMethod(IoTRMIObject rmiObj) throws IOException {
36 int methodId = rmiObj.getMethodId();
38 case 0: ___speakerDone(rmiObj); break;
40 throw new Error("Method Id " + methodId + " not recognized!");