API 2.0 Important Changes
Legacy references to TTCloud are now addressable as TTermConnect, for example:
let mySession = new TTermConnect.Session();
The TTCloud reference is retained for backwards compatibility.
The method for connecting the session to a service is unchanged,
mySession.Service(server, username, password, task, isGuest);
however the server parameter is no longer supplied through the global InstallConnMgrURL property as it was in version 1.
Version 2 of TTerm Connect has the added support for multi-server installations for load balancing and redundancy and as such, this property is no longer available.
Instead a server URL should be obtained through TTermConnect.getBaseServer(). An example of this method can be found in the included fullscreen example embedded project included with your installation. For more details see the Guide to Embedding TTerm Connect in a Webpage document which is also included with your installation.
The onCommConnect event is now enabled by default. Note that a handler for the event must still be assigned.
Some minor usability improvements have been made such as aliasing methods that used Australian/British English spellings to US English. For example TTermSession.Initialise() is now also available as TTermSession.Initialize(). For backwards compatibility, both methods are valid.
- Category: TTerm Connect
- Last Updated: 28 February 2023
- Hits: 74