C# 클래스 HA4IoT.Api.ApiService

상속: HA4IoT.Contracts.Services.ServiceBase, IApiService
파일 보기 프로젝트 열기: chkr1011/CK.HomeAutomation 1 사용 예제들

공개 메소드들

메소드 설명
ApiService ( ) : System
Expose ( object controller ) : void
Expose ( string baseUri, object controller ) : void
NotifyStateChanged ( IComponent component ) : void
RegisterEndpoint ( IApiDispatcherEndpoint endpoint ) : void
Route ( string uri, Action handler ) : void

비공개 메소드들

메소드 설명
GenerateUri ( string relativePath ) : string
HandleConfigurationRequest ( IApiContext apiContext ) : void
HandleRequest ( IApiContext apiContext, Action handler ) : void
HandleStatusRequest ( IApiContext apiContext ) : void
RouteRequest ( object sender, ApiRequestReceivedEventArgs e ) : void

메소드 상세

ApiService() 공개 메소드

public ApiService ( ) : System
리턴 System

Expose() 공개 메소드

public Expose ( object controller ) : void
controller object
리턴 void

Expose() 공개 메소드

public Expose ( string baseUri, object controller ) : void
baseUri string
controller object
리턴 void

NotifyStateChanged() 공개 메소드

public NotifyStateChanged ( IComponent component ) : void
component IComponent
리턴 void

RegisterEndpoint() 공개 메소드

public RegisterEndpoint ( IApiDispatcherEndpoint endpoint ) : void
endpoint IApiDispatcherEndpoint
리턴 void

Route() 공개 메소드

public Route ( string uri, Action handler ) : void
uri string
handler Action
리턴 void