Skip to content
Snippets Groups Projects
Commit 8eb1c51f authored by Patient NTUMBA's avatar Patient NTUMBA
Browse files

Update dpws

parent 973ba237
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ public class BindingComponent {
java.lang.Integer intNine;
intNine = Integer.parseInt("9");
String interfaceDescFilePath;
interfaceDescFilePath = PathResolver.myFilePath(this.getClass(),"WebSocketserviceDescription.gxdl");
interfaceDescFilePath = PathResolver.myFilePath(this.getClass(),"DpwsserviceDescription.gxdl");
gmServiceRepresentation = ServiceDescriptionParser.getRepresentationFromGIDL(interfaceDescFilePath);
int num_interfaces = gmServiceRepresentation.getInterfaces().size();
subcomponent = new BcGmSubcomponent[num_interfaces][2];
......@@ -49,8 +49,8 @@ public class BindingComponent {
bcConfiguration2 = new BcConfiguration();
bcConfiguration1 .setSubcomponentRole(inter.getRole());
bcConfiguration2 .setSubcomponentRole(busRole);
String file1 = PathResolver.myFilePath(this.getClass(),"WebSocketconfig_block1_interface_"+String.valueOf((i + intOne)));
String file2 = PathResolver.myFilePath(this.getClass(),"WebSocketconfig_block2_interface_"+String.valueOf((i + intOne)));
String file1 = PathResolver.myFilePath(this.getClass(),"Dpwsconfig_block1_interface_"+String.valueOf((i + intOne)));
String file2 = PathResolver.myFilePath(this.getClass(),"Dpwsconfig_block2_interface_"+String.valueOf((i + intOne)));
bcConfiguration1 .parseFromJSON(gmServiceRepresentation, file1);
bcConfiguration2 .parseFromJSON(gmServiceRepresentation, file2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment