C# Class Microsoft.AspNet.Server.Kestrel.Http.SocketOutput.WriteContext

Show file Open project: Starcounter/KestrelHttpServer

Public Properties

Property Type Description
Buffers Queue>
Self SocketOutput
ShutdownSendStatus int
SocketDisconnect bool
SocketShutdownSend bool
WriteError System.Exception
WriteStatus int

Public Methods

Method Description
Complete ( ) : void
DoDisconnectIfNeeded ( ) : void

Third step: disconnect socket if needed, otherwise this work item is complete

DoShutdownIfNeeded ( ) : void

Second step: initiate async shutdown if needed, otherwise go to next step

DoWriteIfNeeded ( ) : void

First step: initiate async write if needed, otherwise go to next step

Execute ( ) : void

Perform any actions needed by this work item. The individual tasks are non-blocking and will continue through to each other in order.

WriteContext ( SocketOutput self ) : System

Method Details

Complete() public method

public Complete ( ) : void
return void

DoDisconnectIfNeeded() public method

Third step: disconnect socket if needed, otherwise this work item is complete
public DoDisconnectIfNeeded ( ) : void
return void

DoShutdownIfNeeded() public method

Second step: initiate async shutdown if needed, otherwise go to next step
public DoShutdownIfNeeded ( ) : void
return void

DoWriteIfNeeded() public method

First step: initiate async write if needed, otherwise go to next step
public DoWriteIfNeeded ( ) : void
return void

Execute() public method

Perform any actions needed by this work item. The individual tasks are non-blocking and will continue through to each other in order.
public Execute ( ) : void
return void

WriteContext() public method

public WriteContext ( SocketOutput self ) : System
self SocketOutput
return System

Property Details

Buffers public property

public Queue> Buffers
return Queue>

Self public property

public SocketOutput,Microsoft.AspNet.Server.Kestrel.Http Self
return SocketOutput

ShutdownSendStatus public property

public int ShutdownSendStatus
return int

SocketDisconnect public property

public bool SocketDisconnect
return bool

SocketShutdownSend public property

public bool SocketShutdownSend
return bool

WriteError public property

public Exception,System WriteError
return System.Exception

WriteStatus public property

public int WriteStatus
return int