org.echarts.servlet.sip
Interface BoxMachine

All Known Implementing Classes:
FeatureBoxTerminationHandlerFSM, SipPortTeardownFSM

public interface BoxMachine

Interface for top-level machines (those instantiated directly by a FeatureBox)


Method Summary
 FeatureBox getBox()
          Find the box that instantiated this Machine
 boolean run(LocalPort port, java.lang.Object message)
          Run machine based on message to port.
 

Method Detail

getBox

FeatureBox getBox()
Find the box that instantiated this Machine

Returns:
reference to creating box.

run

boolean run(LocalPort port,
            java.lang.Object message)
            throws java.lang.Exception
Run machine based on message to port. Required by TransitionTimerManager.

Parameters:
port - port receiving message
message - desired message for port
Returns:
true if machine has remaining active message transitions, false otherwise
Throws:
java.lang.Exception