OBEROn SDK

com.oberon.ooql.connection
Class OBConnection

java.lang.Object
  extended by com.oberon.ooql.connection.OBConnection

public abstract class OBConnection
extends java.lang.Object

Represents an abstract OBEROn connection

Version:
5.0

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

CONN_SECTION

public static final java.lang.String CONN_SECTION
"CONNECTION" section in config file

See Also:
Constant Field Values

CONN_TYPE

public static final java.lang.String CONN_TYPE
"conntype" property in config file

See Also:
Constant Field Values
Constructor Detail

OBConnection

public OBConnection()
Constructor

Method Detail

incrInUse

public int incrInUse()
Increase the counter of operations that are using this connection


decrInUse

public int decrInUse()
Decrease the counter of operations that are using this connection


setValid

public void setValid(boolean isValid)
Set the validity of the connection


isValid

public boolean isValid()
Check if the connection is valid


getConnectionId

public int getConnectionId()
Get the connection ID


close

public abstract void close()
Close the connection


OBEROn SDK

Copyright © 2008-2014 Mirko Solazzi. All Rights Reserved.