C# Class SignalR.Connection

Inheritance: IConnection, ITransportConnection, ISubscriber
Afficher le fichier Open project: robink-teleopti/SignalR

Private Properties

Свойство Type Description
GetResponse PersistentResponse
PopulateResponseState void
ProcessCommand void
ProcessResults List
SendMessage Task

Méthodes publiques

Méthode Description
Broadcast ( object value ) : Task
Connection ( IMessageBus messageBus, IJsonSerializer jsonSerializer, string baseSignal, string connectionId, IEnumerable signals, IEnumerable groups, ITraceManager traceManager ) : System
ReceiveAsync ( CancellationToken timeoutToken ) : Task
ReceiveAsync ( string messageId, CancellationToken timeoutToken ) : Task
Send ( string signal, object value ) : Task
SendCommand ( SignalR.SignalCommand command ) : Task

Private Methods

Méthode Description
GetResponse ( SignalR.MessageResult result ) : PersistentResponse
PopulateResponseState ( PersistentResponse response ) : void
ProcessCommand ( SignalR.SignalCommand command ) : void
ProcessResults ( IList source ) : List
SendMessage ( string key, object value ) : Task

Method Details

Broadcast() public méthode

public Broadcast ( object value ) : Task
value object
Résultat Task

Connection() public méthode

public Connection ( IMessageBus messageBus, IJsonSerializer jsonSerializer, string baseSignal, string connectionId, IEnumerable signals, IEnumerable groups, ITraceManager traceManager ) : System
messageBus IMessageBus
jsonSerializer IJsonSerializer
baseSignal string
connectionId string
signals IEnumerable
groups IEnumerable
traceManager ITraceManager
Résultat System

ReceiveAsync() public méthode

public ReceiveAsync ( CancellationToken timeoutToken ) : Task
timeoutToken System.Threading.CancellationToken
Résultat Task

ReceiveAsync() public méthode

public ReceiveAsync ( string messageId, CancellationToken timeoutToken ) : Task
messageId string
timeoutToken System.Threading.CancellationToken
Résultat Task

Send() public méthode

public Send ( string signal, object value ) : Task
signal string
value object
Résultat Task

SendCommand() public méthode

public SendCommand ( SignalR.SignalCommand command ) : Task
command SignalR.SignalCommand
Résultat Task