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.
RealityV15.1Online Documentation (MoTW) Revision 7
%Connect Special Method (databasic_sp_method_connect.htm)
Connects to a language server and returns a connection object.
The first %Connect call will automatically set the default connection, which can be used by many of the other special methods. Deleting this connection object will result in no default connection being available. A new default connection can be set by using the %Set(Default) special method on a connection object.
{Con =} %CONNECT(JAVA{,port{,system{,timeout}}})
JAVA | Language server name |
port | Port number language server is using (default is 3090) |
system | Host name of system running language server (default "localhost") |
timeout | Connection timeout in seconds (default is wait forever) |
A port number of zero uses the default port.
System may be an I/P address.
%CONNECT(JAVA)
Make a connection on the default port (automatically becomes default connection)
SecondCon = %Connect(JAVA, 0, "fork")
Create a second connection to a JAVA server on an alternate host using the default port.