next up previous
Next: Dispatcher Up: MyRTP Architecture Previous: Switch Establishment Controller (SEC)

State Machines

The SEC contains a number of state machines, one for each outgoing port. The state machines are driven by incoming messages from the SEC of the neighboring switches or from HECs. The information needed to implement the distributed algorithm remains local to the State Machine at the relevant output port. At any given point in time, each state machines is in one of the following three states:

At system startup all the state machines are in the Idle state. Depending on the type of message and the connection identifier in the message header, the Dispatcher hands off the received message to the appropriate state machine. For an SEC, the identifying parameter would be the outgoing port of the message while in an HEC, it would be based on whether the host was acting as sender or receiver for that particular connection. The state machine performs the operations of the algorithm and forwards the message to the next daemon. It then sets itself to the appropriate state and returns control to the daemon process.



Riccardo Bettati
Fri Jul 11 18:14:48 CDT 1997