|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConnection
Interface to have a common set of methods in case we want to implement a different class of connections for mymed.
Method Summary | |
---|---|
void |
close()
Close the connection to the database |
void |
flush()
Flush the connection, resetting its internal state |
java.lang.String |
getAddress()
Get the address in use with the connection |
int |
getPort()
Get the port in use with the connection |
boolean |
isOpen()
Check if the connection is open or not |
void |
open()
Open the connection to the database |
Method Detail |
---|
void open() throws InternalBackEndException
InternalBackEndException
- when there is a problem opening the connectionvoid close()
boolean isOpen()
java.lang.String getAddress()
int getPort()
void flush()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |