First commit
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import AASMini.AASMini;
|
||||
import ProtegeGX.ProtegeGX;
|
||||
|
||||
public class Main {
|
||||
private static AASMini aas;
|
||||
private static ProtegeGX protegeGX;
|
||||
|
||||
private static String aasIP = "192.168.10.10";
|
||||
private static int aasPort = 8080;
|
||||
public static void main(String[] args) {
|
||||
@@ -9,10 +12,14 @@ public class Main {
|
||||
public void run() {
|
||||
System.out.println("Shutting down...");
|
||||
if (aas!=null) aas.Disconnect();
|
||||
if (protegeGX!=null) protegeGX.Disconnect();
|
||||
}
|
||||
});
|
||||
|
||||
System.out.println("Protege to AAS Mini Connector");
|
||||
|
||||
protegeGX = new ProtegeGX();
|
||||
|
||||
aas = new AASMini(aasIP, aasPort);
|
||||
aas.Connect();
|
||||
}
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
package ProtegeGX;
|
||||
|
||||
public class ProtegeGX {
|
||||
public ProtegeGX(){
|
||||
System.out.println("ProtegeGX Constructor");
|
||||
//TODO belum ada codingan, tunggu apache cxf jar nya
|
||||
}
|
||||
|
||||
public void Disconnect(){
|
||||
//TODO belum ada codingan, tunggu apache cxf jar nya
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user