Beispiel #1
0
        public FunctionResult RemoveObserver(IFFTAICommunicationOperationConnectionStatusObserver observer)
        {
            if (ConnectionStatusObservers.Contains(observer) == true)
            {
                ConnectionStatusObservers.Remove(observer);
            }

            return(FunctionResult.Success);
        }
Beispiel #2
0
        //-------------------------------------------- Observer Notification Function (Connection Status Observer) ----------------------------

        public FunctionResult AddObserver(IFFTAICommunicationOperationConnectionStatusObserver observer)
        {
            if (ConnectionStatusObservers.Contains(observer) == true)
            {
                return(FunctionResult.Success);
            }

            ConnectionStatusObservers.Add(observer);

            return(FunctionResult.Success);
        }