Flynet Viewer .NET Programmer's Reference

sessionPool Property (string)

sessionPool Property (string)

Previous topic Next topic  

sessionPool Property (string)

Previous topic Next topic  

 

The name of the session pool to connect to.

 

HostConnection.sessionPool

 

Arguments

 

HostConnection

 Required. HostConnection object.

 

Remarks

 

READWRITE.

 

Set the name of the session pool to connect to. The pools are defined using the Admin Console. If the sessionPool property is not set then a normal session type will be opened. This property is READONLY when the connected property is true.

 

The following example demonstrates the use of sessionPool by setting the HostConnection object to connect to the "base" session pool. "base" is created during installation.

 

                 HostConnection oConn = new HostConnection();

                 oConn.sessionHost = "127.0.0.1";

                 oConn.sessionPool = "base";

                 oConn.sessionPort = 23;

                 oConn.sessionOptions = "ConnectTestRow:23;ConnectTestColumn:2;ConnectTestText:ENTER;";

                 oConn.sessionType = "TN3270";

                 oConn.connect();

 

Requirements

 

Flynet Viewer

 

See Also

 

Connect | poolGetActiveCount | poolGetAllocCount | poolGetMaxCount | sessionHost | sessionOptions | sessionType | sessionPool

 

Applies To: HostConnection object

 


© 2016 Inventu Corporation, Flynet LTD