1 package iotruntime.master;
3 /** A class that construct object initialization info
5 * @author Rahmadi Trimananda <rahmadi.trimananda @ uci.edu>
10 public class ObjectInitInfo extends ObjectCreationInfo {
13 * ObjectInitInfo properties
15 protected int iRMIRegPort;
16 protected int iRMIStubPort;
17 protected Integer[] iRMICallbackPorts;
23 public ObjectInitInfo(String _strIoTSlaveObjectHostAdd, String _strObjName,
24 String _strObjClassName, String _strObjClassInterfaceName, String _strObjStubClsIntfaceName,
25 int _iRMIRegPort, int _iRMIStubPort, Integer[] _iRMICallbackPorts) {
27 super(_strIoTSlaveObjectHostAdd, _strObjName, _strObjClassName, _strObjClassInterfaceName, _strObjStubClsIntfaceName);
28 iRMIRegPort = _iRMIRegPort;
29 iRMIStubPort = _iRMIStubPort;
30 iRMICallbackPorts = _iRMICallbackPorts;
34 * Method getRMIRegistryPort()
36 public int getRMIRegistryPort() {
41 * Method getRMIStubPort()
43 public int getRMIStubPort() {
48 * Method getRMICallbackPorts()
50 public Integer[] getRMICallbackPorts() {
51 return iRMICallbackPorts;