|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.connectivity.ConnectAdapter
public class ConnectAdapter
Constructor Summary | |
---|---|
ConnectAdapter()
|
Method Summary | |
---|---|
void |
closeConnection(ConnectEvent event)
The listener should close its connection to the server. |
boolean |
okToClose(ConnectEvent event)
Return false if the connection should be kept open |
void |
openConnection(ConnectEvent event)
The listener should open a connection to the server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectAdapter()
Method Detail |
---|
public boolean okToClose(ConnectEvent event)
IConnectListener
okToClose
in interface IConnectListener
public void openConnection(ConnectEvent event) throws CoreException
IConnectListener
openConnection
in interface IConnectListener
CoreException
- if an error occurs opening the connection.public void closeConnection(ConnectEvent event) throws CoreException
IConnectListener
closeConnection
in interface IConnectListener
CoreException
- if an error occurs closing the connection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |