C# 클래스 Solar.Car.HttpGui

Application-Layer connecting the Web GUI with the Business-Layer Comm.
상속: IAppLayer
파일 보기 프로젝트 열기: nusolar/sc6-telemetry-code

공개 메소드들

메소드 설명
AppLayerLoop ( CancellationToken token ) : Task
DoCommands ( System.Collections.Specialized.NameValueCollection query ) : void

Executes commands from Query parameters. This query API must match the CoffeeScript code.

HttpReceiveLoop ( CancellationToken token ) : Task

Indefinitely serve the Car's HTTP GUI.

ListenerCallback ( object result ) : void
SendResponse ( HttpListenerResponse response, string message ) : void

메소드 상세

AppLayerLoop() 공개 메소드

public AppLayerLoop ( CancellationToken token ) : Task
token System.Threading.CancellationToken
리턴 Task

DoCommands() 공개 메소드

Executes commands from Query parameters. This query API must match the CoffeeScript code.
public DoCommands ( System.Collections.Specialized.NameValueCollection query ) : void
query System.Collections.Specialized.NameValueCollection Query.
리턴 void

HttpReceiveLoop() 공개 메소드

Indefinitely serve the Car's HTTP GUI.
public HttpReceiveLoop ( CancellationToken token ) : Task
token System.Threading.CancellationToken
리턴 Task

ListenerCallback() 공개 메소드

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

SendResponse() 공개 메소드

public SendResponse ( HttpListenerResponse response, string message ) : void
response System.Net.HttpListenerResponse
message string
리턴 void