Property | Type | Description | |
---|---|---|---|
ConfigProps | IPropertySet | ||
ReqHandler | IRESTRequestHandler | ||
ServerObjectHelper | IServerObjectHelper |
Method | Description | |
---|---|---|
Construct ( IPropertySet props ) : void |
This is where you put any expensive business logic that you don’t need to run on each request. For example, if you know you’re always working with the same layer in the map, you can put the code to get the layer here.
|
|
GetSchema ( ) : string |
Gets the schema.
|
|
HandleRESTRequest ( string capabilities, string resourceName, string operationName, string operationInput, string outputFormat, string requestProperties, string &responseProperties ) : byte[] |
Allows for REST requests and responses to come into the service. These methods create the schema and handle the requests.
|
|
Init ( IServerObjectHelper serverObjectHelper ) : void |
Initializes and starts the server object specified by the IServerObjectHelper reference. If you have business logic that you want to run when the SOE first becomes enabled, don’t put it in Init() or in your SOE class’s constructor; instead, use the following IObjectConstruct.Construct() method
|
|
Shutdown ( ) : void |
stops the server object specified by the IServerObjectHelper reference. Cleans up after itself before shutting down its parent mapservice etc.
|
public Construct ( IPropertySet props ) : void | ||
props | IPropertySet | The props. |
return | void |
public HandleRESTRequest ( string capabilities, string resourceName, string operationName, string operationInput, string outputFormat, string requestProperties, string &responseProperties ) : byte[] | ||
capabilities | string | The capabilities. |
resourceName | string | Name of the resource. |
operationName | string | Name of the operation. |
operationInput | string | The operation input. |
outputFormat | string | The output format. |
requestProperties | string | The request properties. |
responseProperties | string | The response properties. |
return | byte[] |
public Init ( IServerObjectHelper serverObjectHelper ) : void | ||
serverObjectHelper | IServerObjectHelper | The server object helper. |
return | void |