|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oberon.ooql.connection.OBConnection
public abstract class OBConnection
Represents an abstract OBEROn connection
Field Summary | |
---|---|
static java.lang.String |
CONN_SECTION
"CONNECTION" section in config file |
static java.lang.String |
CONN_TYPE
"conntype" property in config file |
Constructor Summary | |
---|---|
OBConnection()
Constructor |
Method Summary | |
---|---|
abstract void |
close()
Close the connection |
int |
decrInUse()
Decrease the counter of operations that are using this connection |
int |
getConnectionId()
Get the connection ID |
int |
incrInUse()
Increase the counter of operations that are using this connection |
boolean |
isValid()
Check if the connection is valid |
void |
setValid(boolean isValid)
Set the validity of the connection |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONN_SECTION
public static final java.lang.String CONN_TYPE
Constructor Detail |
---|
public OBConnection()
Method Detail |
---|
public int incrInUse()
public int decrInUse()
public void setValid(boolean isValid)
public boolean isValid()
public int getConnectionId()
public abstract void close()
|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |