GASSelectorService Thing Shape
The GASSelectorService Thing Shape contains a definition for the SelectServer service with no implementation. The GASSelector Thing has a default implementation for the SelectServer service.
This service takes the parameter, agentDevice, which is the Thing name of the agent device for which the service is selecting a GAS.
The SelectServer service ignores any GAS instance whose invalidToken property is set to true. It also ignores any GAS instance that does not have any available sessions.
To override this service, you must take the following steps:
1. Create a new Thing that implements this GASSelectorService Thing Shape.
2. Override and write an implementation for the SelectServer service on the new Thing.
3. Set the selector property on the GASRemoteAccessProvider Thing to use the newly created GAS Selector.
Was this helpful?