Whatever message this page gives is out now! Go check it out!
public void gatewayName() public void gatewayName(String id) public void gatewayName(String id, String configFile) |
| Parameter | Description |
id | The identifier for the gateway instance |
configFile | The absolute path to the gateway configuration file. |
public SocketGateway(String id, String configpath) { propsFilePath=configpath; try { FileInputStream propsFile = new FileInputStream(propsFilePath); properties.load(propsFile); propsFile.close(); this.loadProperties(); } catch (FileNotFoundException f) { // do nothing. use default value for port. } catch (IOException e) { e.printStackTrace(); } gatewayID = id; gatewayService = GatewayServices.getGatewayServices(); } |