| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConnectListener
Used by UI components to synchronize connectivity of connection profiles. When a request is made to open or close a profile, any component referencing that profile is notifed through this interface. In the event a close is requested, a check is made prior to issuing the close call to see if any open connections are in use.
| Method Summary | |
|---|---|
|  void | closeConnection(ConnectEvent event)Deprecated. The listener should close its connection to the server. | 
|  boolean | okToClose(ConnectEvent event)Deprecated. Return false if the connection should be kept open | 
|  void | openConnection(ConnectEvent event)Deprecated. The listener should open a connection to the server. | 
| Method Detail | 
|---|
boolean okToClose(ConnectEvent event)
event - 
void openConnection(ConnectEvent event)
                    throws org.eclipse.core.runtime.CoreException
event - 
org.eclipse.core.runtime.CoreException - if an error occurs opening the connection.
void closeConnection(ConnectEvent event)
                     throws org.eclipse.core.runtime.CoreException
event - 
org.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 | |||||||||