|
4D S.A. Copyright 2001 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--j4d.open.opDriverManager
In the java model, the driver manager is handling only one kind of driver or protocole because the network interface of the virtual machine is used. But this layer handles the connection objects.
Constructor Summary | |
opDriverManager()
|
Method Summary | |
opConnection |
getConnection(java.lang.String url)
The method getConnection create a connection on the 4D Server. |
opConnection |
getConnection(java.lang.String url,
int port)
The method getConnection create a connection on the 4D Server. |
static java.lang.String |
getVersion()
The method getVersion return the current version of this API with the following format : "4D Open for Java vXX.X" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public opDriverManager()
Method Detail |
public opConnection getConnection(java.lang.String url, int port) throws opException
The port number parameter is defined in the TCP.opt file and its default value is 19813. This value can be changed by editing the TCP.opt file with 4D Customizer.
Note: The connection does not appear on the 4D Server until a process is not created.
url
- IP adress server you want to connect to.port
- Port number of the 4D Server.public opConnection getConnection(java.lang.String url) throws opException
The port number parameter is defined in the TCP.opt file and its default value is 19813.
This value can be changed by editing the TCP.opt file with 4D Customizer. If you try
to connect to a 4D Server located at a different port number, you must use
the getConnection(String, int)
which allows you to pass as parameter a different port number .
Note: The connection does not appear on the 4D Server until a process is not created.
url
- IP adress server you want to connect to.public static java.lang.String getVersion()
|
4D S.A. Copyright 2001 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |