The following methods are associated with the RemotePool class.
DumbScreens (String)
Dumps the screen output (obtained from the available sessions between the host and HostFront) to a text file.
Prototype
public void DumpScreens ( System.String sFilePath )
Member of HostFront.Pool.RemotePool
Parameters
sFilePath: File to log to (located on the server machine). If null or empty, the screens will be dumped to the file DumpScreens.log
in the HostFront.EAI installation folder.
GetConnection
Allows the retrieval of a session from the Pool Manager. Ensure that the session is released after usage.
Prototype
public virtual new HostFront.EAI.TcpLink GetConnection ( )
Member of HostFront.Pool.RemotePool
Return
Returns the TcpLink object which can be implemented accordingly.
ReleaseConnection
Releases a session back to the Pool Manager. Ensure that the session is released after usage.
Prototype
public System.Public System.Booleanean ReleaseConnection ( )
Member of HostFront.Pool.RemotePool
Return
True if successful, false otherwise.
RemotePool (System.String PoolName,System.String RemotePoolUri)
Creates an object that will communicate with the HostFront Connection Pool Manager.
Prototype
public RemotePool ( System.String poolName , System.String remotePoolUri )
Member of HostFront.Pool.RemotePool
Parameters
poolName: The Pool Manager can be configured to establish several pools. Each pool is identified by a name. The poolName parameter
identifies from which pool we wish to retrieve a session.
remotePoolUri: The IP address and the listening port of the Pool Manager. It must have the following syntax - "tcp://123.456.7.89:2000".