<<< Example 2: Designing the objects for Automatic Banking Machine     Index     Example 2: Remote Database >>>

43. Example 2: Transactions


  • Transactions meet their responsibilities with the aid of several objects that serve as device drivers.

  • The Dispenser object, for example, ultimately operates the dispensing device.

  • The CardReader object reads and decodes the information on the bank card's magnetic strip.

  • A common mistake would be to itemize all of the information stored on the bank card.

  • Card encoding formats must certainly be well thought out and documented.

  • However, for the purpose of designing the objects, we need only identify where that knowledge will be placed in the program.

    Transactions
<<< Example 2: Designing the objects for Automatic Banking Machine     Index     Example 2: Remote Database >>>