|
4D S.A. Copyright 2001 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--j4d.open.opConnection
The class opConnection provides methods for basic connectivity operations.
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
void |
CloseConnection()
The method CloseConnection close the current connection. |
int |
getCharSetId()
The method getCharSetId return the CharSet ID. |
double |
getSleepValue()
This method return the Sleeping Value of the opConnection object. |
boolean |
IsClosed()
The method IsClosed test whether the connection is closed or not. |
void |
run()
|
void |
setSleepValue(double val)
This method is used to tune the Sleeping Value of the opConnection object, which runs in its own thread. |
opProcess |
startProcess(java.lang.String station,
java.lang.String user,
java.lang.String password,
java.lang.String description)
The method startProcess create a process on the current connection. |
void |
stopProcess(opProcess process)
The method stopProcess close the process passed as parameter. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public void CloseConnection() throws opException
public opProcess startProcess(java.lang.String station, java.lang.String user, java.lang.String password, java.lang.String description) throws opException
Note: you can create simultaneously up to 6 processes for one connection.
station
- Name of the machine.user
- Name of the user.password
- Password of the user.description
- Description of the connection.public void stopProcess(opProcess process) throws opException
process
- Process to close.public void run()
run
in class java.lang.Thread
public double getSleepValue()
public void setSleepValue(double val)
double
- a value between 0.0 and 1.1.public int getCharSetId()
public boolean IsClosed()
|
4D S.A. Copyright 2001 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |