C# Class Microsoft.AspNetCore.SignalR.Transports.LongPollingTransport

Inheritance: ForeverTransport, ITransport
Datei anzeigen Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript Class Usage Examples

Private Properties

Property Type Description
AddTransportData void
GetGroupsToken Task
PerformCompleteSend System.Threading.Tasks.Task
PerformKeepAlive System.Threading.Tasks.Task
PerformPartialSend System.Threading.Tasks.Task
WriteInit System.Threading.Tasks.Task

Public Methods

Method Description
DecrementConnectionsCount ( ) : void
IncrementConnectionsCount ( ) : void
KeepAlive ( ) : System.Threading.Tasks.Task
LongPollingTransport ( HttpContext context, JsonSerializer jsonSerializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IOptions optionsAccessor, IMemoryPool pool ) : System
Send ( PersistentResponse response ) : System.Threading.Tasks.Task
Send ( object value ) : System.Threading.Tasks.Task

Protected Methods

Method Description
InitializeMessageId ( ) : System.Threading.Tasks.Task
InitializeResponse ( ITransportConnection connection ) : System.Threading.Tasks.Task
OnMessageReceived ( PersistentResponse response ) : Task
ProcessSendRequest ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
AddTransportData ( PersistentResponse response ) : void
GetGroupsToken ( ) : Task
PerformCompleteSend ( object state ) : System.Threading.Tasks.Task
PerformKeepAlive ( object state ) : System.Threading.Tasks.Task
PerformPartialSend ( object state ) : System.Threading.Tasks.Task
WriteInit ( LongPollingTransport transport ) : System.Threading.Tasks.Task

Method Details

DecrementConnectionsCount() public method

public DecrementConnectionsCount ( ) : void
return void

IncrementConnectionsCount() public method

public IncrementConnectionsCount ( ) : void
return void

InitializeMessageId() protected method

protected InitializeMessageId ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

InitializeResponse() protected method

protected InitializeResponse ( ITransportConnection connection ) : System.Threading.Tasks.Task
connection ITransportConnection
return System.Threading.Tasks.Task

KeepAlive() public method

public KeepAlive ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

LongPollingTransport() public method

public LongPollingTransport ( HttpContext context, JsonSerializer jsonSerializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IOptions optionsAccessor, IMemoryPool pool ) : System
context HttpContext
jsonSerializer Newtonsoft.Json.JsonSerializer
heartbeat ITransportHeartbeat
performanceCounterManager IPerformanceCounterManager
applicationLifetime IApplicationLifetime
loggerFactory ILoggerFactory
optionsAccessor IOptions
pool IMemoryPool
return System

OnMessageReceived() protected method

protected OnMessageReceived ( PersistentResponse response ) : Task
response PersistentResponse
return Task

ProcessSendRequest() protected method

protected ProcessSendRequest ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Send() public method

public Send ( PersistentResponse response ) : System.Threading.Tasks.Task
response PersistentResponse
return System.Threading.Tasks.Task

Send() public method

public Send ( object value ) : System.Threading.Tasks.Task
value object
return System.Threading.Tasks.Task