C# Class Microsoft.AspNet.SignalR.Crank.ControllerHub

Inheritance: Microsoft.AspNet.SignalR.Hubs.Hub
Afficher le fichier Open project: SignalR/SignalR Class Usage Examples

Méthodes publiques

Méthode Description
Mark ( int sampleId, int states ) : void
OnConnected ( ) : Task
OnDisconnected ( bool stopCalled ) : Task

Private Methods

Méthode Description
BlockWhilePhase ( ControllerEvents phase, Func breakCondition = null ) : void
BroadcastEvent ( ControllerEvents controllerEvent, int id ) : void
FlushLog ( bool force = false ) : void
GetExpectedSampleCount ( ) : int
InitializeLog ( ) : void
MarkInternal ( int sampleId, int states ) : void
Run ( ) : void
RunConnect ( ) : void
RunDisconnect ( ) : void
RunSend ( ) : void
SignalPhaseChange ( ControllerEvents phase ) : void
SignalSample ( System.TimeSpan timestamp ) : void
Start ( CrankArguments arguments ) : void
StartSampleLoop ( ) : void
WaitForClientsToConnect ( ) : bool
WaitForLastSamples ( ) : void

Method Details

Mark() public méthode

public Mark ( int sampleId, int states ) : void
sampleId int
states int
Résultat void

OnConnected() public méthode

public OnConnected ( ) : Task
Résultat Task

OnDisconnected() public méthode

public OnDisconnected ( bool stopCalled ) : Task
stopCalled bool
Résultat Task