Example #1
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);
        }
Example #2
0
 public SignalRSNone(string sUrl, APXControler apx) : base(sUrl)//,apx)
 {
     base.m_transportType = con.HttpTransportType.None;
     base.m_hubConnection = new HubConnectionBuilder().WithUrl(sUrl).Build();
 }