1 type derived from AsyncProtocolRequest
System (1)
net\System\Net\SecureProtocols\_SslStream.cs (1)
1047private class SplitWriteAsyncProtocolRequest: AsyncProtocolRequest
6 instantiations of AsyncProtocolRequest
System (6)
net\System\Net\SecureProtocols\_SslState.cs (2)
569asyncRequest = new AsyncProtocolRequest(lazyResult); 633AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(new LazyAsyncResult(this, null, new AsyncCallback(RehandshakeCompleteCallback)));
net\System\Net\SecureProtocols\_SslStream.cs (2)
130AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(bufferResult); 172AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(lazyResult);
net\System\Net\SecureProtocols\NegotiateStream.cs (2)
580AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(bufferResult); 646AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(bufferResult);
61 references to AsyncProtocolRequest
System (61)
net\System\Net\SecureProtocols\_FixedSizeReader.cs (3)
34private AsyncProtocolRequest _Request; 72public void AsyncReadPacket(AsyncProtocolRequest request) 143AsyncProtocolRequest request = reader._Request;
net\System\Net\SecureProtocols\_HelperAsyncResults.cs (1)
65internal delegate void AsyncProtocolCallback(AsyncProtocolRequest asyncRequest);
net\System\Net\SecureProtocols\_NegoStream.cs (11)
122private void ProcessWrite(byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 156private void StartWriting(byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 205private int ProcessRead(byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 253private int StartReading(byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 266private int StartFrameHeader(byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 288private int StartFrameBody(int readBytes, byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 342private int ProcessFrameBody(int readBytes, byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 389GlobalLog.Assert(transportResult.AsyncState is AsyncProtocolRequest , "NegotiateSteam::WriteCallback|State type is wrong, expected AsyncProtocolRequest."); 391AsyncProtocolRequest asyncRequest = (AsyncProtocolRequest) transportResult.AsyncState; 413private static void ReadCallback(AsyncProtocolRequest asyncRequest)
net\System\Net\SecureProtocols\_SslState.cs (26)
566AsyncProtocolRequest asyncRequest = null; 633AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(new LazyAsyncResult(this, null, new AsyncCallback(RehandshakeCompleteCallback))); 644private void ForceAuthentication(bool receiveFirst, byte[] buffer, AsyncProtocolRequest asyncRequest) 747private void StartSendBlob(byte[] incoming, int count, AsyncProtocolRequest asyncRequest) 801private void CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) 829private void StartReceiveBlob(byte[] buffer, AsyncProtocolRequest asyncRequest) 866private void StartReadFrame(byte[] buffer, int readBytes, AsyncProtocolRequest asyncRequest) 916private void ProcessReceivedBlob(byte[] buffer, int count, AsyncProtocolRequest asyncRequest) 963private void StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception) 1026AsyncProtocolRequest asyncRequest; 1033asyncRequest = (AsyncProtocolRequest) transportResult.AsyncState; 1071private static void PartialFrameCallback(AsyncProtocolRequest asyncRequest) 1091private static void ReadFrameCallback(AsyncProtocolRequest asyncRequest) 1117private bool CheckEnqueueHandshakeRead(ref byte[] buffer, AsyncProtocolRequest request) 1185internal int CheckEnqueueRead(byte[] buffer, int offset, int count, AsyncProtocolRequest request) 1252AsyncProtocolRequest request = (AsyncProtocolRequest) _QueuedReadStateRequest; 1263internal bool CheckEnqueueWrite(AsyncProtocolRequest asyncRequest) 1349private bool CheckEnqueueHandshake(byte[] buffer, AsyncProtocolRequest asyncRequest) 1379private void FinishHandshake(Exception e, AsyncProtocolRequest asyncRequest) 1670AsyncProtocolRequest request = state as AsyncProtocolRequest; 1687AsyncProtocolRequest asyncRequest = (AsyncProtocolRequest)state; 1714AsyncProtocolRequest request = (AsyncProtocolRequest)state;
net\System\Net\SecureProtocols\_SslStream.cs (18)
130AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(bufferResult); 172AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(lazyResult); 364private void ProcessWrite(byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 541private void StartWriting(byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 644private int ProcessRead(byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 694private int StartReading(byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 730private int StartFrameHeader(byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 761private int StartFrameBody(int readBytes, byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 808private int ProcessFrameBody(int readBytes, byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest) 871private int ProcessReadErrorCode(SecurityStatus errorCode, byte[] buffer, int offset, int count, AsyncProtocolRequest asyncRequest, byte[] extraBuffer) 905GlobalLog.Assert(transportResult.AsyncState is AsyncProtocolRequest , "SslStream::WriteCallback|State type is wrong, expected AsyncProtocolRequest."); 906AsyncProtocolRequest asyncRequest = (AsyncProtocolRequest) transportResult.AsyncState; 939GlobalLog.Assert(transportResult.AsyncState is AsyncProtocolRequest, "SslStream::MulitpleWriteCallback|State type is wrong, expected AsyncProtocolRequest."); 962private static void ResumeAsyncReadCallback(AsyncProtocolRequest request) 980private static void ResumeAsyncWriteCallback(AsyncProtocolRequest asyncRequest) 1000private static void ReadHeaderCallback(AsyncProtocolRequest asyncRequest) 1024private static void ReadFrameCallback(AsyncProtocolRequest asyncRequest)
net\System\Net\SecureProtocols\NegotiateStream.cs (2)
580AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(bufferResult); 646AsyncProtocolRequest asyncRequest = new AsyncProtocolRequest(bufferResult);