public static SerialDataHandler getInstance() { if (Instance == null) { Instance = new SerialDataHandler(); } return(Instance); }
private VRHandler() { tcph = TCPDataHandler.GetInstance(); this.PcName = Environment.UserName; entities = new List <Entity>(); @lock = false; tcph.AddTCPConnection("145.48.6.10", 6666); SerialDataHandler.getInstance().AddSubscriberToHandler(this); chatMessages = new List <String>(); }