diff -r 1912b5c050e6 -r 432756509142 connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/api/IConnection2.java --- a/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/api/IConnection2.java Fri Dec 18 09:17:36 2009 -0600 +++ b/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/api/IConnection2.java Fri Dec 18 09:30:04 2009 -0600 @@ -44,12 +44,12 @@ /** * The status of a connection */ - public interface IStatus { - enum EStatus { + public interface IConnectionStatus { + enum EConnectionStatus { READY, NOT_READY, IN_USE, IN_USE_DISCONNECTED }; - EStatus getEStatus(); + EConnectionStatus getEConnectionStatus(); String getDescription(); } @@ -58,33 +58,33 @@ * Gets this connection's status * @return IStatus */ - IStatus getStatus(); + IConnectionStatus getStatus(); /** * Sets this connection's status * @see IConnection2#getStatus() * @param status IStatus */ - void setStatus(IStatus status); + void setStatus(IConnectionStatus status); /** * A listener for status changes */ - public interface IStatusChangedListener { - void statusChanged(IStatus status); + public interface IConnectionStatusChangedListener { + void statusChanged(IConnectionStatus status); } /** * Adds a listener for status changes * @param listener IStatusChangedListener */ - void addStatusChangedListener(IStatusChangedListener listener); + void addStatusChangedListener(IConnectionStatusChangedListener listener); /** * Removes a listener for status changes * @param listener IStatusChangedListener */ - void removeStatusChangedListener(IStatusChangedListener listener); + void removeStatusChangedListener(IConnectionStatusChangedListener listener); /** * An optional icon representing this connection.