edu.ucsb.nceas.morpho.framework
Interface ConnectionListener
- All Known Implementing Classes:
- QueryPlugin
- public interface ConnectionListener
Any object that is interested in the status of the morpho framework
connection should implement this interface and register with the
framework to be notified of changes, including changes to the
username and connection status.
Method Summary |
void |
connectionChanged(boolean isConnected)
This method is called if there is a change in the connection
status. |
void |
usernameChanged(java.lang.String username)
This method is called if there is a change in the username. |
connectionChanged
public void connectionChanged(boolean isConnected)
- This method is called if there is a change in the connection
status.
- Parameters:
isConnected
- boolean true if the framework is now connected
usernameChanged
public void usernameChanged(java.lang.String username)
- This method is called if there is a change in the username.
- Parameters:
username
- the new username as it now has been set
Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.