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 } }
public void IsStringReceived(string message) { string e = message; if (e == "") { return; } string command = Jsonparser.GetCommandIdentifier(e); if (command.Contains("node") || command.Contains("route") || command.Contains("session") || command.Contains("tunnel") || command.Contains("scene")) { ParseCommand(e, command); } else { //TODO add route for other TCP trafic } }