C# Class SignalR.Transports.ForeverTransport

Inheritance: TransportDisconnectBase, ITransport
Afficher le fichier Open project: robink-teleopti/SignalR

Méthodes publiques

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

Méthodes protégées

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

Private Methods

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

public ForeverTransport ( HostContext context, IDependencyResolver resolver ) : System
context HostContext
resolver IDependencyResolver
Résultat System

ForeverTransport() public méthode

public ForeverTransport ( HostContext context, IJsonSerializer jsonSerializer, ITransportHeartBeat heartBeat ) : System
context HostContext
jsonSerializer IJsonSerializer
heartBeat ITransportHeartBeat
Résultat System

InitializeResponse() protected méthode

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

OnSending() protected méthode

protected OnSending ( string payload ) : void
payload string
Résultat void

ProcessRequest() public méthode

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