ed6df19524e03ed98f842b0d8d81e31d6d1b6479
[iot2.git] / iotjava / iotruntime / stub / IoTJSONStub.java
1 package iotruntime.stub;
2
3 import iotruntime.slave.IoTDeviceAddress;
4
5 /** IoTJSONStub abstract class that all the stubs are going
6  *  to implement
7  *
8  * @author      Rahmadi Trimananda <rahmadi.trimananda @ uci.edu>
9  * @version     1.0                
10  * @since       2016-04-20
11  */
12 public abstract class IoTJSONStub {
13
14         protected IoTDeviceAddress iotDevAddress;
15
16         /**
17          * Class constructor
18          *
19          * @param   iotdevAddress       IoTDeviceAddress object
20          */
21         public IoTJSONStub(IoTDeviceAddress _iotDevAddress) {
22
23                 this.iotDevAddress = _iotDevAddress;
24         }
25
26         public abstract void registerCallback(Object objCallback);
27 }
28