C# Class TrainNotifier.Console.WebSocketServer.CacheController

Inheritance: IDisposable
Exibir arquivo Open project: blueghostuk/trainnotifier-server Class Usage Examples

Public Methods

Method Description
CacheController ( NMSWrapper nmsWrapper, WebSocketServerWrapper wssWrapper, UserManager userManager ) : System
Dispose ( ) : void

Private Methods

Method Description
CacheActivation ( dynamic body ) : TrainActivation
CacheChangeOfOrigin ( string trainId, dynamic body ) : TrainChangeOfOrigin
CacheTrainCancellation ( string trainId, dynamic body ) : CancelledTrainMovementStep
CacheTrainMovement ( string trainId, dynamic body ) : TrainMovementStep
CacheTrainReinstatement ( string trainId, dynamic body ) : TrainReinstatement
HandleSubStanoxCommand ( UserContextEventArgs context, string stanox, bool subscribe ) : void

Method Details

CacheController() public method

public CacheController ( NMSWrapper nmsWrapper, WebSocketServerWrapper wssWrapper, UserManager userManager ) : System
nmsWrapper NMSWrapper
wssWrapper WebSocketServerWrapper
userManager UserManager
return System

Dispose() public method

public Dispose ( ) : void
return void