C# Class WaveBox.ApiHandler.Handlers.StatusApiHandler

Inheritance: IApiHandler
Datei anzeigen Open project: einsteinx2/WaveBox

Public Methods

Method 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

Method Description
CpuUsage ( ) : float

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

Method Details

CheckPermission() public method

public CheckPermission ( User user, string action ) : bool
user WaveBox.Core.Model.User
action string
return bool

Process() public method

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
return void