wmx2jmx.case_studies.TrafficLight
Class LightManager
java.lang.Object
wmx2jmx.WMX_manager
wmx2jmx.case_studies.TrafficLight.LightManager
- All Implemented Interfaces:
- LightManagerMBean
public class LightManager
- extends WMX_manager
- implements LightManagerMBean
Field Summary |
protected com.FranckBarbier.Java._PauWare.AbstractStatechart_monitor |
_Light
|
protected com.FranckBarbier.Java._PauWare.AbstractStatechart |
_Off
|
protected com.FranckBarbier.Java._PauWare.AbstractStatechart |
_On
UML statechart |
Constructor Summary |
LightManager(int localport,
java.lang.String remotehostname,
int remoteport)
Creates a new instance of LightManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_On
protected com.FranckBarbier.Java._PauWare.AbstractStatechart _On
- UML statechart
_Off
protected com.FranckBarbier.Java._PauWare.AbstractStatechart _Off
_Light
protected com.FranckBarbier.Java._PauWare.AbstractStatechart_monitor _Light
LightManager
public LightManager(int localport,
java.lang.String remotehostname,
int remoteport)
throws com.FranckBarbier.Java._PauWare._Exception.Statechart_exception
- Creates a new instance of LightManager
- 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
turnOn
public void turnOn()
- Management operations
- Specified by:
turnOn
in interface LightManagerMBean
turnOff
public void turnOff()
- Specified by:
turnOff
in interface LightManagerMBean
current_state
public java.lang.String current_state()
- Specified by:
current_state
in interface LightManagerMBean