C# Class WaveBox.ApiHandler.Handlers.StatusApiHandler

Inheritance: IApiHandler
Afficher le fichier Open project: einsteinx2/WaveBox

Méthodes publiques

Méthode Description
CheckPermission ( User user, string action ) : bool
Process ( UriWrapper uri, IHttpProcessor processor, User user ) : void

Process is used to return a JSON object containing a variety of information about the host system which is running the WaveBox server

Private Methods

Méthode Description
CpuUsage ( ) : float

Returns a string containing the CPU usage of WaveBox at this instant in time

Method Details

CheckPermission() public méthode

public CheckPermission ( User user, string action ) : bool
user WaveBox.Core.Model.User
action string
Résultat bool

Process() public méthode

Process is used to return a JSON object containing a variety of information about the host system which is running the WaveBox server
public Process ( UriWrapper uri, IHttpProcessor processor, User user ) : void
uri UriWrapper
processor IHttpProcessor
user WaveBox.Core.Model.User
Résultat void