private void Rejoin(TimeSpan?timeout = null) { if (IsLeaving()) { return; } Socket.LeaveOpenTopic(Topic); State = ChannelState.Joining; _joinPush.Resend(timeout ?? _timeout); }
//sendJoin(timeout){ // this.state = CHANNEL_STATES.joining // this.joinPush.resend(timeout) //} private void SendJoin(int timeout) { _state = ChannelState.Joining; _joinPush.Resend(timeout); }