Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
Reality Interface Classes: Class SNI (JReal) (sni.html)
|
Reality Interface Classes | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.northgateis.comms.dda.DDATcp | +--com.northgateis.comms.dda.SNI
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
Fields inherited from class com.northgateis.comms.dda.DDATcp |
DEFAULT_PORT
|
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 com.northgateis.comms.dda.DDATcp |
connect,
dataAvailable,
debug,
disconnect,
receive,
send,
setServer,
setTimeout |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SNI(java.lang.String section, java.lang.String user, java.lang.String account, java.lang.String server) throws java.io.IOException
section
- String specifying the winsni.ini section name.user
- String specifying the
user-id used to
connect to the database, with an optional comma seperated passwordaccount
- String specifying the account used to
connect to the database, with an optional comma
seperated passwordserver
- String specifying server to run
| Reality Interface Classes | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |