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

Inheritance: TransportDisconnectBase, ITransport
Exibir arquivo Open project: SignalR/SignalR Class Usage Examples

Public Methods

Method Description
ProcessRequest ( ITransportConnection connection ) : Task
Send ( PersistentResponse response ) : Task
Send ( object value ) : Task

Protected Methods

Method Description
ForeverTransport ( HostContext context, IDependencyResolver resolver ) : System
ForeverTransport ( HostContext context, JsonSerializer jsonSerializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, ITraceManager traceManager, IMemoryPool pool ) : System
InitializePersistentState ( ) : Task
InitializeResponse ( ITransportConnection connection ) : Task
OnError ( Exception ex ) : void
OnMessageReceived ( PersistentResponse response ) : Task
OnSending ( string payload ) : void
OnSendingResponse ( PersistentResponse response ) : void
ProcessRequestCore ( ITransportConnection connection ) : Task
ProcessSendRequest ( ) : Task

Private Methods

Method Description
Cancel ( object state ) : void
CreateMemoryPoolWriter ( IMemoryPool memoryPool ) : MemoryPoolTextWriter
PerformSend ( object state ) : Task
ProcessMessages ( ITransportConnection connection, Func initialize ) : Task
ProcessReceiveRequest ( ITransportConnection connection ) : Task

Method Details

ForeverTransport() protected method

protected ForeverTransport ( HostContext context, IDependencyResolver resolver ) : System
context HostContext
resolver IDependencyResolver
return System

ForeverTransport() protected method

protected ForeverTransport ( HostContext context, JsonSerializer jsonSerializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, ITraceManager traceManager, IMemoryPool pool ) : System
context HostContext
jsonSerializer JsonSerializer
heartbeat ITransportHeartbeat
performanceCounterManager IPerformanceCounterManager
traceManager ITraceManager
pool IMemoryPool
return System

InitializePersistentState() protected method

protected InitializePersistentState ( ) : Task
return Task

InitializeResponse() protected method

protected InitializeResponse ( ITransportConnection connection ) : Task
connection ITransportConnection
return Task

OnError() protected method

protected OnError ( Exception ex ) : void
ex System.Exception
return void

OnMessageReceived() protected method

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

OnSending() protected method

protected OnSending ( string payload ) : void
payload string
return void

OnSendingResponse() protected method

protected OnSendingResponse ( PersistentResponse response ) : void
response PersistentResponse
return void

ProcessRequest() public method

public ProcessRequest ( ITransportConnection connection ) : Task
connection ITransportConnection
return Task

ProcessRequestCore() protected method

protected ProcessRequestCore ( ITransportConnection connection ) : Task
connection ITransportConnection
return Task

ProcessSendRequest() protected method

protected ProcessSendRequest ( ) : Task
return Task

Send() public abstract method

public abstract Send ( PersistentResponse response ) : Task
response PersistentResponse
return Task

Send() public method

public Send ( object value ) : Task
value object
return Task