|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public boolean okToClose(ConnectEvent event)
event
-
public void openConnection(ConnectEvent event) throws CoreException
event
-
CoreException
- if an error occurs opening the connection.public void closeConnection(ConnectEvent event) throws CoreException
event
-
CoreException
- if an error occurs closing the connection.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |