/// <summary> /// This is called by the OnRecieve method of an incoming AcknowledgementPayload. /// </summary> internal void RecieveAcknowledgement() { KeepAliveMarker.Mark(); if (State == ConnectionState.Opening) { EnterStateOpen(); } }
private void EnqueueHandshake(bool ackRequired) { HandshakeSentMarker.Mark(); Connection.Enqueue(HandshakePayload.Generate(State, ackRequired)); }