Initializes the specified host session. This object is usually used as a Singleton; only one instance per application. By following this design pattern you can reduce memory usage and increase screen object instantiation.


The following tables list the members exposed by SessionLoader.

Public Constructors

  Name Description
Public method SessionLoader The SessionLoader is used to load host sessions by passing in the XML necessary to instantiate the proper Screen object.
Top

Public Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method getConfigurationIPAddress Gets the Management and Control Server (MCS) address to used by all subsequent calls to requestScreen.
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method getTerminalType Gets the default screen type to be used when retrieving screen configurations from the Management and Control Server (MCS) when using requestScreen.
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method requestScreen Gets a Screen object for the specified Management and Control Server (MCS) configuration using the specified userid and password as well as the named configuration.
Public method requestScreenEx Gets a Screen object instantiated with the specified XML data.
Public method setConfigurationIPAddress Sets the Management and Control Server address to be used by all subsequent calls to requestScreen.
Public method setResourceManagerOptions Specifies the initial number of terminal or session IDs that are allocated to the application from Management and Control Server (MCS) ID Management as well as the increment in which additional IDs will be obtained when all allocated IDs are already in use. If you do not use this method to specify these values, the default values of 5 (initial reserve) and 5 (reserve increment) are used.
Public method setTerminalType Sets the default screen type to be used when retrieving screen configurations from the Management and Control Server (MCS) when using requestScreen.
Public method Shutdown Ensures that all IDs defined with a lease timeout from Management and Control Server (MCS) ID Management are properly retained by the SDK for future use once your application no longer requires them.
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

See Also