コード例 #1
0
        public MessageHandler111111(string TransportType, string sUrl)
        {
            switch (TransportType)
            {
            case "0":
                m_messageClient = new SignalRSNone(sUrl);
                break;
            }

            observers = new List <IObserver <PayLoad> >();
            messages  = new List <PayLoad>();
        }
コード例 #2
0
        public static SignalRBase CreateFactory(string TransportType, string sUrl, APXControler apx)
        {
            SignalRBase s = null;

            switch (TransportType)
            {
            case "0":
                s = new SignalRSNone(sUrl, apx);
                break;
            }
            return(s);
        }