new Server(properties)
Parameters:
Name |
Type |
Description |
properties |
Object
|
-
Properties
Name |
Type |
Attributes |
Default |
Description |
url |
String
|
|
|
- |
baseUrl |
String
|
|
|
- |
sos |
String
|
<optional>
|
"sos"
|
- |
sps |
String
|
<optional>
|
"sps"
|
- |
|
- Source:
Methods
getCapabilities(successCallback, errorCallback)
Gets the server Capabilities.
Parameters:
Name |
Type |
Description |
successCallback |
function
|
async method called when the response succeeded |
errorCallback |
function
|
async method called when an error occured |
- Source:
(async) getDescribeSensor(procedure, successCallback, errorCallback)
Gets the server Feature of interest given a procedure id.
Parameters:
Name |
Type |
Description |
procedure |
String
|
The procedure id |
successCallback |
function
|
async method called when the response succeeded |
errorCallback |
function
|
async method called when an error occurred |
- Source:
getFeatureOfInterest(successCallback, errorCallback)
Gets the server Feature of interest.
Parameters:
Name |
Type |
Description |
successCallback |
function
|
async method called when the response succeeded |
errorCallback |
function
|
async method called when an error occurred |
- Source:
getFeatureOfInterestById(procedure, successCallback, errorCallback)
Gets the server Feature of interest given a procedure id.
Parameters:
Name |
Type |
Description |
procedure |
String
|
The procedure id |
successCallback |
function
|
async method called when the response succeeded |
errorCallback |
function
|
async method called when an error occurred |
- Source:
getResultTemplate(offering, observedProperty, successCallback, errorCallback)
Gets the server result template.
Parameters:
Name |
Type |
Description |
offering |
String
|
The corresponding offering |
observedProperty |
String
|
The corresponding observed property |
successCallback |
function
|
async method called when the response succeeded |
errorCallback |
function
|
async method called when an error occurred |
- Source: