|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wmx.WMX_component
public abstract class WMX_component
The WMX internal manager used for controlling the internal behavior of a component embedded in a wireless device. It is also responsible for giving abstract knowledge of this behavior to the external manager of project WMX2JMX.
Field Summary | |
---|---|
private java.util.Vector |
_states
Vector of com.FranckBarbier.Java. |
private ComponentWirelessPort |
_wirelessPort
The wireless port to which are delegated the wireless communications. |
Constructor Summary | |
---|---|
WMX_component()
Creates a new instance of WMX_component |
Method Summary | |
---|---|
void |
addWirelessPort(ComponentWirelessPort wirelessPort)
Connects a wireless port. |
void |
initialize(com.FranckBarbier.Java._PauWare.AbstractStatechart_monitor monitor)
Not used (yet?). |
protected void |
registerState(com.FranckBarbier.Java._PauWare.AbstractStatechart s)
Registers a state of the component's behavior into the manager. |
void |
run_to_completion(java.util.Hashtable execution)
This method aims at communicating the stable consistent context of a state machine. |
void |
start_management()
Effectively activates the management process. |
protected int |
stateID(com.FranckBarbier.Java._PauWare.AbstractStatechart s)
Searches for the ID number of the given state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.FranckBarbier.Java._PauWare._Velcro.VelcroExecutor |
---|
execute |
Field Detail |
---|
private java.util.Vector _states
private ComponentWirelessPort _wirelessPort
Constructor Detail |
---|
public WMX_component()
Method Detail |
---|
protected void registerState(com.FranckBarbier.Java._PauWare.AbstractStatechart s)
s
- state to be registered.protected int stateID(com.FranckBarbier.Java._PauWare.AbstractStatechart s)
s
- a (registered) state.
public void addWirelessPort(ComponentWirelessPort wirelessPort)
wirelessPort
- The wireless port to be connected.public void start_management()
public void initialize(com.FranckBarbier.Java._PauWare.AbstractStatechart_monitor monitor)
initialize
in interface com.FranckBarbier.Java._PauWare.Manager
monitor
- The structure of the state machine.public void run_to_completion(java.util.Hashtable execution)
run_to_completion
in interface com.FranckBarbier.Java._PauWare.Manager
execution
- Result of the last execution. Keys: transitions:Transition; Values: executed_actions:[]
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |