3 types derived from PooledStream
System (3)
net\System\Net\_CommandStream.cs (1)
29
internal class CommandStream :
PooledStream
{
net\System\Net\_Connection.cs (1)
218
internal class Connection :
PooledStream
{
net\System\Net\mail\SmtpTransport.cs (1)
24
internal class SmtpPooledStream:
PooledStream
{
37 references to PooledStream
System (37)
net\System\Net\connectionpool.cs (27)
20
internal delegate
PooledStream
CreateConnectionDelegate(ConnectionPool pool);
189
PooledStream
PooledStream = null;
298
PooledStream
pooledStream = (
PooledStream
)m_StackNew.Pop();
303
pooledStream = (
PooledStream
)m_StackOld.Pop();
345
PooledStream
pooledStream = (
PooledStream
) m_StackOld.Pop();
370
PooledStream
pooledStream = (
PooledStream
) m_StackNew.Pop();
390
private
PooledStream
Create(CreateConnectionDelegate createConnectionCallback) {
392
PooledStream
newObj = null;
428
private void Destroy(
PooledStream
pooledStream) {
471
private
PooledStream
GetFromPool(object owningObject) {
472
PooledStream
res = null;
474
res = (
PooledStream
) m_StackNew.Pop();
476
res = (
PooledStream
) m_StackOld.Pop();
497
private
PooledStream
Get(object owningObject, int result, ref bool continueLoop, ref WaitHandle [] waitHandles) {
498
PooledStream
pooledStream = null;
595
internal
PooledStream
GetConnection(object owningObject,
599
PooledStream
stream = null;
661
internal void PutConnection(
PooledStream
pooledStream, object owningObject, int creationTimeout)
675
internal void PutConnection(
PooledStream
pooledStream, object owningObject, int creationTimeout, bool canReuse) {
727
private void PutNew(
PooledStream
pooledStream) {
754
PooledStream
pooledStream = (
PooledStream
) objectList[i];
786
private
PooledStream
UserCreateRequest() {
791
PooledStream
pooledStream = null;
net\System\Net\FtpWebRequest.cs (2)
1668
private static
PooledStream
CreateFtpConnection(ConnectionPool pool) {
1669
return (
PooledStream
) new FtpControlStream(pool, TimeSpan.MaxValue, false);
net\System\Net\mail\smtpconnection.cs (5)
20
private static
PooledStream
CreateSmtpPooledStream(ConnectionPool pool) {
21
return (
PooledStream
)new SmtpPooledStream(pool, TimeSpan.MaxValue, false);
48
PooledStream
pooledStream;
326
PooledStream
pooledStream = connectionPool.GetConnection((object)this, null, Timeout);
608
SmtpPooledStream pooledStream = (SmtpPooledStream)(
PooledStream
)state;
net\System\Net\ServicePoint.cs (3)
227
internal Socket GetConnection(
PooledStream
PooledStream, object owner, bool async, out IPAddress address, ref Socket abortSocket, ref Socket abortSocket6)
1206
internal ConnectSocketState(ServicePoint servicePoint,
PooledStream
pooledStream, object owner, Socket s4, Socket s6)
1223
internal
PooledStream
pooledStream;