wmx2jmx.case_studies.TrafficLight
Class TrafficLightManager
java.lang.Object
wmx2jmx.WMX_manager
wmx2jmx.case_studies.TrafficLight.TrafficLightManager
- All Implemented Interfaces:
- TrafficLightManagerMBean
public class TrafficLightManager
- extends WMX_manager
- implements TrafficLightManagerMBean
Field Summary |
protected com.FranckBarbier.Java._PauWare.AbstractStatechart |
_Green
|
protected com.FranckBarbier.Java._PauWare.AbstractStatechart |
_Red
|
protected com.FranckBarbier.Java._PauWare.AbstractStatechart |
_Start
UML statechart |
protected com.FranckBarbier.Java._PauWare.AbstractStatechart_monitor |
_TrafficLight
|
protected com.FranckBarbier.Java._PauWare.AbstractStatechart |
_Yellow
|
Constructor Summary |
TrafficLightManager(int localport,
java.lang.String remotehostname,
int remoteport)
Creates a new instance of TrafficLightManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_Start
protected com.FranckBarbier.Java._PauWare.AbstractStatechart _Start
- UML statechart
_Red
protected com.FranckBarbier.Java._PauWare.AbstractStatechart _Red
_Yellow
protected com.FranckBarbier.Java._PauWare.AbstractStatechart _Yellow
_Green
protected com.FranckBarbier.Java._PauWare.AbstractStatechart _Green
_TrafficLight
protected com.FranckBarbier.Java._PauWare.AbstractStatechart_monitor _TrafficLight
TrafficLightManager
public TrafficLightManager(int localport,
java.lang.String remotehostname,
int remoteport)
throws com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
- Creates a new instance of TrafficLightManager
- Throws:
com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
init_behavior
protected void init_behavior()
throws com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
- Throws:
com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
start
protected void start()
throws com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
- Throws:
com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
goRed
public void goRed()
- Management operations
- Specified by:
goRed
in interface TrafficLightManagerMBean
goYellow
public void goYellow()
- Specified by:
goYellow
in interface TrafficLightManagerMBean
goGreen
public void goGreen()
- Specified by:
goGreen
in interface TrafficLightManagerMBean
current_state
public java.lang.String current_state()
- Specified by:
current_state
in interface TrafficLightManagerMBean