com.northgateis.comms.dda
Class SNI
java.lang.Object
|
+--com.northgateis.comms.dda.DDATcp
|
+--com.northgateis.comms.dda.SNI
- public class SNI
- extends DDATcp
Get DDATcp connection parameters from winsni.ini file.
This class caches the winsni.ini file, hence any changes to this file will
not be noticed until the JRE is restarted.
Note that this class requires the path to the winsni.ini file. This
should be defined by the windows.path property. This property can either
be set on the command line using -D, or it can be set in the
reality.properties file which must be located in the class path.
When using an SNI entry the base session ID in the PLID can be set by
defining the BaseSessionIDJava property in the Options section of winsni.ini
Constructor Summary |
SNI(java.lang.String section,
java.lang.String user,
java.lang.String account,
java.lang.String server) Define a new DDA TCP connection using a winsni.ini file entry. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SNI
public SNI(java.lang.String section,
java.lang.String user,
java.lang.String account,
java.lang.String server)
throws java.io.IOException
- Define a new DDA TCP connection using a winsni.ini file entry.
- Parameters:
section
- String specifying the winsni.ini section name.user
- String specifying the
user-id used to
connect to the database, with an optional comma separated passwordaccount
- String specifying the account used to
connect to the database, with an optional comma
separated passwordserver
- String specifying server to run
Copyright (c) 2000 NEC Software Services (UK) Limited
NEC welcomes your feedback on our documentation.
If you have any comments about the current Reality Help, or want something to be added in a future revision, please contact your NEC Helpdesk.
If your comment relates to this particular Help topic, remember to include the following information:
Product:
|
RealityVersion 15.4
|
Help revision:
|
Revision 0
|
Help topic:
|
Reality Interface Classes: Class SNI
(JReal)
|
File name:
|
sni.html
|