GASRemoteAccessProvider Thing
Dervied from the GenericThing Thing Template, the GASRemoteAccessProvider Thing represents an Axeda Global Access Server that is to be used for remote sessions with Axeda eMessage Agents (Axeda Gateway and Axeda Connector). By default this Thing is enabled once you import the Remote Access Extension (RAE) and then the Axeda Compatibility Extension (ACE) into ThingWorx Platform.
The GASRemoteAccessProvider has the following properties:
Name
Base Type
Description
selector
THINGNAME
The GAS Selector to use for GAS selection when starting a remote session. The value of this property is preserved over restarts of ThingWorx Platform. Its value is set by running the service of the GASSelectorService Thing Shape.
maxServers
INTEGER
This property specifies the maximum number of Global Access Servers to handle remote sessions for Axeda eMessage agents. The default value is 50 and should suffice for most environments. The minimum value is 1. The value of this property is preserved over restarts of ThingWorx Platform.
The GASRemoteAccessProvider Thing provides the following services:
Service Name
Description
Result Base Type
IsCreateAllowed
Returns true if a new Global Access Server may be created, false if not.
BOOLEAN
EndpointJsonToInfoTable
Converts the JSON-formatted providerConfig of a RemoteEndpoint to an infotable.
The required parameter for this service is called providerConfigJson. This parameter is the JSON-formatted providerConfig of the RemoteEndpoint
This service creates a GASRemoteEndpointProviderConfig Data Shape, which contains the providerConfig as a ThingWorx infotable.
INFOTABLE
EndpointInfoTableToJson
Converts the providerConfig infotable of a RemoteEndpoint to JSON format.
The required parameter for this service is called providerConfigInfoTable. This parameter is the GAS.RemoteEndpointProviderConfig infotable to convert to providerConfig-compatible JSON.
JSON
GetRemoteServerConfiguration
Returns the JSON serverConfiguration data for the given agentDevice and endpointName. The GASRemoteAccessProvider implementation returns the remoteServerConfiguration data stored in the endpoint property (endpointName) of the given agentDevice.
This service takes two properties: agentDevice, which is the name of the Thing (THINGNAME) and endpointName, which is the name of the remote interface of this Thing for remote sessions (a STRING).
JSON
SessionParametersJsonToInfoTable
Converts JSON-formatted RemoteSessionParameters of the providerConfig to a ThingWorx infotable.
The required parameter for this service is called providerConfigJson. This parameter is the JSON-formatted providerConfig of the remote session parameters.
This service creates a GAS.SessionParametersProviderConfig Data Shape, which contains the parameters in a ThingWorx infotable.
INFOTABLE
SessionParametersInfoTableToJson
Converts the providerConfig infotable of a RemoteEndpoint to JSON format.
The required parameter for this service is called providerConfigInfoTable. This parameter is the GAS.SessionParametersProviderConfig infotable to convert to providerConfig-compatible JSON.
JSON
Was this helpful?