Design
atm.asc
Associated article: ATM Software Analysis and Design
Tags: Database Design
Published source code accompanying Derek Cheung's article where he examines how you can apply OMT for analyzing and developing software for a simple Asynchronous Transfer Mode (ATM) switch.
_ATM Software Analysis and Design_
by Derek Cheung
Listing One
const int MAX_SESSION = 2000; // max sessions supported by the ATM switch
enum SessionState {IDLE,SETUP,CONNECT,CONNECT_ACK,RELEASE,RELEASE_COMPLETE};
enum Status {INACTIVE, ACTIVE};
class session{
private:
SessionState state;
...


