Beispiel #1
0
 public RehandshakingState(
     BayeuxClient bayeuxClient,
     IDictionary <string, object> handshakeFields,
     ClientTransport transport,
     long backoff)
     : base(bayeuxClient, State.REHANDSHAKING, handshakeFields, null, transport, null, backoff)
 {
 }
Beispiel #2
0
 public ConnectedState(
     BayeuxClient bayeuxClient,
     IDictionary <string, object> handshakeFields,
     IDictionary <string, object> advice,
     ClientTransport transport,
     string clientId)
     : base(bayeuxClient, State.CONNECTED, handshakeFields, advice, transport, clientId, 0)
 {
 }
Beispiel #3
0
 public UnconnectedState(
     BayeuxClient bayeuxClient,
     IDictionary <string, object> handshakeFields,
     IDictionary <string, object> advice,
     ClientTransport transport,
     string clientId,
     long backoff)
     : base(bayeuxClient, State.UNCONNECTED, handshakeFields, advice, transport, clientId, backoff)
 {
 }
 public BayeuxClientState(BayeuxClient bayeuxClient, State type, IDictionary <string, object> handshakeFields,
                          IDictionary <string, object> advice, ClientTransport transport, string clientId, long backoff)
 {
     this.bayeuxClient    = bayeuxClient;
     this.type            = type;
     this.handshakeFields = handshakeFields;
     this.advice          = advice;
     this.transport       = transport;
     this.clientId        = clientId;
     this.backoff         = backoff;
 }
Beispiel #5
0
 protected BayeuxClientState(
     BayeuxClient bayeuxClient,
     State type,
     IDictionary <string, object> handshakeFields,
     IDictionary <string, object> advice,
     ClientTransport transport,
     string clientId,
     long backoff)
 {
     _bayeuxClient   = bayeuxClient;
     TypeValue       = type;
     HandshakeFields = handshakeFields;
     Advice          = advice;
     Transport       = transport;
     ClientId        = clientId;
     Backoff         = backoff;
 }
 public BayeuxClientChannel(BayeuxClient bayeuxClient, ChannelId channelId, long replayId)
     : base(channelId, replayId)
 {
     this.bayeuxClient = bayeuxClient;
 }
 public DisconnectTransportListener(BayeuxClient bayeuxClient)
     : base(bayeuxClient)
 {
 }
 public HandshakeTransportListener(BayeuxClient bayeuxClient)
     : base(bayeuxClient)
 {
 }
 public PublishTransportListener(BayeuxClient bayeuxClient)
 {
     this.bayeuxClient = bayeuxClient;
 }
 public DisconnectingState(BayeuxClient bayeuxClient, ClientTransport transport, string clientId)
     : base(bayeuxClient, State.DISCONNECTING, null, null, transport, clientId, 0)
 {
 }
 public HandshakingState(BayeuxClient bayeuxClient, IDictionary <string, object> handshakeFields, ClientTransport transport)
     : base(bayeuxClient, State.HANDSHAKING, handshakeFields, null, transport, null, 0)
 {
 }
 public AbortedState(BayeuxClient bayeuxClient, ClientTransport transport)
     : base(bayeuxClient, transport)
 {
 }
 public DisconnectedState(BayeuxClient bayeuxClient, ClientTransport transport)
     : base(bayeuxClient, State.DISCONNECTED, null, null, transport, null, 0)
 {
 }