Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PostSendCommandProcessing()

bool System.Net.CommandStream.PostSendCommandProcessing ( ref Stream stream)
inlineprivateinherited

Definition at line 288 of file CommandStream.cs.

289 {
290 if (_doRead)
291 {
292 bool isAsync = _isAsync;
293 int index = _index;
294 PipelineEntry[] commands = _commands;
295 try
296 {
297 ResponseDescription currentResponseDescription = ReceiveCommandResponse();
298 if (isAsync)
299 {
300 return true;
301 }
302 _currentResponseDescription = currentResponseDescription;
303 }
304 catch
305 {
306 if (index < 0 || index >= commands.Length || commands[index].Command != "QUIT\r\n")
307 {
308 throw;
309 }
310 }
311 }
313 }
ResponseDescription _currentResponseDescription
PipelineEntry[] _commands
bool PostReadCommandProcessing(ref Stream stream)
ResponseDescription ReceiveCommandResponse()

References System.Net.CommandStream._commands, System.Net.CommandStream._currentResponseDescription, System.Net.CommandStream._doRead, System.Net.CommandStream._index, System.Net.CommandStream._isAsync, System.Net.CommandStream.PipelineEntry.Command, System.index, System.Net.CommandStream.PostReadCommandProcessing(), System.Net.CommandStream.ReceiveCommandResponse(), and System.stream.

Referenced by System.Net.CommandStream.ContinueCommandPipeline(), and System.Net.CommandStream.WriteCallback().