C# Class SignalR.Transports.ForeverTransport

Inheritance: TransportDisconnectBase, ITransport
Mostrar archivo Open project: robink-teleopti/SignalR

Public Methods

Method Description
ForeverTransport ( HostContext context, IDependencyResolver resolver ) : System
ForeverTransport ( HostContext context, IJsonSerializer jsonSerializer, ITransportHeartBeat heartBeat ) : System
ProcessRequest ( ITransportConnection connection ) : System.Threading.Tasks.Task
Send ( PersistentResponse response ) : System.Threading.Tasks.Task
Send ( object value ) : System.Threading.Tasks.Task

Protected Methods

Method Description
InitializeResponse ( ITransportConnection connection ) : System.Threading.Tasks.Task
OnSending ( string payload ) : void

Private Methods

Method Description
ProcessMessages ( ITransportConnection connection, System.Action postReceive = null ) : System.Threading.Tasks.Task
ProcessMessagesImpl ( TaskCompletionSource taskCompletetionSource, ITransportConnection connection, System.Action postReceive = null ) : void
ProcessReceiveRequest ( ITransportConnection connection, System.Action postReceive = null ) : System.Threading.Tasks.Task
ProcessSendRequest ( ) : System.Threading.Tasks.Task

Method Details

ForeverTransport() public method

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

ForeverTransport() public method

public ForeverTransport ( HostContext context, IJsonSerializer jsonSerializer, ITransportHeartBeat heartBeat ) : System
context HostContext
jsonSerializer IJsonSerializer
heartBeat ITransportHeartBeat
return System

InitializeResponse() protected method

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

OnSending() protected method

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

ProcessRequest() public method

public ProcessRequest ( ITransportConnection connection ) : System.Threading.Tasks.Task
connection ITransportConnection
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