C# 클래스 Atomia.Provisioning.Modules.Haproxy.Commands.HaproxyCommandBase

상속: ModuleCommandSimpleBase
파일 보기 프로젝트 열기: atomia/sample-plugins

보호된 프로퍼티들

프로퍼티 타입 설명
jsonSerializer System.Web.Script.Serialization.JavaScriptSerializer

공개 메소드들

메소드 설명
HaproxyCommandBase ( ModuleService service, ResourceDescription resource, ModuleService newServiceSettings, ModuleCommandType commandType, int listDepth ) : System

보호된 메소드들

메소드 설명
ExecuteAdd ( ModuleService moduleService ) : void
ExecuteModify ( ModuleService oldService, Base service ) : void
ExecuteRemove ( ModuleService moduleService ) : void
GetPostData ( ModuleService service ) : string>.Dictionary
GetResourceURL ( ModuleService moduleService ) : string
REST_Execute_DELETE ( string uri ) : void
REST_Execute_GET ( string uri ) : string
REST_Execute_POST ( string uri, string>.Dictionary postdata ) : string>.Dictionary
REST_Execute_PUT ( string uri, string>.Dictionary postdata ) : void
ValidateService ( ModuleService moduleService ) : void

비공개 메소드들

메소드 설명
REST_Execute_WithPostData ( string uri, string method, string>.Dictionary postdata ) : string>.Dictionary
REST_Execute_WithPostData_JSON ( string uri, string method, string>.Dictionary postdata ) : string
REST_GetClient ( string uri ) : WebRequest

메소드 상세

ExecuteAdd() 보호된 메소드

protected ExecuteAdd ( ModuleService moduleService ) : void
moduleService ModuleService
리턴 void

ExecuteModify() 보호된 메소드

protected ExecuteModify ( ModuleService oldService, Base service ) : void
oldService ModuleService
service Base
리턴 void

ExecuteRemove() 보호된 메소드

protected ExecuteRemove ( ModuleService moduleService ) : void
moduleService ModuleService
리턴 void

GetPostData() 보호된 메소드

protected GetPostData ( ModuleService service ) : string>.Dictionary
service ModuleService
리턴 string>.Dictionary

GetResourceURL() 보호된 추상적인 메소드

protected abstract GetResourceURL ( ModuleService moduleService ) : string
moduleService ModuleService
리턴 string

HaproxyCommandBase() 공개 메소드

public HaproxyCommandBase ( ModuleService service, ResourceDescription resource, ModuleService newServiceSettings, ModuleCommandType commandType, int listDepth ) : System
service ModuleService
resource ResourceDescription
newServiceSettings ModuleService
commandType ModuleCommandType
listDepth int
리턴 System

REST_Execute_DELETE() 보호된 메소드

protected REST_Execute_DELETE ( string uri ) : void
uri string
리턴 void

REST_Execute_GET() 보호된 메소드

protected REST_Execute_GET ( string uri ) : string
uri string
리턴 string

REST_Execute_POST() 보호된 메소드

protected REST_Execute_POST ( string uri, string>.Dictionary postdata ) : string>.Dictionary
uri string
postdata string>.Dictionary
리턴 string>.Dictionary

REST_Execute_PUT() 보호된 메소드

protected REST_Execute_PUT ( string uri, string>.Dictionary postdata ) : void
uri string
postdata string>.Dictionary
리턴 void

ValidateService() 보호된 메소드

protected ValidateService ( ModuleService moduleService ) : void
moduleService ModuleService
리턴 void

프로퍼티 상세

jsonSerializer 보호되어 있는 프로퍼티

Serializer used to serialize/deserialize JSON data from the REST server.
protected Script.Serialization.JavaScriptSerializer,System.Web jsonSerializer
리턴 System.Web.Script.Serialization.JavaScriptSerializer