C# 클래스 OpenHardwareMonitor.Utilities.HttpServer

파일 보기 프로젝트 열기: pklinef/open-hardware-monitor 1 사용 예제들

공개 메소드들

메소드 설명
AddPortToFirewall ( int port ) : void
HandlePeerMessages ( object peer ) : void
HandleRequests ( ) : void
HttpServer ( Node r, int p ) : System
ListenerCallback ( IAsyncResult result ) : void
Quit ( ) : void
RunNetsh ( string args ) : void
startHTTPListener ( ) : System.Boolean
stopHTTPListener ( ) : System.Boolean

비공개 메소드들

메소드 설명
GenerateTreeJSON ( Node n, int parentID ) : string
SaveAggregateData ( HttpListenerContext context ) : void
SendAggregateData ( HttpListenerContext context ) : void
SendLATJSON ( HttpListenerContext context, System.DateTime lastAccessTime ) : void
SendPeersJSON ( HttpListenerContext context ) : void
SendSensorDataJSON ( HttpListenerContext context ) : void
SendTreeJSON ( HttpListenerContext context ) : void
TimerElapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
generateJSON ( Node n ) : string
getHardwareImageFile ( OpenHardwareMonitor.GUI.HardwareNode hn ) : string
getTypeImageFile ( OpenHardwareMonitor.GUI.TypeNode tn ) : string
getcontentType ( string extension ) : string
parseDate ( String dateText, System.DateTime defaultDate ) : System.DateTime
proxyRequest ( HttpListenerContext context, String peer ) : void
returnFile ( HttpListenerContext context, string filePath ) : void
sendJSON ( HttpListenerContext context ) : void
sendSensorCSV ( HttpListenerContext context ) : void
serveResourceFile ( HttpListenerContext context, string name, string ext ) : void
serveResourceImage ( HttpListenerContext context, string name ) : void

메소드 상세

AddPortToFirewall() 공개 정적인 메소드

public static AddPortToFirewall ( int port ) : void
port int
리턴 void

HandlePeerMessages() 공개 정적인 메소드

public static HandlePeerMessages ( object peer ) : void
peer object
리턴 void

HandleRequests() 공개 메소드

public HandleRequests ( ) : void
리턴 void

HttpServer() 공개 메소드

public HttpServer ( Node r, int p ) : System
r Node
p int
리턴 System

ListenerCallback() 공개 메소드

public ListenerCallback ( IAsyncResult result ) : void
result IAsyncResult
리턴 void

Quit() 공개 메소드

public Quit ( ) : void
리턴 void

RunNetsh() 공개 정적인 메소드

public static RunNetsh ( string args ) : void
args string
리턴 void

startHTTPListener() 공개 메소드

public startHTTPListener ( ) : System.Boolean
리턴 System.Boolean

stopHTTPListener() 공개 메소드

public stopHTTPListener ( ) : System.Boolean
리턴 System.Boolean