C# 클래스 WaveBox.ApiHandler.Handlers.StatusApiHandler

상속: IApiHandler
파일 보기 프로젝트 열기: einsteinx2/WaveBox

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CpuUsage ( ) : float

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

메소드 상세

CheckPermission() 공개 메소드

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

Process() 공개 메소드

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
리턴 void