Example #1
0
 public static VRHandler getInstance()
 {
     if (Instance == null)
     {
         Instance = new VRHandler();
     }
     return(Instance);
 }
Example #2
0
        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
            }
        }