protected void DoTargetTooHigh(Message msg, int msgSeqNum)
{
string beginString = msg.Header.GetField(Fields.Tags.BeginString);
this.Log.OnEvent("MsgSeqNum too high, expecting " + state_.GetNextTargetMsgSeqNum() + " but received " + msgSeqNum);
state_.Queue(msgSeqNum, msg);
if (state_.ResendRequested())
{
ResendRange range = state_.GetResendRange();
if (!this.SendRedundantResendRequests && msgSeqNum >= range.BeginSeqNo)
{
this.Log.OnEvent("Already sent ResendRequest FROM: " + range.BeginSeqNo + " TO: " + range.EndSeqNo + ". Not sending another.");
return;
}
}
GenerateResendRequest(beginString, msgSeqNum);
}