Example #1
0
        /// <summary>
        /// This is called by the OnRecieve method of an incoming AcknowledgementPayload.
        /// </summary>
        internal void RecieveAcknowledgement()
        {
            KeepAliveMarker.Mark();

            if (State == ConnectionState.Opening)
            {
                EnterStateOpen();
            }
        }
Example #2
0
 private void EnqueueHandshake(bool ackRequired)
 {
     HandshakeSentMarker.Mark();
     Connection.Enqueue(HandshakePayload.Generate(State, ackRequired));
 }