|
||||||||||
| 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 org.eclipse.core.runtime.CoreException
IConnectListener
openConnection in interface IConnectListenerorg.eclipse.core.runtime.CoreException - if an error occurs opening the connection.
public void closeConnection(ConnectEvent event)
throws org.eclipse.core.runtime.CoreException
IConnectListener
closeConnection in interface IConnectListenerorg.eclipse.core.runtime.CoreException - if an error occurs closing the connection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||