public ServerSentEventsTransport(Connection con)
            : base("serverSentEvents", con)
        {

        }
        public PostSendTransportBase(string name, Connection con)
            : base(name, con)
        {

        }
 public PollingTransport(Connection connection)
     : base("longPolling", connection)
 {
     this.LastPoll = DateTime.MinValue;
     this.PollTimeout = connection.NegotiationResult.ConnectionTimeout + TimeSpan.FromSeconds(10);
 }
 public NegotiationData(Connection connection)
 {
     this.Connection = connection;
 }
Esempio n. 5
0
 public Hub(string name, Connection manager)
 {
     this.Name = name;
     (this as IHub).Connection = manager;
 }
 public TransportBase(string name, Connection connection)
 {
     this.Name = name;
     this.Connection = connection;
     this.State = TransportStates.Initial;
 }