C# 클래스 StoreIDTopGateAPI.ApiWrapper

파일 보기 프로젝트 열기: nedap/StoreIDTopGateAPI 1 사용 예제들

공개 메소드들

메소드 설명
ApiWrapper ( String baseUrl ) : System
createSpec ( Spec spec ) : Spec
createSubscription ( Subscription subscription ) : Subscription
deleteSpec ( int id ) : void
deleteSubscription ( int id ) : void
getSettings ( ) : Settings
getSpec ( int id ) : Spec
getSpecs ( ) : SpecList
getStatus ( ) : Status
getSubscription ( int id ) : Subscription
getSubscriptions ( ) : SubscriptionList
heartbeat ( ) : void
sendActions ( Actions actions ) : void
testConnection ( ) : void
updateSettings ( Settings settings ) : void
updateSpec ( Spec spec ) : Spec
updateSubscription ( Subscription subscription ) : Subscription

비공개 메소드들

메소드 설명
doHttpRequest ( String url, String requestMethod = "GET", String data = "" ) : String
fromJson ( String json, Type theClass ) : Object
toJson ( Object obj, Type theClass ) : String

메소드 상세

ApiWrapper() 공개 메소드

public ApiWrapper ( String baseUrl ) : System
baseUrl String
리턴 System

createSpec() 공개 메소드

public createSpec ( Spec spec ) : Spec
spec Spec
리턴 Spec

createSubscription() 공개 메소드

public createSubscription ( Subscription subscription ) : Subscription
subscription Subscription
리턴 Subscription

deleteSpec() 공개 메소드

public deleteSpec ( int id ) : void
id int
리턴 void

deleteSubscription() 공개 메소드

public deleteSubscription ( int id ) : void
id int
리턴 void

getSettings() 공개 메소드

public getSettings ( ) : Settings
리턴 Settings

getSpec() 공개 메소드

public getSpec ( int id ) : Spec
id int
리턴 Spec

getSpecs() 공개 메소드

public getSpecs ( ) : SpecList
리턴 SpecList

getStatus() 공개 메소드

public getStatus ( ) : Status
리턴 Status

getSubscription() 공개 메소드

public getSubscription ( int id ) : Subscription
id int
리턴 Subscription

getSubscriptions() 공개 메소드

public getSubscriptions ( ) : SubscriptionList
리턴 SubscriptionList

heartbeat() 공개 메소드

public heartbeat ( ) : void
리턴 void

sendActions() 공개 메소드

public sendActions ( Actions actions ) : void
actions Actions
리턴 void

testConnection() 공개 메소드

public testConnection ( ) : void
리턴 void

updateSettings() 공개 메소드

public updateSettings ( Settings settings ) : void
settings Settings
리턴 void

updateSpec() 공개 메소드

public updateSpec ( Spec spec ) : Spec
spec Spec
리턴 Spec

updateSubscription() 공개 메소드

public updateSubscription ( Subscription subscription ) : Subscription
subscription Subscription
리턴 Subscription