com.ibm.carma.model.util
Class ConnectionStateListener
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
com.ibm.carma.model.util.ConnectionStateListener
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
public class ConnectionStateListener
- extends org.eclipse.emf.common.notify.impl.AdapterImpl
A listener which listens for CARMA connection state changes. When a change is
connection state occurs (e.g., going from connected to disconnected) the connectionStateChanged(CARMA)
method is called.
- Since:
- 7.1
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
|
Field Summary |
static java.lang.String |
COPYRIGHT
|
|
Method Summary |
void |
connectionStateChanged(CARMA carma)
Notification method to indicate that the connected status of the given CARMA connection
has changed |
void |
notifyChanged(org.eclipse.emf.common.notify.Notification notification)
|
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
getTarget, isAdapterForType, setTarget, unsetTarget |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
ConnectionStateListener
public ConnectionStateListener()
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
- Specified by:
notifyChanged in interface org.eclipse.emf.common.notify.Adapter- Overrides:
notifyChanged in class org.eclipse.emf.common.notify.impl.AdapterImpl
connectionStateChanged
public void connectionStateChanged(CARMA carma)
- Notification method to indicate that the connected status of the given CARMA connection
has changed
- Parameters:
carma - the CARMA connection which has changed connection state.