GASModel Thing Template
The GASModel Thing Template is an Axeda Global Access Server (GAS) object. The GAS offloads remote sessions for Axeda eMessage agents. This Thing Template is derived from the RemoteThing Thing Template and is not editable. When GAS registers with the eMessage connector, the GAS Thing is created. from Thing Template. While this Thing is automatically created, it is not automatically enabled. To enable a GAS, run the enableRemoteSessions service. This service sets the property enabledForRemoteSessions to true. To toggle the property off, run the disableRemoteSessions service.
The GASModel Thing Template implements theRemoteAccessServer Thing Shape that is provided in the ThingWorx Remote Access Extension: This Thing Thape provides all the properties for the GAS configuration.
The GASModel Thing Template provides two services, one to start and one to end remote sessions on this Global Access Server.
Service Name
Description
StartSession
Starts a remote session on this Global Access Server (GAS). This service checks permissions to the Thing and this service. If the permissions check passes, a sessionId is generated and the session is initialized. The services builds an infotable using parameters defined by the RemoteSession Data Shape. This service will throw an exception if any error occurs. If successful, the service returns the sessionId, which must be used when running theEndSession service.
EndSession
Stops the remote session identified by the sessionId.
GetSessions
Retrieves all remote sessions associated with this GAS.
GetSessionCount
Returns the value for the currentNumberOfSessions property, which is sent from the GAS every x number of seconds and then updated by the eMessage Connector. The value is the number of active sessions reported by the GAS.
Was this helpful?