C# Class Atomia.Provisioning.Modules.Haproxy.Commands.HaproxyCommandBase

Inheritance: ModuleCommandSimpleBase
Afficher le fichier Open project: atomia/sample-plugins

Protected Properties

Свойство Type Description
jsonSerializer System.Web.Script.Serialization.JavaScriptSerializer

Méthodes publiques

Méthode Description
HaproxyCommandBase ( ModuleService service, ResourceDescription resource, ModuleService newServiceSettings, ModuleCommandType commandType, int listDepth ) : System

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ExecuteAdd() protected méthode

protected ExecuteAdd ( ModuleService moduleService ) : void
moduleService ModuleService
Résultat void

ExecuteModify() protected méthode

protected ExecuteModify ( ModuleService oldService, Base service ) : void
oldService ModuleService
service Base
Résultat void

ExecuteRemove() protected méthode

protected ExecuteRemove ( ModuleService moduleService ) : void
moduleService ModuleService
Résultat void

GetPostData() protected méthode

protected GetPostData ( ModuleService service ) : string>.Dictionary
service ModuleService
Résultat string>.Dictionary

GetResourceURL() protected abstract méthode

protected abstract GetResourceURL ( ModuleService moduleService ) : string
moduleService ModuleService
Résultat string

HaproxyCommandBase() public méthode

public HaproxyCommandBase ( ModuleService service, ResourceDescription resource, ModuleService newServiceSettings, ModuleCommandType commandType, int listDepth ) : System
service ModuleService
resource ResourceDescription
newServiceSettings ModuleService
commandType ModuleCommandType
listDepth int
Résultat System

REST_Execute_DELETE() protected méthode

protected REST_Execute_DELETE ( string uri ) : void
uri string
Résultat void

REST_Execute_GET() protected méthode

protected REST_Execute_GET ( string uri ) : string
uri string
Résultat string

REST_Execute_POST() protected méthode

protected REST_Execute_POST ( string uri, string>.Dictionary postdata ) : string>.Dictionary
uri string
postdata string>.Dictionary
Résultat string>.Dictionary

REST_Execute_PUT() protected méthode

protected REST_Execute_PUT ( string uri, string>.Dictionary postdata ) : void
uri string
postdata string>.Dictionary
Résultat void

ValidateService() protected méthode

protected ValidateService ( ModuleService moduleService ) : void
moduleService ModuleService
Résultat void

Property Details

jsonSerializer protected_oe property

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