public static VRHandler getInstance() { if (Instance == null) { Instance = new VRHandler(); } return(Instance); }
public void IsStringReceived(string message) { String e = message; String command = Jsonparser.GetCommandIdentifier(e); if (command.Contains("node") || command.Contains("route") || command.Contains("session") || command.Contains("tunnel") || command.Contains("scene")) { VRHandler.getInstance().ParseCommand(e, command); } else { //TODO add route for other TCP trafic } }