The AppConn Java methods are implemented through the interfaces listed below. Click the interface name to view the Java documentation for it.
The AppConnChannel interface contains communication methods for connecting to the Host Integrator Server and establishing sessions with models and session pools.
Use the AppConnTable interface to interact with host application data that is based in tables. AppConnTable extends AppConnChannel, so all required connect or disconnect methods are automatically included.
Use the AppConnModel interface to interact with host application data that is based in attribute and recordset field definitions. AppConnModel extends AppConnChannel, so all required connect or disconnect methods are automatically included.
The AppConnTerm interface contains methods for managing terminal sessions. You can issue any available terminal key as well as query the host for strings at the given the cursor position or screen coordinates. AppConnTerm extends AppConnChannel, so all required connect or disconnect methods are automatically included.
The AppConnChannel, AppConnTable, AppConnModel, and AppConnTerm interfaces are all implemented by the AppConnSession class. It's unlikely that you will work with a host application model that requires you to interact on the model, table, and terminal levels at the same time. For this reason, we recommend that when you begin new applications, you use the more specific interface definitions to keep the number of available methods within the relevant framework. For example,:
AppConnTable mySession=new AppConnSession();
The statement above creates a new object that supports only the AppConnTable interface class.