|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SQLRConnection
Field Summary | |
int |
connection
connection is used internally, it's just public to make the JNI wrapper work faster. |
Constructor Summary | |
SQLRConnection(java.lang.String server,
int port,
java.lang.String socket,
java.lang.String user,
java.lang.String password,
int retrytime,
int tries)
Initiates a connection to "server" on "port" or to the unix "socket" on the local machine and authenticates with "user" and "password". |
Method Summary | |
void |
debugOff()
Turns debugging off. |
void |
debugOn()
Causes verbose debugging information to be sent to standard output. |
void |
delete()
Disconnects and ends the session if it hasn't been ended already. |
int |
endSession()
Ends the session. |
int |
getConnectionPort()
Returns the inet port that the connection is communicating over. |
java.lang.String |
getConnectionSocket()
Returns the unix socket that the connection is communicating over. |
int |
getDebug()
Returns 0 if debugging is off and 1 if debugging is on. |
int |
resumeSession(int port,
java.lang.String socket)
Resumes a session previously left open using suspendSession(). |
int |
suspendSession()
Disconnects this connection from the current session but leaves the session open so that another connection can connect to it using resumeSession(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int connection
Constructor Detail |
public SQLRConnection(java.lang.String server, int port, java.lang.String socket, java.lang.String user, java.lang.String password, int retrytime, int tries)
Method Detail |
public void delete()
public int endSession()
public int suspendSession()
public int getConnectionPort()
public java.lang.String getConnectionSocket()
public int resumeSession(int port, java.lang.String socket)
public void debugOn()
public void debugOff()
public int getDebug()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |