private object negotiate;
private object read;
private object write;
+ private ReadDelegate rd;
#endregion
}
// return the record(s) to the caller
- ReadDelegate rd = new ReadDelegate (this.inputBuffer.Read);
+ rd = new ReadDelegate (this.inputBuffer.Read);
asyncResult = rd.BeginInvoke (buffer, offset, count, callback, state);
}
catch (TlsException ex)
}\r
recordEvent.Reset ();
- return this.inputBuffer.EndRead (asyncResult);
+ return this.rd.EndInvoke (asyncResult);
}
public override void EndWrite(IAsyncResult asyncResult)