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

Inheritance: ForeverTransport, ITransport
Afficher le fichier Open project: SignalR/SignalR Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode Description
DecrementConnectionsCount ( ) : void
IncrementConnectionsCount ( ) : void
KeepAlive ( ) : System.Threading.Tasks.Task
LongPollingTransport ( HostContext context, IDependencyResolver resolver ) : System
LongPollingTransport ( HostContext context, JsonSerializer jsonSerializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, ITraceManager traceManager, IConfigurationManager configurationManager, IMemoryPool pool ) : System
Send ( PersistentResponse response ) : System.Threading.Tasks.Task
Send ( object value ) : System.Threading.Tasks.Task

Méthodes protégées

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

Private Methods

Méthode 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 méthode

public DecrementConnectionsCount ( ) : void
Résultat void

IncrementConnectionsCount() public méthode

public IncrementConnectionsCount ( ) : void
Résultat void

InitializeMessageId() protected méthode

protected InitializeMessageId ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

InitializeResponse() protected méthode

protected InitializeResponse ( ITransportConnection connection ) : System.Threading.Tasks.Task
connection ITransportConnection
Résultat System.Threading.Tasks.Task

KeepAlive() public méthode

public KeepAlive ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

LongPollingTransport() public méthode

public LongPollingTransport ( HostContext context, IDependencyResolver resolver ) : System
context Microsoft.AspNet.SignalR.Hosting.HostContext
resolver IDependencyResolver
Résultat System

LongPollingTransport() public méthode

public LongPollingTransport ( HostContext context, JsonSerializer jsonSerializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, ITraceManager traceManager, IConfigurationManager configurationManager, IMemoryPool pool ) : System
context Microsoft.AspNet.SignalR.Hosting.HostContext
jsonSerializer Newtonsoft.Json.JsonSerializer
heartbeat ITransportHeartbeat
performanceCounterManager IPerformanceCounterManager
traceManager ITraceManager
configurationManager IConfigurationManager
pool IMemoryPool
Résultat System

OnMessageReceived() protected méthode

protected OnMessageReceived ( PersistentResponse response ) : Task
response PersistentResponse
Résultat Task

ProcessSendRequest() protected méthode

protected ProcessSendRequest ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Send() public méthode

public Send ( PersistentResponse response ) : System.Threading.Tasks.Task
response PersistentResponse
Résultat System.Threading.Tasks.Task

Send() public méthode

public Send ( object value ) : System.Threading.Tasks.Task
value object
Résultat System.Threading.Tasks.Task