Phoenix.Push.Resend C# (CSharp) Method

Resend() public method

public Resend ( int timeout ) : void
timeout int
return void
    public void Resend(int timeout)
    {
      _channel.Socket.Log("push resend", _ref);
      _timeout = timeout;

      CancelRefEvent();

      _ref = null;
      _refEvent = null;
      _receivedResp = null;
      //_sent = false;

      Send();
    }

Usage Example

コード例 #1
0
        private void Rejoin(TimeSpan?timeout = null)
        {
            if (IsLeaving())
            {
                return;
            }

            Socket.LeaveOpenTopic(Topic);
            State = ChannelState.Joining;
            _joinPush.Resend(timeout ?? _timeout);
        }
All Usage Examples Of Phoenix.Push::Resend