Class ConnectionStatusProvider
- java.lang.Object
-
- org.eclipse.ui.AbstractSourceProvider
-
- edu.kit.ipd.sdq.eventsim.measurement.r.connection.ui.ConnectionStatusProvider
-
- All Implemented Interfaces:
ConnectionListener
,ConnectionStatusListener
,ISourceProvider
public class ConnectionStatusProvider extends AbstractSourceProvider implements ConnectionListener, ConnectionStatusListener
-
-
Field Summary
-
Fields inherited from class org.eclipse.ui.AbstractSourceProvider
DEBUG
-
-
Constructor Summary
Constructors Constructor Description ConnectionStatusProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelled()
void
connected()
void
connecting(int attempt)
void
connectionAdded(RserveConnection connection)
void
connectionRemoved(RserveConnection connection)
void
disconnected()
void
dispose()
void
failed()
Map
getCurrentState()
String[]
getProvidedSourceNames()
-
Methods inherited from class org.eclipse.ui.AbstractSourceProvider
addSourceProviderListener, fireSourceChanged, fireSourceChanged, initialize, logDebuggingInfo, removeSourceProviderListener
-
-
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceISourceProvider
-
getCurrentState
public Map getCurrentState()
- Specified by:
getCurrentState
in interfaceISourceProvider
-
getProvidedSourceNames
public String[] getProvidedSourceNames()
- Specified by:
getProvidedSourceNames
in interfaceISourceProvider
-
connectionAdded
public void connectionAdded(RserveConnection connection)
- Specified by:
connectionAdded
in interfaceConnectionListener
-
connectionRemoved
public void connectionRemoved(RserveConnection connection)
- Specified by:
connectionRemoved
in interfaceConnectionListener
-
failed
public void failed()
- Specified by:
failed
in interfaceConnectionStatusListener
-
connecting
public void connecting(int attempt)
- Specified by:
connecting
in interfaceConnectionStatusListener
-
connected
public void connected()
- Specified by:
connected
in interfaceConnectionStatusListener
-
cancelled
public void cancelled()
- Specified by:
cancelled
in interfaceConnectionStatusListener
-
disconnected
public void disconnected()
- Specified by:
disconnected
in interfaceConnectionStatusListener
-
-