home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 February / PCWK0296.iso / sharewar / win95nt / program / crctool / atm.crc next >
Unknown  |  1995-03-03  |  12.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% ffprobeID Electronic Arts cdata (ea_cdata) default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 04 00 ff ff 00 00 0a 00 | 43 53 75 62 73 79 73 74 |........|CSubsyst|
|00000010| 65 6d 02 00 01 80 00 00 | 06 00 ff ff 00 00 06 00 |em......|........|
|00000020| 43 43 6c 61 73 73 00 00 | 00 00 04 00 ff ff 00 00 |CClass..|........|
|00000030| 0f 00 43 52 65 73 70 6f | 6e 73 69 62 69 6c 69 74 |..CRespo|nsibilit|
|00000040| 79 00 00 01 00 ff ff 02 | 00 09 00 43 50 72 6f 74 |y.......|...CProt|
|00000050| 6f 63 6f 6c 01 00 ff ff | 00 00 0a 00 43 50 61 72 |ocol....|....CPar|
|00000060| 61 6d 65 74 65 72 00 00 | 04 00 00 00 01 00 00 00 |ameter..|........|
|00000070| 07 64 65 70 6f 73 69 74 | ff 29 01 54 68 69 73 20 |.deposit|.).This |
|00000080| 6d 65 74 68 6f 64 20 72 | 65 63 6f 72 64 73 20 61 |method r|ecords a|
|00000090| 20 64 65 70 6f 73 69 74 | 20 74 6f 20 74 68 65 20 | deposit| to the |
|000000a0| 61 63 63 6f 75 6e 74 20 | 6f 66 20 74 68 65 20 61 |account |of the a|
|000000b0| 6d 6f 75 6e 74 20 73 70 | 65 63 69 66 69 65 64 20 |mount sp|ecified |
|000000c0| 62 79 20 74 68 65 20 46 | 69 78 65 64 20 50 6f 69 |by the F|ixed Poi|
|000000d0| 6e 74 20 76 61 6c 75 65 | 2e 20 54 68 65 20 64 61 |nt value|. The da|
|000000e0| 74 61 62 61 73 65 20 77 | 69 6c 6c 20 6e 6f 74 20 |tabase w|ill not |
|000000f0| 62 65 20 75 70 64 61 74 | 65 64 20 75 6e 74 69 6c |be updat|ed until|
|00000100| 20 74 68 65 20 63 6f 6d | 6d 69 74 20 6d 65 74 68 | the com|mit meth|
|00000110| 6f 64 20 68 61 73 20 62 | 65 65 6e 20 69 6e 76 6f |od has b|een invo|
|00000120| 6b 65 64 2e 20 55 70 64 | 61 74 69 6e 67 20 74 68 |ked. Upd|ating th|
|00000130| 65 20 64 61 74 61 62 61 | 73 65 20 64 6f 65 73 20 |e databa|se does |
|00000140| 6e 6f 74 20 63 68 61 6e | 67 65 20 74 68 65 20 62 |not chan|ge the b|
|00000150| 61 6c 61 6e 63 65 20 72 | 65 63 6f 72 64 65 64 20 |alance r|ecorded |
|00000160| 74 68 65 72 65 2c 20 62 | 75 74 20 72 65 67 69 73 |there, b|ut regis|
|00000170| 74 65 72 73 20 74 68 65 | 20 64 65 70 6f 73 69 74 |ters the| deposit|
|00000180| 20 75 6e 74 69 6c 20 74 | 68 65 20 61 6d 6f 75 6e | until t|he amoun|
|00000190| 74 20 68 61 73 20 62 65 | 65 6e 20 76 65 72 69 66 |t has be|en verif|
|000001a0| 69 65 64 2e 00 00 07 00 | 00 00 0f 41 63 63 65 70 |ied.....|...Accep|
|000001b0| 74 20 64 65 70 6f 73 69 | 74 73 05 00 ff ff 00 00 |t deposi|ts......|
|000001c0| 09 00 43 43 6f 6e 74 72 | 61 63 74 03 00 07 00 06 |..CContr|act.....|
|000001d0| 80 00 00 01 00 08 80 01 | 00 0a 80 00 00 04 00 00 |........|........|
|000001e0| 00 01 00 00 00 0a 77 69 | 74 68 64 72 61 77 61 6c |......wi|thdrawal|
|000001f0| ff 40 01 54 68 69 73 20 | 6d 65 74 68 6f 64 20 72 |.@.This |method r|
|00000200| 65 63 6f 72 64 73 20 61 | 20 77 69 74 68 64 72 61 |ecords a| withdra|
|00000210| 77 61 6c 20 66 72 6f 6d | 20 74 68 65 20 61 63 63 |wal from| the acc|
|00000220| 6f 75 6e 74 20 6f 66 20 | 74 68 65 20 61 6d 6f 75 |ount of |the amou|
|00000230| 6e 74 20 73 70 65 63 69 | 66 69 65 64 20 62 79 20 |nt speci|fied by |
|00000240| 74 68 65 20 46 69 78 65 | 64 20 50 6f 69 6e 74 20 |the Fixe|d Point |
|00000250| 76 61 6c 75 65 2e 20 54 | 68 65 20 64 61 74 61 62 |value. T|he datab|
|00000260| 61 73 65 20 77 69 6c 6c | 20 6e 6f 74 20 62 65 20 |ase will| not be |
|00000270| 75 70 64 61 74 65 64 20 | 75 6e 74 69 6c 20 74 68 |updated |until th|
|00000280| 65 20 63 6f 6d 6d 69 74 | 20 6d 65 74 68 6f 64 20 |e commit| method |
|00000290| 68 61 73 20 62 65 65 6e | 20 69 6e 76 6f 6b 65 64 |has been| invoked|
|000002a0| 2e 20 55 70 64 61 74 69 | 6e 67 20 74 68 65 20 64 |. Updati|ng the d|
|000002b0| 61 74 61 62 61 73 65 20 | 63 61 75 73 65 73 20 61 |atabase |causes a|
|000002c0| 20 63 68 61 6e 67 65 20 | 69 6e 20 74 68 65 20 61 | change |in the a|
|000002d0| 63 63 6f 75 6e 74 20 62 | 61 6c 61 6e 63 65 20 62 |ccount b|alance b|
|000002e0| 65 63 61 75 73 65 20 74 | 68 65 20 61 6d 6f 75 6e |ecause t|he amoun|
|000002f0| 74 20 68 61 73 20 61 6c | 72 65 61 64 79 20 62 65 |t has al|ready be|
|00000300| 65 6e 20 76 65 72 69 66 | 69 65 64 2e 20 41 20 6e |en verif|ied. A n|
|00000310| 65 67 61 74 69 76 65 20 | 61 63 63 6f 75 6e 74 20 |egative |account |
|00000320| 62 61 6c 61 6e 63 65 20 | 6d 61 79 20 72 65 73 75 |balance |may resu|
|00000330| 6c 74 2e 00 00 0e 00 00 | 00 12 41 63 63 65 70 74 |lt......|..Accept|
|00000340| 20 77 69 74 68 64 72 61 | 77 61 6c 73 05 00 0d 00 | withdra|wals....|
|00000350| 00 06 80 00 00 01 00 08 | 80 00 00 00 00 07 62 61 |........|......ba|
|00000360| 6c 61 6e 63 65 4b 54 68 | 69 73 20 6d 65 74 68 6f |lanceKTh|is metho|
|00000370| 64 20 72 65 74 75 72 6e | 73 20 74 68 65 20 63 75 |d return|s the cu|
|00000380| 72 72 65 6e 74 20 62 61 | 6c 61 6e 63 65 20 61 73 |rrent ba|lance as|
|00000390| 20 72 65 63 6f 72 64 65 | 64 20 69 6e 20 74 68 65 | recorde|d in the|
|000003a0| 20 62 61 6e 6b 27 73 20 | 64 61 74 61 62 61 73 65 | bank's |database|
|000003b0| 2e 0a 80 00 00 04 00 00 | 00 01 00 11 00 00 00 18 |........|........|
|000003c0| 4b 6e 6f 77 20 74 68 65 | 20 61 63 63 6f 75 6e 74 |Know the| account|
|000003d0| 20 62 61 6c 61 6e 63 65 | 05 00 0d 00 00 04 00 ff | balance|........|
|000003e0| ff 01 00 0e 00 43 43 6f | 6c 6c 61 62 6f 72 61 74 |.....CCo|llaborat|
|000003f0| 69 6f 6e 05 00 0d 00 06 | 80 01 00 15 00 00 00 00 |ion.....|........|
|00000400| 00 12 41 63 63 65 73 73 | 20 74 68 65 20 62 61 6c |..Access| the bal|
|00000410| 61 6e 63 65 04 80 01 00 | 04 80 00 00 04 00 17 00 |ance....|........|
|00000420| 04 80 01 00 18 00 00 00 | 02 00 06 80 01 00 14 80 |........|........|
|00000430| 04 80 01 00 04 80 00 00 | 03 00 1c 00 04 80 01 00 |........|........|
|00000440| 1d 00 00 00 03 00 06 80 | 02 00 14 80 04 80 01 00 |........|........|
|00000450| 04 80 00 00 03 00 21 00 | 04 80 02 00 22 00 04 80 |......!.|...."...|
|00000460| 00 00 03 00 04 80 02 00 | 04 80 00 00 03 00 25 00 |........|......%.|
|00000470| 04 80 02 00 22 00 26 00 | 00 00 01 00 06 80 00 00 |....".&.|........|
|00000480| 00 00 00 00 19 41 63 63 | 65 70 74 20 61 20 64 65 |.....Acc|ept a de|
|00000490| 70 6f 73 69 74 20 65 6e | 76 65 6c 6f 70 65 27 00 |posit en|velope'.|
|000004a0| 00 00 00 00 00 0c 44 65 | 70 6f 73 69 74 20 53 6c |......De|posit Sl|
|000004b0| 6f 74 67 54 68 69 73 20 | 63 6c 61 73 73 20 72 65 |otgThis |class re|
|000004c0| 70 72 65 73 65 6e 74 73 | 20 74 68 65 20 68 61 72 |presents| the har|
|000004d0| 64 77 61 72 65 20 64 65 | 76 69 63 65 20 74 68 72 |dware de|vice thr|
|000004e0| 6f 75 67 68 20 77 68 69 | 63 68 20 61 20 62 61 6e |ough whi|ch a ban|
|000004f0| 6b 20 63 75 73 74 6f 6d | 65 72 27 73 20 64 65 70 |k custom|er's dep|
|00000500| 6f 73 69 74 20 65 6e 76 | 65 6c 6f 70 65 20 69 73 |osit env|elope is|
|00000510| 20 69 6e 73 65 72 74 65 | 64 2e 00 00 01 80 00 00 | inserte|d.......|
|00000520| 0f 00 25 00 04 80 01 00 | 24 00 00 00 01 00 06 80 |..%.....|$.......|
|00000530| 00 00 00 00 00 00 0e 44 | 69 73 70 65 6e 73 65 20 |.......D|ispense |
|00000540| 66 75 6e 64 73 2a 00 00 | 00 00 00 00 0e 43 61 73 |funds*..|.....Cas|
|00000550| 68 20 44 69 73 70 65 6e | 73 65 72 5c 54 68 69 73 |h Dispen|ser\This|
|00000560| 20 63 6c 61 73 73 20 72 | 65 70 72 65 73 65 6e 74 | class r|epresent|
|00000570| 73 20 74 68 65 20 68 61 | 72 64 77 61 72 65 20 64 |s the ha|rdware d|
|00000580| 65 76 69 63 65 20 74 68 | 72 6f 75 67 68 20 77 68 |evice th|rough wh|
|00000590| 69 63 68 20 63 61 73 68 | 20 69 73 20 64 69 73 70 |ich cash| is disp|
|000005a0| 65 6e 73 65 64 20 74 6f | 20 62 61 6e 6b 20 63 75 |ensed to| bank cu|
|000005b0| 73 74 6f 6d 65 72 73 2e | 00 00 29 00 27 00 22 00 |stomers.|..).'.".|
|000005c0| 21 00 1c 00 26 00 04 80 | 01 00 26 00 00 00 00 00 |!...&...|..&.....|
|000005d0| 00 00 06 4b 65 79 70 61 | 64 52 54 68 69 73 20 63 |...Keypa|dRThis c|
|000005e0| 6c 61 73 73 20 72 65 70 | 72 65 73 65 6e 74 73 20 |lass rep|resents |
|000005f0| 74 68 65 20 6b 65 79 73 | 20 6f 6e 20 74 68 65 20 |the keys| on the |
|00000600| 66 61 63 65 20 6f 66 20 | 74 68 65 20 41 54 4d 20 |face of |the ATM |
|00000610| 6d 61 63 68 69 6e 65 20 | 74 68 61 74 20 63 61 6e |machine |that can|
|00000620| 20 62 65 20 70 72 65 73 | 73 65 64 2e 00 00 29 00 | be pres|sed...).|
|00000630| 1e 00 24 00 23 00 04 80 | 01 00 1c 00 00 00 00 00 |..$.#...|........|
|00000640| 00 00 0b 53 65 63 75 72 | 65 20 46 6f 72 6d c6 54 |...Secur|e Form.T|
|00000650| 68 69 73 20 63 6c 61 73 | 73 20 72 65 70 72 65 73 |his clas|s repres|
|00000660| 65 6e 74 73 20 61 20 74 | 79 70 65 20 6f 66 20 75 |ents a t|ype of u|
|00000670| 73 65 72 20 69 6e 74 65 | 72 61 63 74 69 6f 6e 20 |ser inte|raction |
|00000680| 69 6e 20 77 68 69 63 68 | 20 74 68 65 20 75 73 65 |in which| the use|
|00000690| 72 20 69 73 20 70 72 6f | 6d 70 74 65 64 20 66 6f |r is pro|mpted fo|
|000006a0| 72 20 6e 75 6d 65 72 69 | 63 20 69 6e 70 75 74 2c |r numeri|c input,|
|000006b0| 20 62 75 74 20 69 6e 20 | 77 68 69 63 68 20 74 68 | but in |which th|
|000006c0| 65 20 66 65 65 64 62 61 | 63 6b 20 69 6e 63 6c 75 |e feedba|ck inclu|
|000006d0| 64 65 73 20 6f 6e 6c 79 | 20 74 68 65 20 6e 75 6d |des only| the num|
|000006e0| 62 65 72 20 6f 66 20 64 | 69 67 69 74 73 20 65 6e |ber of d|igits en|
|000006f0| 74 65 72 65 64 2c 20 6e | 6f 74 20 74 68 65 20 76 |tered, n|ot the v|
|00000700| 61 6c 75 65 20 6f 66 20 | 74 68 6f 73 65 20 64 69 |alue of |those di|
|00000710| 67 69 74 73 2e 01 00 29 | 00 1d 00 04 80 01 00 1d |gits...)|........|
|00000720| 00 00 00 02 00 06 80 03 | 00 14 80 22 00 0c 80 01 |........|..."....|
|00000730| 00 06 80 00 00 04 00 08 | 80 01 00 0a 80 00 00 06 |........|........|
|00000740| 00 00 00 01 00 00 00 07 | 64 69 73 70 6c 61 79 44 |........|displayD|
|00000750| 54 68 69 73 20 6d 65 74 | 68 6f 64 20 64 69 73 70 |This met|hod disp|
|00000760| 6c 61 79 73 20 74 68 65 | 20 54 65 78 74 20 6f 6e |lays the| Text on|
|00000770| 20 74 68 65 20 64 65 76 | 69 63 65 20 69 6e 20 74 | the dev|ice in t|
|00000780| 68 65 20 64 65 66 61 75 | 6c 74 20 6c 6f 63 61 74 |he defau|lt locat|
|00000790| 69 6f 6e 2e 00 00 32 00 | 08 80 02 00 0a 80 00 00 |ion...2.|........|
|000007a0| 06 00 00 00 01 00 0a 80 | 00 00 07 00 00 00 01 00 |........|........|
|000007b0| 00 00 07 64 69 73 70 6c | 61 79 43 54 68 69 73 20 |...displ|ayCThis |
|000007c0| 6d 65 74 68 6f 64 20 64 | 69 73 70 6c 61 79 73 20 |method d|isplays |
|000007d0| 74 68 65 20 54 65 78 74 | 20 6f 6e 20 74 68 65 20 |the Text| on the |
|000007e0| 64 65 76 69 63 65 20 61 | 74 20 74 68 65 20 73 70 |device a|t the sp|
|000007f0| 65 63 69 66 69 65 64 20 | 50 6f 69 6e 74 2e 00 00 |ecified |Point...|
|00000800| 32 00 08 80 01 00 0a 80 | 00 00 08 00 00 00 01 00 |2.......|........|
|00000810| 00 00 07 64 69 73 70 6c | 61 79 47 54 68 69 73 20 |...displ|ayGThis |
|00000820| 6d 65 74 68 6f 64 20 64 | 69 73 70 6c 61 79 73 20 |method d|isplays |
|00000830| 74 68 65 20 47 72 61 70 | 68 69 63 20 6f 6e 20 74 |the Grap|hic on t|
|00000840| 68 65 20 64 65 76 69 63 | 65 20 69 6e 20 74 68 65 |he devic|e in the|
|00000850| 20 64 65 66 61 75 6c 74 | 20 6c 6f 63 61 74 69 6f | default| locatio|
|00000860| 6e 2e 00 00 32 00 08 80 | 02 00 0a 80 00 00 08 00 |n...2...|........|
|00000870| 00 00 01 00 0a 80 00 00 | 07 00 00 00 01 00 00 00 |........|........|
|00000880| 07 64 69 73 70 6c 61 79 | 46 54 68 69 73 20 6d 65 |.display|FThis me|
|00000890| 74 68 6f 64 20 64 69 73 | 70 6c 61 79 73 20 74 68 |thod dis|plays th|
|000008a0| 65 20 47 72 61 70 68 69 | 63 20 6f 6e 20 74 68 65 |e Graphi|c on the|
|000008b0| 20 64 65 76 69 63 65 20 | 61 74 20 74 68 65 20 73 | device |at the s|
|000008c0| 70 65 63 69 66 69 65 64 | 20 50 6f 69 6e 74 2e 00 |pecified| Point..|
|000008d0| 00 32 00 00 00 19 44 69 | 73 70 6c 61 79 20 74 65 |.2....Di|splay te|
|000008e0| 78 74 20 61 6e 64 20 67 | 72 61 70 68 69 63 73 22 |xt and g|raphics"|
|000008f0| 00 31 00 00 04 00 30 00 | 14 80 21 00 31 00 06 80 |.1....0.|..!.1...|
|00000900| 02 00 3d 00 14 80 2c 00 | 0c 80 01 00 06 80 00 00 |..=...,.|........|
|00000910| 01 00 08 80 00 00 00 00 | 05 69 6e 70 75 74 ce 54 |........|.input.T|
|00000920| 68 69 73 20 6d 65 74 68 | 6f 64 20 77 61 69 74 73 |his meth|od waits|
|00000930| 20 75 6e 74 69 6c 20 74 | 68 65 20 64 65 76 69 63 | until t|he devic|
|00000940| 65 20 74 6f 20 77 68 69 | 63 68 20 69 74 20 77 61 |e to whi|ch it wa|
|00000950| 73 20 73 65 6e 74 20 68 | 61 73 20 72 65 63 65 69 |s sent h|as recei|
|00000960| 76 65 64 20 74 68 65 20 | 65 78 70 65 63 74 65 64 |ved the |expected|
|00000970| 20 74 79 70 65 20 6f 66 | 20 20 69 6e 70 75 74 2c | type of| input,|
|00000980| 20 74 68 65 6e 20 72 65 | 74 75 72 6e 73 20 61 6e | then re|turns an|
|00000990| 20 69 6e 64 69 63 61 74 | 69 6f 6e 20 6f 66 20 77 | indicat|ion of w|
|000009a0| 68 65 74 68 65 72 20 74 | 68 65 20 69 6e 70 75 74 |hether t|he input|
|000009b0| 20 77 61 73 20 72 65 63 | 65 69 76 65 64 2c 20 61 | was rec|eived, a|
|000009c0| 6e 64 20 77 68 65 6e 20 | 61 70 70 72 6f 70 72 69 |nd when |appropri|
|000009d0| 61 74 65 2c 20 74 68 65 | 20 76 61 6c 75 65 20 6f |ate, the| value o|
|000009e0| 66 20 74 68 61 74 20 69 | 6e 70 75 74 2e 0a 80 04 |f that i|nput....|
|000009f0| 80 00 00 00 00 02 00 06 | 80 00 00 02 00 08 80 00 |........|........|
|00000a00| 00 00 00 07 69 73 56 61 | 6c 69 64 40 54 68 69 73 |....isVa|lid@This|
|00000a10| 20 6d 65 74 68 6f 64 20 | 72 65 74 75 72 6e 73 20 | method |returns |
|00000a20| 74 72 75 65 20 69 66 20 | 74 68 65 20 72 65 73 70 |true if |the resp|
|00000a30| 6f 6e 73 65 20 69 73 20 | 76 61 6c 69 64 2c 20 66 |onse is |valid, f|
|00000a40| 61 6c 73 65 20 69 66 20 | 6e 6f 74 2e 0a 80 00 00 |alse if |not.....|
|00000a50| 01 00 00 00 01 00 45 00 | 08 80 00 00 00 00 05 76 |......E.|.......v|
|00000a60| 61 6c 75 65 9c 54 68 69 | 73 20 6d 65 74 68 6f 64 |alue.Thi|s method|
|00000a70| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 76 61 6c | returns| the val|
|00000a80| 75 65 20 61 73 73 6f 63 | 69 61 74 65 64 20 77 69 |ue assoc|iated wi|
|00000a90| 74 68 20 74 68 65 20 72 | 65 73 70 6f 6e 73 65 2c |th the r|esponse,|
|00000aa0| 20 69 66 20 74 68 65 72 | 65 20 69 73 20 6f 6e 65 | if ther|e is one|
|00000ab0| 2e 20 49 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |. If the|re is no|
|00000ac0| 20 76 61 6c 75 65 2c 20 | 6f 72 20 69 66 20 74 68 | value, |or if th|
|00000ad0| 65 20 72 65 73 70 6f 6e | 73 65 20 69 73 20 69 6e |e respon|se is in|
|00000ae0| 76 61 6c 69 64 2c 20 61 | 20 6e 75 6c 6c 20 6f 62 |valid, a| null ob|
|00000af0| 6a 65 63 74 20 69 73 20 | 72 65 74 75 72 6e 65 64 |ject is |returned|
|00000b00| 2e 0a 80 00 00 00 00 00 | 00 01 00 45 00 00 00 16 |........|...E....|
|00000b10| 4b 6e 6f 77 20 61 20 75 | 73 65 72 27 73 20 72 65 |Know a u|ser's re|
|00000b20| 73 70 6f 6e 73 65 44 00 | 00 00 00 06 80 00 00 03 |sponseD.|........|
|00000b30| 00 08 80 00 00 00 00 08 | 73 65 74 56 61 6c 69 64 |........|setValid|
|00000b40| 35 54 68 69 73 20 6d 65 | 74 68 6f 64 20 73 65 74 |5This me|thod set|
|00000b50| 73 20 74 68 65 20 72 65 | 73 70 6f 6e 73 65 20 74 |s the re|sponse t|
|00000b60| 6f 20 62 65 20 61 20 76 | 61 6c 69 64 20 72 65 73 |o be a v|alid res|
|00000b70| 70 6f 6e 73 65 2e 00 00 | 4a 00 08 80 00 00 00 00 |ponse...|J.......|
|00000b80| 0a 73 65 74 49 6e 76 61 | 6c 69 64 38 54 68 69 73 |.setInva|lid8This|
|00000b90| 20 6d 65 74 68 6f 64 20 | 73 65 74 73 20 74 68 65 | method |sets the|
|00000ba0| 20 72 65 73 70 6f 6e 73 | 65 20 74 6f 20 62 65 20 | respons|e to be |
|00000bb0| 61 6e 20 69 6e 76 61 6c | 69 64 20 72 65 73 70 6f |an inval|id respo|
|00000bc0| 6e 73 65 2e 00 00 4a 00 | 08 80 01 00 0a 80 00 00 |nse...J.|........|
|00000bd0| 00 00 00 00 01 00 00 00 | 05 76 61 6c 75 65 59 54 |........|.valueYT|
|00000be0| 68 69 73 20 6d 65 74 68 | 6f 64 20 73 65 74 73 20 |his meth|od sets |
|00000bf0| 74 68 65 20 76 61 6c 75 | 65 20 61 73 73 6f 63 69 |the valu|e associ|
|00000c00| 61 74 65 64 20 77 69 74 | 68 20 74 68 65 20 72 65 |ated wit|h the re|
|00000c10| 73 70 6f 6e 73 65 20 74 | 6f 20 62 65 20 74 68 65 |sponse t|o be the|
|00000c20| 20 76 61 6c 75 65 20 6f | 66 20 74 68 65 20 70 61 | value o|f the pa|
|00000c30| 72 61 6d 65 74 65 72 2e | 00 00 4a 00 00 00 1a 52 |rameter.|..J....R|
|00000c40| 65 6d 65 6d 62 65 72 20 | 61 20 75 73 65 72 27 73 |emember |a user's|
|00000c50| 20 72 65 73 70 6f 6e 73 | 65 44 00 00 00 00 00 00 | respons|eD......|
|00000c60| 0d 55 73 65 72 20 52 65 | 73 70 6f 6e 73 65 ff 28 |.User Re|sponse.(|
|00000c70| 01 54 68 69 73 20 63 6c | 61 73 73 20 72 65 70 72 |.This cl|ass repr|
|00000c80| 65 73 65 6e 74 73 20 61 | 20 72 65 73 70 6f 6e 73 |esents a| respons|
|00000c90| 65 20 6d 61 64 65 20 62 | 79 20 61 20 75 73 65 72 |e made b|y a user|
|00000ca0| 20 77 68 65 6e 20 61 73 | 6b 65 64 20 74 6f 20 70 | when as|ked to p|
|00000cb0| 65 72 66 6f 72 6d 20 73 | 6f 6d 65 20 74 61 73 6b |erform s|ome task|
|00000cc0| 2e 20 54 68 65 20 72 65 | 73 70 6f 6e 73 65 20 63 |. The re|sponse c|
|00000cd0| 61 6e 20 62 65 20 69 6e | 76 61 6c 69 64 20 69 66 |an be in|valid if|
|00000ce0| 20 74 68 65 20 75 73 65 | 72 20 70 72 65 73 73 65 | the use|r presse|
|00000cf0| 64 20 74 68 65 20 63 61 | 6e 63 65 6c 20 6b 65 79 |d the ca|ncel key|
|00000d00| 20 6f 72 20 66 61 69 6c | 65 64 20 74 6f 20 70 65 | or fail|ed to pe|
|00000d10| 72 66 6f 72 6d 20 74 68 | 65 20 74 61 73 6b 2e 20 |rform th|e task. |
|00000d20| 49 66 20 74 68 65 20 72 | 65 73 70 6f 6e 73 65 20 |If the r|esponse |
|00000d30| 69 73 20 76 61 6c 69 64 | 2c 20 74 68 65 72 65 20 |is valid|, there |
|00000d40| 6d 61 79 20 62 65 20 61 | 20 76 61 6c 75 65 20 61 |may be a| value a|
|00000d50| 73 73 6f 63 69 61 74 65 | 64 20 77 69 74 68 20 74 |ssociate|d with t|
|00000d60| 68 65 20 72 65 73 70 6f | 6e 73 65 20 69 6e 64 69 |he respo|nse indi|
|00000d70| 63 61 74 69 6e 67 20 74 | 68 65 20 72 65 73 75 6c |cating t|he resul|
|00000d80| 74 73 20 6f 66 20 74 68 | 65 20 75 73 65 72 27 73 |ts of th|e user's|
|00000d90| 20 61 63 74 69 6f 6e 73 | 2e 00 00 29 00 00 00 00 | actions|...)....|
|00000da0| 00 00 00 41 00 00 00 0e | 47 65 74 20 75 73 65 72 |...A....|Get user|
|00000db0| 20 69 6e 70 75 74 26 00 | 40 00 00 06 00 14 80 26 | input&.|@......&|
|00000dc0| 00 40 00 2f 00 3f 00 14 | 80 2c 00 40 00 06 80 01 |.@./.?..|.,.@....|
|00000dd0| 00 50 00 00 00 00 00 18 | 4b 6e 6f 77 20 74 68 65 |.P......|Know the|
|00000de0| 20 75 73 65 72 27 73 20 | 72 65 73 70 6f 6e 73 65 | user's |response|
|00000df0| 1c 00 00 00 00 14 80 2c | 00 40 00 1f 00 14 80 2c |.......,|.@.....,|
|00000e00| 00 40 00 06 80 01 00 53 | 00 00 00 00 00 14 4b 6e |.@.....S|......Kn|
|00000e10| 6f 77 20 75 73 65 72 27 | 73 20 72 65 73 70 6f 6e |ow user'|s respon|
|00000e20| 73 65 1e 00 00 00 00 14 | 80 2c 00 40 00 06 80 01 |se......|.,.@....|
|00000e30| 00 55 00 00 00 00 00 2b | 43 68 65 63 6b 20 74 6f |.U.....+|Check to|
|00000e40| 20 73 65 65 20 69 66 20 | 63 61 6e 63 65 6c 20 6b | see if |cancel k|
|00000e50| 65 79 20 68 61 73 20 62 | 65 65 6e 20 70 72 65 73 |ey has b|een pres|
|00000e60| 73 65 64 1d 00 00 00 00 | 1a 41 63 63 65 70 74 20 |sed.....|.Accept |
|00000e70| 69 6e 70 75 74 20 66 72 | 6f 6d 20 74 68 65 20 75 |input fr|om the u|
|00000e80| 73 65 72 26 00 59 54 68 | 69 73 20 63 6f 6e 74 72 |ser&.YTh|is contr|
|00000e90| 61 63 74 20 73 75 70 70 | 6f 72 74 73 20 74 68 65 |act supp|orts the|
|00000ea0| 20 61 62 69 6c 69 74 79 | 20 74 6f 20 64 65 74 65 | ability| to dete|
|00000eb0| 72 6d 69 6e 65 20 77 68 | 65 6e 20 74 68 65 20 75 |rmine wh|en the u|
|00000ec0| 73 65 72 20 68 61 73 20 | 69 6e 70 75 74 20 73 6f |ser has |input so|
|00000ed0| 6d 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 3e |me infor|mation.>|
|00000ee0| 00 01 00 08 80 01 00 0a | 80 00 00 05 00 00 00 01 |........|........|
|00000ef0| 00 00 00 09 67 65 74 4e | 75 6d 62 65 72 ff 28 01 |....getN|umber.(.|
|00000f00| 54 68 69 73 20 6d 65 74 | 68 6f 64 20 64 69 73 70 |This met|hod disp|
|00000f10| 6c 61 79 73 20 74 68 65 | 20 54 65 78 74 20 70 72 |lays the| Text pr|
|00000f20| 6f 6d 70 74 20 6f 6e 20 | 74 68 65 20 73 63 72 65 |ompt on |the scre|
|00000f30| 65 6e 20 74 6f 20 69 6e | 66 6f 72 6d 20 74 68 65 |en to in|form the|
|00000f40| 20 75 73 65 72 20 77 68 | 61 74 20 74 79 70 65 20 | user wh|at type |
|00000f50| 6f 66 20 76 61 6c 75 65 | 20 69 73 20 65 78 70 65 |of value| is expe|
|00000f60| 63 74 65 64 2c 20 72 65 | 61 64 73 20 6e 75 6d 65 |cted, re|ads nume|
|00000f70| 72 69 63 20 6b 65 79 20 | 70 72 65 73 73 65 73 2c |ric key |presses,|
|00000f80| 20 61 6e 64 20 61 73 73 | 65 6d 62 6c 65 73 20 74 | and ass|embles t|
|00000f90| 68 6f 73 65 20 6b 65 79 | 20 70 72 65 73 73 65 73 |hose key| presses|
|00000fa0| 20 69 6e 74 6f 20 61 20 | 76 61 6c 75 65 20 77 68 | into a |value wh|
|00000fb0| 69 63 68 20 69 74 20 72 | 65 74 75 72 6e 73 2e 20 |ich it r|eturns. |
|00000fc0| 54 68 65 20 6e 75 6d 62 | 65 72 20 72 65 70 72 65 |The numb|er repre|
|00000fd0| 73 65 6e 74 69 6e 67 20 | 61 20 6b 65 79 20 70 72 |senting |a key pr|
|00000fe0| 65 73 73 20 69 73 20 65 | 63 68 6f 65 64 20 6f 6e |ess is e|choed on|
|00000ff0| 20 74 68 65 20 64 69 73 | 70 6c 61 79 20 74 6f 20 | the dis|play to |
|00001000| 70 72 6f 76 69 64 65 20 | 76 69 73 75 61 6c 20 66 |provide |visual f|
|00001010| 65 65 64 62 61 63 6b 20 | 74 6f 20 74 68 65 20 63 |eedback |to the c|
|00001020| 75 73 74 6f 6d 65 72 2e | 0a 80 44 00 00 00 00 00 |ustomer.|..D.....|
|00001030| 00 00 3e 00 00 00 1c 41 | 73 6b 20 74 68 65 20 75 |..>....A|sk the u|
|00001040| 73 65 72 20 66 6f 72 20 | 69 6e 66 6f 72 6d 61 74 |ser for |informat|
|00001050| 69 6f 6e 1c 00 0c 80 01 | 00 3e 00 06 00 1b 00 14 |ion.....|.>......|
|00001060| 80 1c 00 5a 00 06 80 01 | 00 5b 00 00 00 00 00 15 |...Z....|.[......|
|00001070| 50 72 6f 6d 70 74 20 66 | 6f 72 20 74 68 65 20 61 |Prompt f|or the a|
|00001080| 6d 6f 75 6e 74 04 80 01 | 00 18 00 00 00 02 00 5c |mount...|.......\|
|00001090| 00 06 80 01 00 14 80 05 | 00 0d 00 5e 00 00 00 00 |........|...^....|
|000010a0| 00 0e 54 72 61 6e 73 66 | 65 72 20 66 75 6e 64 73 |..Transf|er funds|
|000010b0| 5d 00 00 00 00 00 00 0e | 46 75 6e 64 73 20 54 72 |].......|Funds Tr|
|000010c0| 61 6e 73 66 65 72 6b 54 | 68 69 73 20 63 6c 61 73 |ansferkT|his clas|
|000010d0| 73 20 72 65 70 72 65 73 | 65 6e 74 73 20 61 20 72 |s repres|ents a r|
|000010e0| 65 71 75 65 73 74 20 66 | 72 6f 6d 20 61 20 62 61 |equest f|rom a ba|
|000010f0| 6e 6b 20 63 75 73 74 6f | 6d 65 72 20 74 6f 20 68 |nk custo|mer to h|
|00001100| 61 76 65 20 66 75 6e 64 | 73 20 74 72 61 6e 73 66 |ave fund|s transf|
|00001110| 65 72 72 65 64 20 66 72 | 6f 6d 20 6f 6e 65 20 61 |erred fr|om one a|
|00001120| 63 63 6f 75 6e 74 20 74 | 6f 20 61 6e 6f 74 68 65 |ccount t|o anothe|
|00001130| 72 2e 00 00 03 00 00 00 | 00 14 80 1c 00 5a 00 06 |r.......|.....Z..|
|00001140| 80 03 00 60 00 14 80 1e | 00 0c 80 01 00 1f 00 05 |...`....|........|
|00001150| 00 62 00 14 80 1e 00 63 | 00 06 80 03 00 14 80 1c |.b.....c|........|
|00001160| 00 5a 00 65 00 64 00 14 | 80 2e 00 0c 80 01 00 2f |.Z.e.d..|......./|
|00001170| 00 08 00 14 80 2e 00 68 | 00 06 80 01 00 69 00 00 |.......h|.....i..|
|00001180| 00 00 00 1f 49 6e 66 6f | 72 6d 20 75 73 65 72 20 |....Info|rm user |
|00001190| 6f 66 20 75 6e 72 65 61 | 64 61 62 6c 65 20 63 61 |of unrea|dable ca|
|000011a0| 72 64 73 25 00 00 00 00 | 14 80 2e 00 68 00 06 80 |rds%....|....h...|
|000011b0| 02 00 14 80 05 00 0d 00 | 6c 00 6b 00 00 00 00 00 |........|l.k.....|
|000011c0| 0d 44 65 70 6f 73 69 74 | 20 66 75 6e 64 73 19 00 |.Deposit| funds..|
|000011d0| 00 00 00 14 80 2e 00 68 | 00 61 00 67 00 14 80 2e |.......h|.a.g....|
|000011e0| 00 68 00 06 80 01 00 6f | 00 00 00 00 00 21 50 72 |.h.....o|.....!Pr|
|000011f0| 69 6e 74 20 61 20 72 65 | 63 6f 72 64 20 6f 66 20 |int a re|cord of |
|00001200| 74 68 65 20 74 72 61 6e | 73 61 63 74 69 6f 6e 18 |the tran|saction.|
|00001210| 00 00 00 00 14 80 2e 00 | 68 00 06 80 02 00 14 80 |........|h.......|
|00001220| 05 00 0d 00 72 00 71 00 | 00 00 00 00 0e 57 69 74 |....r.q.|.....Wit|
|00001230| 68 64 72 61 77 20 66 75 | 6e 64 73 04 80 01 00 18 |hdraw fu|nds.....|
|00001240| 00 00 00 02 00 06 80 01 | 00 14 80 1c 00 5a 00 75 |........|.....Z.u|
|00001250| 00 00 00 00 00 15 50 72 | 6f 6d 70 74 20 66 6f 72 |......Pr|ompt for|
|00001260| 20 74 68 65 20 61 6d 6f | 75 6e 74 74 00 00 00 00 | the amo|untt....|
|00001270| 72 00 00 00 16 57 69 74 | 68 64 72 61 77 61 6c 20 |r....Wit|hdrawal |
|00001280| 54 72 61 6e 73 61 63 74 | 69 6f 6e 69 54 68 69 73 |Transact|ioniThis|
|00001290| 20 63 6c 61 73 73 20 72 | 65 70 72 65 73 65 6e 74 | class r|epresent|
|000012a0| 73 20 61 20 72 65 71 75 | 65 73 74 20 62 79 20 61 |s a requ|est by a|
|000012b0| 20 62 61 6e 6b 20 63 75 | 73 74 6f 6d 65 72 20 74 | bank cu|stomer t|
|000012c0| 6f 20 77 69 74 68 64 72 | 61 77 20 66 75 6e 64 73 |o withdr|aw funds|
|000012d0| 20 66 72 6f 6d 20 61 6e | 20 61 63 63 6f 75 6e 74 | from an| account|
|000012e0| 20 69 6e 20 74 68 65 20 | 66 6f 72 6d 20 6f 66 20 | in the |form of |
|000012f0| 63 61 73 68 2e 00 00 03 | 00 00 00 00 14 80 2e 00 |cash....|........|
|00001300| 68 00 06 80 01 00 77 00 | 00 00 00 00 11 45 6a 65 |h.....w.|.....Eje|
|00001310| 63 74 20 74 68 65 20 72 | 65 63 65 69 70 74 04 80 |ct the r|eceipt..|
|00001320| 00 00 00 00 05 00 06 80 | 01 00 14 80 18 00 0c 80 |........|........|
|00001330| 01 00 06 80 00 00 01 00 | 08 80 00 00 00 00 07 65 |........|.......e|
|00001340| 78 65 63 75 74 65 92 54 | 68 69 73 20 6d 65 74 68 |xecute.T|his meth|
|00001350| 6f 64 20 65 78 65 63 75 | 74 65 73 20 61 20 74 72 |od execu|tes a tr|
|00001360| 61 6e 73 61 63 74 69 6f | 6e 2c 20 72 65 74 75 72 |ansactio|n, retur|
|00001370| 6e 69 6e 67 20 74 72 75 | 65 20 69 66 20 74 68 65 |ning tru|e if the|
|00001380| 20 74 72 61 6e 73 61 63 | 74 69 6f 6e 20 77 61 73 | transac|tion was|
|00001390| 20 63 6f 6d 70 6c 65 74 | 65 64 2c 20 66 61 6c 73 | complet|ed, fals|
|000013a0| 65 20 69 66 20 74 68 65 | 20 75 73 65 72 20 63 61 |e if the| user ca|
|000013b0| 6e 63 65 6c 65 64 20 74 | 68 65 20 74 72 61 6e 73 |nceled t|he trans|
|000013c0| 61 63 74 69 6f 6e 20 62 | 65 66 6f 72 65 20 63 6f |action b|efore co|
|000013d0| 6d 70 6c 65 74 69 6f 6e | 2e 0a 80 00 00 01 00 00 |mpletion|........|
|000013e0| 00 01 00 7d 00 00 00 1f | 45 78 65 63 75 74 65 20 |...}....|Execute |
|000013f0| 61 20 66 69 6e 61 6e 63 | 69 61 6c 20 74 72 61 6e |a financ|ial tran|
|00001400| 73 61 63 74 69 6f 6e 18 | 00 7c 00 00 01 00 7b 00 |saction.|.|....{.|
|00001410| 1f 45 78 65 63 75 74 65 | 20 61 20 66 69 6e 61 6e |.Execute| a finan|
|00001420| 63 69 61 6c 20 74 72 61 | 6e 73 61 63 74 69 6f 6e |cial tra|nsaction|
|00001430| 18 00 38 54 68 69 73 20 | 63 6f 6e 74 72 61 63 74 |..8This |contract|
|00001440| 20 73 75 70 70 6f 72 74 | 73 20 65 78 65 63 75 74 | support|s execut|
|00001450| 69 6e 67 20 66 69 6e 61 | 6e 63 69 61 6c 20 74 72 |ing fina|ncial tr|
|00001460| 61 6e 73 61 63 74 69 6f | 6e 73 2e 7a 00 00 00 00 |ansactio|ns.z....|
|00001470| 00 20 43 72 65 61 74 65 | 20 61 6e 64 20 69 6e 69 |. Create| and ini|
|00001480| 74 69 61 74 65 20 74 72 | 61 6e 73 61 63 74 69 6f |tiate tr|ansactio|
|00001490| 6e 73 79 00 00 00 00 06 | 80 01 00 14 80 1e 00 63 |nsy.....|.......c|
|000014a0| 00 80 00 00 00 00 00 1c | 44 69 73 70 6c 61 79 20 |........|Display |
|000014b0| 74 68 65 20 67 72 65 65 | 74 69 6e 67 20 6d 65 73 |the gree|ting mes|
|000014c0| 73 61 67 65 79 00 00 00 | 00 06 80 01 00 14 80 1e |sagey...|........|
|000014d0| 00 63 00 82 00 00 00 00 | 00 15 44 69 73 70 6c 61 |.c......|..Displa|
|000014e0| 79 20 74 68 65 20 6d 61 | 69 6e 20 6d 65 6e 75 79 |y the ma|in menuy|
|000014f0| 00 00 00 00 78 00 06 80 | 01 00 14 80 2e 00 68 00 |....x...|......h.|
|00001500| 84 00 00 00 00 00 13 45 | 6a 65 63 74 20 74 68 65 |.......E|ject the|
|00001510| 20 62 61 6e 6b 20 63 61 | 72 64 79 00 00 00 00 00 | bank ca|rdy.....|
|00001520| 00 03 41 54 4d 63 54 68 | 69 73 20 63 6c 61 73 73 |..ATMcTh|is class|
|00001530| 20 72 65 70 72 65 73 65 | 6e 74 73 20 61 20 74 65 | represe|nts a te|
|00001540| 6c 6c 65 72 20 6d 61 63 | 68 69 6e 65 20 74 68 72 |ller mac|hine thr|
|00001550| 6f 75 67 68 20 77 68 69 | 63 68 20 62 61 6e 6b 20 |ough whi|ch bank |
|00001560| 63 75 73 74 6f 6d 65 72 | 73 20 63 61 6e 20 70 65 |customer|s can pe|
|00001570| 72 66 6f 72 6d 20 66 69 | 6e 61 6e 63 69 61 6c 20 |rform fi|nancial |
|00001580| 73 65 72 76 69 63 65 73 | 2e 00 00 02 00 00 00 00 |services|........|
|00001590| 85 00 29 44 69 73 70 6c | 61 79 20 61 20 6d 65 73 |..)Displ|ay a mes|
|000015a0| 73 61 67 65 20 61 6e 64 | 20 77 61 69 74 20 66 6f |sage and| wait fo|
|000015b0| 72 20 73 6f 6d 65 20 65 | 76 65 6e 74 2e 00 6c 54 |r some e|vent..lT|
|000015c0| 68 69 73 20 63 6f 6e 74 | 72 61 63 74 20 73 75 70 |his cont|ract sup|
|000015d0| 70 6f 72 74 73 20 70 72 | 6f 6d 70 74 69 6e 67 20 |ports pr|ompting |
|000015e0| 74 68 65 20 75 73 65 72 | 20 74 6f 20 70 65 72 66 |the user| to perf|
|000015f0| 6f 72 6d 20 73 6f 6d 65 | 20 61 63 74 69 6f 6e 2c |orm some| action,|
|00001600| 20 73 75 63 68 20 61 73 | 20 69 6e 73 65 72 74 69 | such as| inserti|
|00001610| 6e 67 20 6f 72 20 72 65 | 6d 6f 76 69 6e 67 20 61 |ng or re|moving a|
|00001620| 20 62 61 6e 6b 20 63 61 | 72 64 2e 65 00 00 00 00 | bank ca|rd.e....|
|00001630| 00 24 43 68 65 63 6b 20 | 69 66 20 63 61 6e 63 65 |.$Check |if cance|
|00001640| 6c 20 6b 65 79 20 68 61 | 73 20 62 65 65 6e 20 70 |l key ha|s been p|
|00001650| 72 65 73 73 65 64 18 00 | 00 00 00 81 00 83 00 14 |ressed..|........|
|00001660| 80 1e 00 63 00 06 80 01 | 00 86 00 00 00 00 00 15 |...c....|........|
|00001670| 50 72 6f 6d 70 74 20 66 | 6f 72 20 61 6e 20 61 63 |Prompt f|or an ac|
|00001680| 63 6f 75 6e 74 18 00 00 | 00 00 2b 47 65 74 20 61 |count...|..+Get a|
|00001690| 20 75 73 65 72 20 73 65 | 6c 65 63 74 69 6f 6e 20 | user se|lection |
|000016a0| 66 72 6f 6d 20 61 20 6c | 69 73 74 20 6f 66 20 6f |from a l|ist of o|
|000016b0| 70 74 69 6f 6e 73 1e 00 | 52 54 68 69 73 20 63 6f |ptions..|RThis co|
|000016c0| 6e 74 72 61 63 74 20 73 | 75 70 70 6f 72 74 73 20 |ntract s|upports |
|000016d0| 70 72 6f 6d 70 74 69 6e | 67 20 74 68 65 20 75 73 |promptin|g the us|
|000016e0| 65 72 20 74 6f 20 63 68 | 6f 6f 73 65 20 61 6d 6f |er to ch|oose amo|
|000016f0| 6e 67 20 61 20 66 69 6e | 69 74 65 20 73 65 74 20 |ng a fin|ite set |
|00001700| 6f 66 20 63 68 6f 69 63 | 65 73 2e 61 00 6e 00 00 |of choic|es.a.n..|
|00001710| 00 00 00 12 47 61 74 68 | 65 72 20 69 6e 66 6f 72 |....Gath|er infor|
|00001720| 6d 61 74 69 6f 6e 18 00 | 00 00 00 66 00 76 00 14 |mation..|...f.v..|
|00001730| 80 2d 00 5a 00 06 80 01 | 00 88 00 00 00 00 00 13 |.-.Z....|........|
|00001740| 50 72 6f 6d 70 74 20 75 | 73 65 72 20 66 6f 72 20 |Prompt u|ser for |
|00001750| 50 49 4e 25 00 00 00 00 | 21 47 65 74 20 61 20 6e |PIN%....|!Get a n|
|00001760| 75 6d 65 72 69 63 20 76 | 61 6c 75 65 20 66 72 6f |umeric v|alue fro|
|00001770| 6d 20 74 68 65 20 75 73 | 65 72 1c 00 3c 54 68 69 |m the us|er..<Thi|
|00001780| 73 20 63 6f 6e 74 72 61 | 63 74 20 73 75 70 70 6f |s contra|ct suppo|
|00001790| 72 74 73 20 70 72 6f 6d | 70 74 69 6e 67 20 74 68 |rts prom|pting th|
|000017a0| 65 20 75 73 65 72 20 66 | 6f 72 20 6e 75 6d 65 72 |e user f|or numer|
|000017b0| 69 63 20 69 6e 70 75 74 | 2e 00 14 80 21 00 31 00 |ic input|....!.1.|
|000017c0| 06 80 01 00 8a 00 00 00 | 00 00 19 50 72 6f 76 69 |........|...Provi|
|000017d0| 64 65 20 66 65 65 64 62 | 61 63 6b 20 6f 6e 20 69 |de feedb|ack on i|
|000017e0| 6e 70 75 74 1c 00 00 00 | 00 20 00 13 44 69 73 70 |nput....|. ..Disp|
|000017f0| 6c 61 79 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 22 |lay info|rmation"|
|00001800| 00 60 54 68 69 73 20 63 | 6f 6e 74 72 61 63 74 20 |.`This c|ontract |
|00001810| 73 75 70 70 6f 72 74 73 | 20 74 68 65 20 64 69 73 |supports| the dis|
|00001820| 70 6c 61 79 20 6f 66 20 | 74 65 78 74 20 61 6e 64 |play of |text and|
|00001830| 20 67 72 61 70 68 69 63 | 73 20 74 6f 20 65 69 74 | graphic|s to eit|
|00001840| 68 65 72 20 74 68 65 20 | 73 63 72 65 65 6e 20 6f |her the |screen o|
|00001850| 72 20 72 65 63 65 69 70 | 74 20 70 72 69 6e 74 65 |r receip|t printe|
|00001860| 72 2e 2f 00 4f 00 14 80 | 24 00 0c 80 01 00 06 80 |r./.O...|$.......|
|00001870| 00 00 01 00 08 80 00 00 | 00 00 05 65 6a 65 63 74 |........|...eject|
|00001880| 45 54 68 69 73 20 6d 65 | 74 68 6f 64 20 63 61 75 |EThis me|thod cau|
|00001890| 73 65 73 20 73 6f 6d 65 | 74 68 69 6e 67 20 70 68 |ses some|thing ph|
|000018a0| 79 73 69 63 61 6c 20 74 | 6f 20 62 65 20 65 6a 65 |ysical t|o be eje|
|000018b0| 63 74 65 64 20 66 72 6f | 6d 20 74 68 65 20 6d 61 |cted fro|m the ma|
|000018c0| 63 68 69 6e 65 2e 00 00 | 8e 00 00 00 19 4f 75 74 |chine...|.....Out|
|000018d0| 70 75 74 20 73 6f 6d 65 | 74 68 69 6e 67 20 70 68 |put some|thing ph|
|000018e0| 79 73 69 63 61 6c 24 00 | 8d 00 00 01 00 8c 00 12 |ysical$.|........|
|000018f0| 4f 75 74 70 75 74 20 74 | 6f 20 74 68 65 20 75 73 |Output t|o the us|
|00001900| 65 72 24 00 38 54 68 69 | 73 20 63 6f 6e 74 72 61 |er$.8Thi|s contra|
|00001910| 63 74 20 73 75 70 70 6f | 72 74 73 20 74 68 65 20 |ct suppo|rts the |
|00001920| 6f 75 74 70 75 74 20 6f | 66 20 73 6f 6d 65 74 68 |output o|f someth|
|00001930| 69 6e 67 20 70 68 79 73 | 69 63 61 6c 2e 2f 00 05 |ing phys|ical./..|
|00001940| 00 08 80 00 00 00 00 0f | 49 6e 73 65 72 74 56 61 |........|InsertVa|
|00001950| 6c 69 64 43 61 72 64 70 | 54 68 69 73 20 6d 65 74 |lidCardp|This met|
|00001960| 68 6f 64 20 64 69 73 70 | 6c 61 79 73 20 61 20 6d |hod disp|lays a m|
|00001970| 65 73 73 61 67 65 20 61 | 73 6b 69 6e 67 20 74 68 |essage a|sking th|
|00001980| 65 20 75 73 65 72 20 74 | 6f 20 69 6e 73 65 72 74 |e user t|o insert|
|00001990| 20 61 20 63 61 72 64 2c | 20 61 6e 64 20 77 61 69 | a card,| and wai|
|000019a0| 74 73 20 75 6e 74 69 6c | 20 61 20 76 61 6c 69 64 |ts until| a valid|
|000019b0| 20 63 61 72 64 20 68 61 | 73 20 62 65 65 6e 20 69 | card ha|s been i|
|000019c0| 6e 73 65 72 74 65 64 2e | 0a 80 44 00 00 00 00 00 |nserted.|..D.....|
|000019d0| 00 00 2f 00 08 80 00 00 | 00 00 15 49 6e 73 65 72 |../.....|...Inser|
|000019e0| 74 44 65 70 6f 73 69 74 | 45 6e 76 65 6c 6f 70 65 |tDeposit|Envelope|
|000019f0| f7 54 68 69 73 20 6d 65 | 73 73 61 67 65 20 64 69 |.This me|ssage di|
|00001a00| 73 70 6c 61 79 73 20 61 | 20 6d 65 73 73 61 67 65 |splays a| message|
|00001a10| 20 61 73 6b 69 6e 67 20 | 74 68 65 20 75 73 65 72 | asking |the user|
|00001a20| 20 74 6f 20 69 6e 73 65 | 72 74 20 61 20 64 65 70 | to inse|rt a dep|
|00001a30| 6f 73 69 74 20 65 6e 76 | 65 6c 6f 70 65 20 61 6e |osit env|elope an|
|00001a40| 64 20 77 61 69 74 73 20 | 75 6e 74 69 6c 20 61 6e |d waits |until an|
|00001a50| 20 65 6e 76 65 6c 6f 70 | 65 20 68 61 73 20 62 65 | envelop|e has be|
|00001a60| 65 6e 20 69 6e 73 65 72 | 74 65 64 2e 20 49 66 20 |en inser|ted. If |
|00001a70| 6e 6f 20 65 6e 76 65 6c | 6f 70 65 20 69 73 20 69 |no envel|ope is i|
|00001a80| 6e 73 65 72 74 65 64 20 | 77 69 74 68 69 6e 20 66 |nserted |within f|
|00001a90| 69 76 65 20 6d 69 6e 75 | 74 65 73 2c 20 74 68 65 |ive minu|tes, the|
|00001aa0| 20 74 72 61 6e 73 61 63 | 74 69 6f 6e 20 69 73 20 | transac|tion is |
|00001ab0| 63 6f 6e 73 69 64 65 72 | 65 64 20 63 61 6e 63 65 |consider|ed cance|
|00001ac0| 6c 65 64 2c 20 61 6e 64 | 20 74 68 61 74 20 55 73 |led, and| that Us|
|00001ad0| 65 72 20 52 65 73 70 6f | 6e 73 65 20 69 73 20 72 |er Respo|nse is r|
|00001ae0| 65 74 75 72 6e 65 64 2e | 0a 80 44 00 00 00 00 00 |eturned.|..D.....|
|00001af0| 00 00 2f 00 08 80 00 00 | 00 00 0a 72 65 6d 6f 76 |../.....|...remov|
|00001b00| 65 43 61 72 64 fa 54 68 | 69 73 20 6d 65 74 68 6f |eCard.Th|is metho|
|00001b10| 64 20 64 69 73 70 6c 61 | 79 73 20 61 20 6d 65 73 |d displa|ys a mes|
|00001b20| 73 61 67 65 20 61 73 6b | 69 6e 67 20 74 68 65 20 |sage ask|ing the |
|00001b30| 75 73 65 72 20 74 6f 20 | 72 65 6d 6f 76 65 20 74 |user to |remove t|
|00001b40| 68 65 20 62 61 6e 6b 20 | 63 61 72 64 20 61 6e 64 |he bank |card and|
|00001b50| 20 77 61 69 74 73 20 75 | 6e 74 69 6c 20 74 68 65 | waits u|ntil the|
|00001b60| 20 63 61 72 64 20 68 61 | 73 20 62 65 65 6e 20 72 | card ha|s been r|
|00001b70| 65 6d 6f 76 65 64 2e 20 | 49 66 20 74 68 65 20 63 |emoved. |If the c|
|00001b80| 61 72 64 20 68 61 73 20 | 6e 6f 74 20 62 65 65 6e |ard has |not been|
|00001b90| 20 72 65 6d 6f 76 65 64 | 20 61 66 74 65 72 20 66 | removed| after f|
|00001ba0| 69 76 65 20 6d 69 6e 75 | 74 65 73 2c 20 61 20 55 |ive minu|tes, a U|
|00001bb0| 73 65 72 20 52 65 73 70 | 6f 6e 73 65 20 69 73 20 |ser Resp|onse is |
|00001bc0| 72 65 74 75 72 6e 65 64 | 20 73 69 67 6e 69 66 79 |returned| signify|
|00001bd0| 69 6e 67 20 74 68 61 74 | 20 74 68 65 20 75 73 65 |ing that| the use|
|00001be0| 72 20 64 69 64 20 6e 6f | 74 20 63 6f 6c 6c 65 63 |r did no|t collec|
|00001bf0| 74 20 74 68 65 20 62 61 | 6e 6b 20 63 61 72 64 2e |t the ba|nk card.|
|00001c00| 0a 80 44 00 00 00 00 00 | 00 00 2f 00 08 80 00 00 |..D.....|../.....|
|00001c10| 00 00 0d 72 65 6d 6f 76 | 65 52 65 63 65 69 70 74 |...remov|eReceipt|
|00001c20| e9 54 68 69 73 20 6d 65 | 74 68 6f 64 20 64 69 73 |.This me|thod dis|
|00001c30| 70 6c 61 79 73 20 61 20 | 6d 65 73 73 61 67 65 20 |plays a |message |
|00001c40| 61 73 6b 69 6e 67 20 75 | 73 65 72 73 20 74 6f 20 |asking u|sers to |
|00001c50| 72 65 6d 6f 76 65 20 74 | 68 65 20 70 72 69 6e 74 |remove t|he print|
|00001c60| 65 64 20 72 65 63 65 69 | 70 74 20 6f 66 20 74 68 |ed recei|pt of th|
|00001c70| 65 69 72 20 74 72 61 6e | 73 61 63 74 69 6f 6e 73 |eir tran|sactions|
|00001c80| 2e 20 49 66 20 74 68 65 | 20 72 65 63 65 69 70 74 |. If the| receipt|
|00001c90| 20 68 61 73 20 6e 6f 74 | 20 62 65 65 6e 20 72 65 | has not| been re|
|00001ca0| 6d 6f 76 65 64 20 61 66 | 74 65 72 20 66 69 76 65 |moved af|ter five|
|00001cb0| 20 6d 69 6e 75 74 65 73 | 2c 20 61 20 55 73 65 72 | minutes|, a User|
|00001cc0| 20 52 65 73 70 6f 6e 73 | 65 20 69 73 20 72 65 74 | Respons|e is ret|
|00001cd0| 75 72 6e 65 64 20 73 69 | 67 6e 69 66 79 69 6e 67 |urned si|gnifying|
|00001ce0| 20 74 68 61 74 20 74 68 | 65 20 75 73 65 72 20 64 | that th|e user d|
|00001cf0| 69 64 20 6e 6f 74 20 72 | 65 6d 6f 76 65 20 74 68 |id not r|emove th|
|00001d00| 65 20 72 65 63 65 69 70 | 74 2e 0a 80 44 00 00 00 |e receip|t...D...|
|00001d10| 00 00 00 00 2f 00 08 80 | 00 00 00 00 0a 72 65 6d |..../...|.....rem|
|00001d20| 6f 76 65 43 61 73 68 d1 | 54 68 69 73 20 6d 65 74 |oveCash.|This met|
|00001d30| 68 6f 64 20 64 69 73 70 | 6c 61 79 73 20 61 20 6d |hod disp|lays a m|
|00001d40| 65 73 73 61 67 65 20 61 | 73 6b 69 6e 67 20 75 73 |essage a|sking us|
|00001d50| 65 72 73 20 74 6f 20 72 | 65 6d 6f 76 65 20 74 68 |ers to r|emove th|
|00001d60| 65 20 63 61 73 68 20 6a | 75 73 74 20 77 69 74 68 |e cash j|ust with|
|00001d70| 64 72 61 77 6e 2e 20 49 | 66 20 74 68 65 20 63 61 |drawn. I|f the ca|
|00001d80| 73 68 20 68 61 73 20 6e | 6f 74 20 62 65 65 6e 20 |sh has n|ot been |
|00001d90| 72 65 6d 6f 76 65 64 20 | 61 66 74 65 72 20 66 69 |removed |after fi|
|00001da0| 76 65 20 6d 69 6e 75 74 | 65 73 2c 20 61 20 55 73 |ve minut|es, a Us|
|00001db0| 65 72 20 52 65 73 70 6f | 6e 73 65 20 69 73 20 72 |er Respo|nse is r|
|00001dc0| 65 74 75 72 6e 65 64 20 | 73 69 67 6e 69 66 79 69 |eturned |signifyi|
|00001dd0| 6e 67 20 74 68 61 74 20 | 74 68 65 20 75 73 65 72 |ng that |the user|
|00001de0| 20 64 69 64 20 6e 6f 74 | 20 72 65 6d 6f 76 65 20 | did not| remove |
|00001df0| 74 68 65 20 63 61 73 68 | 2e 0a 80 44 00 00 00 00 |the cash|...D....|
|00001e00| 00 00 00 2f 00 00 00 14 | 44 69 73 70 6c 61 79 20 |.../....|Display |
|00001e10| 6d 65 73 73 61 67 65 20 | 74 65 78 74 2e 00 68 00 |message |text..h.|
|00001e20| 00 06 80 00 00 00 00 00 | 00 26 57 61 69 74 20 66 |........|.&Wait f|
|00001e30| 6f 72 20 74 68 65 20 61 | 70 70 72 6f 70 72 69 61 |or the a|ppropria|
|00001e40| 74 65 20 75 73 65 72 20 | 72 65 73 70 6f 6e 73 65 |te user |response|
|00001e50| 2e 00 00 00 00 01 00 68 | 00 0c 55 73 65 72 20 4d |.......h|..User M|
|00001e60| 65 73 73 61 67 65 ae 54 | 68 69 73 20 63 6c 61 73 |essage.T|his clas|
|00001e70| 73 20 72 65 70 72 65 73 | 65 6e 74 73 20 61 20 74 |s repres|ents a t|
|00001e80| 79 70 65 20 6f 66 20 75 | 73 65 72 20 69 6e 74 65 |ype of u|ser inte|
|00001e90| 72 61 63 74 69 6f 6e 20 | 69 6e 20 77 68 69 63 68 |raction |in which|
|00001ea0| 20 74 68 65 20 75 73 65 | 72 20 69 73 20 70 72 6f | the use|r is pro|
|00001eb0| 6d 70 74 65 64 20 74 6f | 20 74 61 6b 65 20 73 6f |mpted to| take so|
|00001ec0| 6d 65 20 61 63 74 69 6f | 6e 2e 20 54 68 65 20 6d |me actio|n. The m|
|00001ed0| 65 73 73 61 67 65 20 77 | 69 6c 6c 20 6e 6f 74 20 |essage w|ill not |
|00001ee0| 72 65 74 75 72 6e 20 74 | 6f 20 69 74 73 20 63 61 |return t|o its ca|
|00001ef0| 6c 6c 65 72 20 75 6e 74 | 69 6c 20 74 68 65 20 61 |ller unt|il the a|
|00001f00| 63 74 69 6f 6e 20 68 61 | 73 20 62 65 65 6e 20 74 |ction ha|s been t|
|00001f10| 61 6b 65 6e 2e 00 00 29 | 00 44 00 00 00 18 55 73 |aken...)|.D....Us|
|00001f20| 65 72 20 49 6e 74 65 72 | 66 61 63 65 20 53 75 62 |er Inter|face Sub|
|00001f30| 73 79 73 74 65 6d 56 54 | 68 69 73 20 73 75 62 73 |systemVT|his subs|
|00001f40| 79 73 74 65 6d 20 69 6d | 70 6c 65 6d 65 6e 74 73 |ystem im|plements|
|00001f50| 20 74 68 65 20 69 6e 74 | 65 72 66 61 63 65 20 62 | the int|erface b|
|00001f60| 65 74 77 65 65 6e 20 74 | 68 65 20 41 54 4d 20 6d |etween t|he ATM m|
|00001f70| 61 63 68 69 6e 65 20 61 | 6e 64 20 74 68 65 20 62 |achine a|nd the b|
|00001f80| 61 6e 6b 20 63 75 73 74 | 6f 6d 65 72 2e 02 00 01 |ank cust|omer....|
|00001f90| 00 2c 00 01 00 41 00 01 | 00 40 00 0c 49 6e 70 75 |.,...A..|.@..Inpu|
|00001fa0| 74 20 44 65 76 69 63 65 | 4c 54 68 69 73 20 63 6c |t Device|LThis cl|
|00001fb0| 61 73 73 20 64 65 66 69 | 6e 65 73 20 74 68 65 20 |ass defi|nes the |
|00001fc0| 62 65 68 61 76 69 6f 72 | 20 6f 66 20 64 65 76 69 |behavior| of devi|
|00001fd0| 63 65 73 20 66 72 6f 6d | 20 77 68 69 63 68 20 69 |ces from| which i|
|00001fe0| 6e 70 75 74 20 63 61 6e | 20 62 65 20 6f 62 74 61 |nput can| be obta|
|00001ff0| 69 6e 65 64 2e 01 00 29 | 00 24 00 00 00 05 00 06 |ined...)|.$......|
|00002000| 80 00 00 00 00 00 00 0f | 52 65 61 64 20 62 61 6e |........|Read ban|
|00002010| 6b 20 63 61 72 64 73 25 | 00 00 00 00 06 80 00 00 |k cards%|........|
|00002020| 00 00 00 00 10 45 6a 65 | 63 74 20 62 61 6e 6b 20 |.....Eje|ct bank |
|00002030| 63 61 72 64 73 25 00 00 | 00 00 06 80 00 00 00 00 |cards%..|........|
|00002040| 00 00 32 4b 65 65 70 20 | 62 61 6e 6b 20 63 61 72 |..2Keep |bank car|
|00002050| 64 73 20 77 68 6f 73 65 | 20 50 49 4e 20 69 73 20 |ds whose| PIN is |
|00002060| 6e 6f 74 20 63 6f 72 72 | 65 63 74 6c 79 20 65 6e |not corr|ectly en|
|00002070| 74 65 72 65 64 25 00 00 | 00 00 6a 00 89 00 00 00 |tered%..|..j.....|
|00002080| 10 42 61 6e 6b 20 43 61 | 72 64 20 52 65 61 64 65 |.Bank Ca|rd Reade|
|00002090| 72 63 54 68 69 73 20 63 | 6c 61 73 73 20 72 65 70 |rcThis c|lass rep|
|000020a0| 72 65 73 65 6e 74 73 20 | 74 68 65 20 68 61 72 64 |resents |the hard|
|000020b0| 77 61 72 65 20 64 65 76 | 69 63 65 20 63 61 70 61 |ware dev|ice capa|
|000020c0| 62 6c 65 20 6f 66 20 72 | 65 61 64 69 6e 67 20 61 |ble of r|eading a|
|000020d0| 6e 64 20 76 61 6c 69 64 | 61 74 69 6e 67 20 61 20 |nd valid|ating a |
|000020e0| 62 61 6e 6b 20 63 75 73 | 74 6f 6d 65 72 27 73 20 |bank cus|tomer's |
|000020f0| 63 61 72 64 2e 00 00 29 | 00 2a 00 23 00 01 00 8e |card...)|.*.#....|
|00002100| 00 01 00 8d 00 0d 4f 75 | 74 70 75 74 20 44 65 76 |......Ou|tput Dev|
|00002110| 69 63 65 6e 54 68 69 73 | 20 63 6c 61 73 73 20 64 |icenThis| class d|
|00002120| 65 66 69 6e 65 73 20 74 | 68 65 20 62 65 68 61 76 |efines t|he behav|
|00002130| 69 6f 72 20 63 6f 6d 6d | 6f 6e 20 74 6f 20 61 6c |ior comm|on to al|
|00002140| 6c 20 63 6c 61 73 73 65 | 73 20 74 68 61 74 20 63 |l classe|s that c|
|00002150| 61 6e 20 73 65 6e 64 20 | 73 6f 6d 65 20 70 68 79 |an send |some phy|
|00002160| 73 69 63 61 6c 20 6f 75 | 74 70 75 74 20 74 6f 20 |sical ou|tput to |
|00002170| 74 68 65 20 62 61 6e 6b | 20 63 75 73 74 6f 6d 65 |the bank| custome|
|00002180| 72 2e 01 00 29 00 00 00 | 02 00 06 80 00 00 00 00 |r...)...|........|
|00002190| 00 00 1d 50 72 69 6e 74 | 20 72 65 63 65 69 70 74 |...Print| receipt|
|000021a0| 20 6f 66 20 74 72 61 6e | 73 61 63 74 69 6f 6e 73 | of tran|sactions|
|000021b0| 23 00 00 00 00 06 80 00 | 00 00 00 00 00 11 45 6a |#.......|......Ej|
|000021c0| 65 63 74 20 74 68 65 20 | 72 65 63 65 69 70 74 23 |ect the |receipt#|
|000021d0| 00 00 00 00 00 00 0f 52 | 65 63 65 69 70 74 20 50 |.......R|eceipt P|
|000021e0| 72 69 6e 74 65 72 70 54 | 68 69 73 20 63 6c 61 73 |rinterpT|his clas|
|000021f0| 73 20 72 65 70 72 65 73 | 65 6e 74 73 20 74 68 65 |s repres|ents the|
|00002200| 20 68 61 72 64 77 61 72 | 65 20 64 65 76 69 63 65 | hardwar|e device|
|00002210| 20 74 68 61 74 20 63 61 | 6e 20 70 72 69 6e 74 20 | that ca|n print |
|00002220| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6f 6e 20 61 |informat|ion on a|
|00002230| 20 70 61 70 65 72 20 72 | 65 63 65 69 70 74 2c 20 | paper r|eceipt, |
|00002240| 61 6e 64 20 65 6a 65 63 | 74 20 74 68 61 74 20 72 |and ejec|t that r|
|00002250| 65 63 65 69 70 74 2e 00 | 00 29 00 27 00 01 00 32 |eceipt..|.).'...2|
|00002260| 00 01 00 31 00 0e 44 69 | 73 70 6c 61 79 20 44 65 |...1..Di|splay De|
|00002270| 76 69 63 65 67 54 68 69 | 73 20 63 6c 61 73 73 20 |vicegThi|s class |
|00002280| 64 65 66 69 6e 65 73 20 | 74 68 65 20 62 65 68 61 |defines |the beha|
|00002290| 76 69 6f 72 20 63 6f 6d | 6d 6f 6e 20 74 6f 20 61 |vior com|mon to a|
|000022a0| 6c 6c 20 64 65 76 69 63 | 65 73 20 74 68 61 74 20 |ll devic|es that |
|000022b0| 63 61 6e 20 64 69 73 70 | 6c 61 79 20 69 6e 66 6f |can disp|lay info|
|000022c0| 72 6d 61 74 69 6f 6e 20 | 66 6f 72 20 61 20 62 61 |rmation |for a ba|
|000022d0| 6e 6b 20 63 75 73 74 6f | 6d 65 72 2e 00 00 29 00 |nk custo|mer...).|
|000022e0| 00 00 00 00 00 00 0e 44 | 69 73 70 6c 61 79 20 53 |.......D|isplay S|
|000022f0| 63 72 65 65 6e 57 54 68 | 69 73 20 63 6c 61 73 73 |creenWTh|is class|
|00002300| 20 72 65 70 72 65 73 65 | 6e 74 73 20 61 20 73 63 | represe|nts a sc|
|00002310| 72 65 65 6e 20 6f 6e 20 | 77 68 69 63 68 20 74 65 |reen on |which te|
|00002320| 78 74 20 61 6e 64 20 67 | 72 61 70 68 69 63 73 20 |xt and g|raphics |
|00002330| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 63 61 6e 20 |informat|ion can |
|00002340| 62 65 20 64 69 73 70 6c | 61 79 65 64 2e 00 00 29 |be displ|ayed...)|
|00002350| 00 31 00 1f 00 52 00 02 | 00 08 80 01 00 0a 80 00 |.1...R..|........|
|00002360| 00 06 00 00 00 01 00 00 | 00 09 67 65 74 43 68 6f |........|..getCho|
|00002370| 69 63 65 ff 04 01 54 68 | 69 73 20 6d 65 74 68 6f |ice...Th|is metho|
|00002380| 64 20 70 72 65 73 65 6e | 74 73 20 74 68 65 20 75 |d presen|ts the u|
|00002390| 73 65 72 20 77 69 74 68 | 20 74 68 65 20 6c 69 73 |ser with| the lis|
|000023a0| 74 20 6f 66 20 63 68 6f | 69 63 65 73 20 73 70 65 |t of cho|ices spe|
|000023b0| 63 69 66 69 65 64 20 28 | 73 65 65 20 61 64 64 49 |cified (|see addI|
|000023c0| 74 65 6d 29 2e 20 57 68 | 65 6e 20 74 68 65 20 75 |tem). Wh|en the u|
|000023d0| 73 65 72 20 72 65 73 70 | 6f 6e 64 73 2c 20 74 68 |ser resp|onds, th|
|000023e0| 65 20 76 61 6c 75 65 20 | 61 73 73 6f 63 69 61 74 |e value |associat|
|000023f0| 65 64 20 77 69 74 68 20 | 74 68 65 20 73 65 6c 65 |ed with |the sele|
|00002400| 63 74 65 64 20 63 68 6f | 69 63 65 20 69 73 20 72 |cted cho|ice is r|
|00002410| 65 74 75 72 6e 65 64 2e | 20 54 68 65 20 6c 69 73 |eturned.| The lis|
|00002420| 74 20 6f 66 20 63 68 6f | 69 63 65 73 20 69 73 20 |t of cho|ices is |
|00002430| 6c 61 62 65 6c 65 64 20 | 77 69 74 68 20 54 65 78 |labeled |with Tex|
|00002440| 74 20 64 65 73 63 72 69 | 62 69 6e 67 20 74 68 65 |t descri|bing the|
|00002450| 20 6f 70 74 69 6f 6e 73 | 20 61 6e 64 20 74 68 65 | options| and the|
|00002460| 20 70 75 72 70 6f 73 65 | 20 66 6f 72 20 74 68 65 | purpose| for the|
|00002470| 20 71 75 65 73 74 69 6f | 6e 2e 0a 80 44 00 00 00 | questio|n...D...|
|00002480| 00 00 00 00 1f 00 08 80 | 02 00 0a 80 00 00 06 00 |........|........|
|00002490| 00 00 01 00 0a 80 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|000024a0| 07 61 64 64 49 74 65 6d | ff 7c 01 54 68 69 73 20 |.addItem|.|.This |
|000024b0| 6d 65 74 68 6f 64 20 61 | 64 64 73 20 61 20 63 68 |method a|dds a ch|
|000024c0| 6f 69 63 65 20 74 6f 20 | 74 68 65 20 6d 65 6e 75 |oice to |the menu|
|000024d0| 2e 20 54 68 65 20 63 68 | 6f 69 63 65 20 69 73 20 |. The ch|oice is |
|000024e0| 72 65 70 72 65 73 65 6e | 74 65 64 20 74 6f 20 74 |represen|ted to t|
|000024f0| 68 65 20 75 73 65 72 20 | 77 69 74 68 20 74 68 65 |he user |with the|
|00002500| 20 70 61 72 61 6d 65 74 | 65 72 20 54 65 78 74 2e | paramet|er Text.|
|00002510| 20 49 66 20 74 68 69 73 | 20 69 74 65 6d 20 69 73 | If this| item is|
|00002520| 20 63 68 6f 73 65 6e 2c | 20 74 68 65 20 73 65 63 | chosen,| the sec|
|00002530| 6f 6e 64 20 61 72 67 75 | 6d 65 6e 74 20 77 69 6c |ond argu|ment wil|
|00002540| 6c 20 62 65 20 72 65 74 | 75 72 6e 65 64 2e 20 49 |l be ret|urned. I|
|00002550| 66 20 6d 6f 72 65 20 69 | 74 65 6d 73 20 61 72 65 |f more i|tems are|
|00002560| 20 61 64 64 65 64 20 74 | 68 61 6e 20 63 61 6e 20 | added t|han can |
|00002570| 62 65 20 64 69 73 70 6c | 61 79 65 64 20 6f 6e 20 |be displ|ayed on |
|00002580| 74 68 65 20 73 63 72 65 | 65 6e 2c 20 74 68 65 20 |the scre|en, the |
|00002590| 69 74 65 6d 73 20 77 69 | 6c 6c 20 62 65 20 64 69 |items wi|ll be di|
|000025a0| 76 69 64 65 64 20 69 6e | 74 6f 20 67 72 6f 75 70 |vided in|to group|
|000025b0| 73 20 74 68 61 74 20 77 | 69 6c 6c 20 66 69 74 2c |s that w|ill fit,|
|000025c0| 20 77 69 74 68 20 74 68 | 65 20 6c 61 73 74 20 69 | with th|e last i|
|000025d0| 74 65 6d 20 6f 66 20 65 | 61 63 68 20 67 72 6f 75 |tem of e|ach grou|
|000025e0| 70 20 62 65 69 6e 67 20 | 61 20 22 6e 65 78 74 20 |p being |a "next |
|000025f0| 70 61 67 65 22 20 69 74 | 65 6d 2e 20 54 68 65 20 |page" it|em. The |
|00002600| 6c 61 73 74 20 69 74 65 | 6d 20 69 73 20 22 72 65 |last ite|m is "re|
|00002610| 74 75 72 6e 20 74 6f 20 | 73 74 61 72 74 20 6f 66 |turn to |start of|
|00002620| 20 6d 65 6e 75 2e 22 00 | 00 1f 00 00 00 19 50 72 | menu.".|......Pr|
|00002630| 65 73 65 6e 74 20 75 73 | 65 72 20 77 69 74 68 20 |esent us|er with |
|00002640| 63 68 6f 69 63 65 73 1e | 00 63 00 00 06 80 00 00 |choices.|.c......|
|00002650| 00 00 00 00 1a 4b 6e 6f | 77 20 69 66 20 75 73 65 |.....Kno|w if use|
|00002660| 72 20 68 61 73 20 72 65 | 73 70 6f 6e 64 65 64 1e |r has re|sponded.|
|00002670| 00 00 00 00 54 00 01 00 | 63 00 04 4d 65 6e 75 8c |....T...|c..Menu.|
|00002680| 54 68 69 73 20 63 6c 61 | 73 73 20 72 65 70 72 65 |This cla|ss repre|
|00002690| 73 65 6e 74 73 20 61 20 | 66 6f 72 6d 20 6f 66 20 |sents a |form of |
|000026a0| 75 73 65 72 20 69 6e 74 | 65 72 61 63 74 69 6f 6e |user int|eraction|
|000026b0| 20 69 6e 20 77 68 69 63 | 68 20 61 20 62 61 6e 6b | in whic|h a bank|
|000026c0| 20 63 75 73 74 6f 6d 65 | 72 20 69 73 20 61 73 6b | custome|r is ask|
|000026d0| 65 64 20 74 6f 20 63 68 | 6f 6f 73 65 20 66 72 6f |ed to ch|oose fro|
|000026e0| 6d 20 6f 6e 65 20 6f 70 | 74 69 6f 6e 20 66 72 6f |m one op|tion fro|
|000026f0| 6d 20 61 20 73 6d 61 6c | 6c 20 6e 75 6d 62 65 72 |m a smal|l number|
|00002700| 20 6f 66 20 63 68 6f 69 | 63 65 73 2e 00 00 29 00 | of choi|ces...).|
|00002710| 2e 00 01 00 56 00 00 00 | 10 55 73 65 72 20 49 6e |....V...|.User In|
|00002720| 74 65 72 61 63 74 69 6f | 6e 54 54 68 69 73 20 63 |teractio|nTThis c|
|00002730| 6c 61 73 73 20 64 65 73 | 63 72 69 62 65 73 20 74 |lass des|cribes t|
|00002740| 68 65 20 62 65 68 61 76 | 69 6f 72 20 63 6f 6d 6d |he behav|ior comm|
|00002750| 6f 6e 20 74 6f 20 61 6c | 6c 20 69 6e 74 65 72 61 |on to al|l intera|
|00002760| 63 74 69 6f 6e 73 20 77 | 69 74 68 20 74 68 65 20 |ctions w|ith the |
|00002770| 62 61 6e 6b 20 63 75 73 | 74 6f 6d 65 72 2e 01 00 |bank cus|tomer...|
|00002780| 29 00 01 00 2d 00 04 00 | 3e 00 06 80 00 00 00 00 |)...-...|>.......|
|00002790| 00 00 1a 4b 6e 6f 77 20 | 69 66 20 75 73 65 72 20 |...Know |if user |
|000027a0| 68 61 73 20 72 65 73 70 | 6f 6e 64 65 64 1c 00 00 |has resp|onded...|
|000027b0| 00 00 51 00 8b 00 01 00 | 5a 00 04 46 6f 72 6d 60 |..Q.....|Z..Form`|
|000027c0| 54 68 69 73 20 63 6c 61 | 73 73 20 72 65 70 72 65 |This cla|ss repre|
|000027d0| 73 65 6e 74 73 20 61 6e | 20 69 6e 74 65 72 61 63 |sents an| interac|
|000027e0| 74 69 6f 6e 20 77 69 74 | 68 20 74 68 65 20 75 73 |tion wit|h the us|
|000027f0| 65 72 20 66 6f 72 20 74 | 68 65 20 70 75 72 70 6f |er for t|he purpo|
|00002800| 73 65 20 6f 66 20 6f 62 | 74 61 69 6e 69 6e 67 20 |se of ob|taining |
|00002810| 61 20 6e 75 6d 65 72 69 | 63 20 76 61 6c 75 65 2e |a numeri|c value.|
|00002820| 00 00 29 00 5a 00 1a 00 | 00 00 00 00 15 50 72 6f |..).Z...|.....Pro|
|00002830| 6d 70 74 20 66 6f 72 20 | 74 68 65 20 61 6d 6f 75 |mpt for |the amou|
|00002840| 6e 74 19 00 00 00 00 6c | 00 00 00 13 44 65 70 6f |nt.....l|....Depo|
|00002850| 73 69 74 20 54 72 61 6e | 73 61 63 74 69 6f 6e 56 |sit Tran|sactionV|
|00002860| 54 68 69 73 20 63 6c 61 | 73 73 20 72 65 70 72 65 |This cla|ss repre|
|00002870| 73 65 6e 74 73 20 61 20 | 72 65 71 75 65 73 74 20 |sents a |request |
|00002880| 66 72 6f 6d 20 61 20 62 | 61 6e 6b 20 63 75 73 74 |from a b|ank cust|
|00002890| 6f 6d 65 72 20 74 6f 20 | 64 65 70 6f 73 69 74 20 |omer to |deposit |
|000028a0| 66 75 6e 64 73 20 69 6e | 74 6f 20 61 6e 20 61 63 |funds in|to an ac|
|000028b0| 63 6f 75 6e 74 2e 00 00 | 03 00 5d 00 74 00 07 00 |count...|..].t...|
|000028c0| 65 00 06 80 01 00 14 80 | 05 00 0c 80 01 00 06 80 |e.......|........|
|000028d0| 00 00 02 00 08 80 00 00 | 00 00 06 63 6f 6d 6d 69 |........|...commi|
|000028e0| 74 c9 54 68 69 73 20 6d | 65 74 68 6f 64 20 63 61 |t.This m|ethod ca|
|000028f0| 75 73 65 73 20 61 6e 79 | 20 6d 6f 64 69 66 69 63 |uses any| modific|
|00002900| 61 74 69 6f 6e 73 20 74 | 6f 20 74 68 65 20 61 63 |ations t|o the ac|
|00002910| 63 6f 75 6e 74 20 74 6f | 20 62 65 20 6c 6f 67 67 |count to| be logg|
|00002920| 65 64 20 61 67 61 69 6e | 73 74 20 74 68 65 20 64 |ed again|st the d|
|00002930| 61 74 61 62 61 73 65 20 | 69 66 20 70 6f 73 73 69 |atabase |if possi|
|00002940| 62 6c 65 2e 20 52 65 74 | 75 72 6e 20 74 72 75 65 |ble. Ret|urn true|
|00002950| 20 69 66 20 74 68 65 20 | 63 6f 6d 6d 69 74 20 77 | if the |commit w|
|00002960| 61 73 20 73 75 63 63 65 | 73 73 66 75 6c 2e 20 54 |as succe|ssful. T|
|00002970| 68 65 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 73 |he modif|ications|
|00002980| 20 63 61 6e 20 66 61 69 | 6c 20 69 66 20 74 68 65 | can fai|l if the|
|00002990| 72 65 20 69 73 20 61 20 | 74 72 61 6e 73 6d 69 73 |re is a |transmis|
|000029a0| 73 69 6f 6e 20 65 72 72 | 6f 72 2e 0a 80 00 00 01 |sion err|or......|
|000029b0| 00 00 00 01 00 ab 00 08 | 80 01 00 0a 80 05 00 00 |........|........|
|000029c0| 00 00 00 00 00 00 00 0a | 63 6f 6d 6d 69 74 57 69 |........|commitWi|
|000029d0| 74 68 dc 54 68 69 73 20 | 6d 65 74 68 6f 64 20 63 |th.This |method c|
|000029e0| 61 75 73 65 73 20 61 6e | 79 20 6d 6f 64 69 66 69 |auses an|y modifi|
|000029f0| 63 61 74 69 6f 6e 73 20 | 74 6f 20 65 69 74 68 65 |cations |to eithe|
|00002a00| 72 20 74 68 69 73 20 6f | 72 20 61 6e 6f 74 68 65 |r this o|r anothe|
|00002a10| 72 20 61 63 63 6f 75 6e | 74 20 74 6f 20 62 65 20 |r accoun|t to be |
|00002a20| 6c 6f 67 67 65 64 20 61 | 67 61 69 6e 73 74 20 74 |logged a|gainst t|
|00002a30| 68 65 20 64 61 74 61 62 | 61 73 65 20 69 66 20 70 |he datab|ase if p|
|00002a40| 6f 73 73 69 62 6c 65 2e | 20 52 65 74 75 72 6e 20 |ossible.| Return |
|00002a50| 74 72 75 65 20 69 66 20 | 74 68 65 20 63 6f 6d 6d |true if |the comm|
|00002a60| 69 74 20 77 61 73 20 73 | 75 63 63 65 73 73 66 75 |it was s|uccessfu|
|00002a70| 6c 2e 20 54 68 65 20 6d | 6f 64 69 66 69 63 61 74 |l. The m|odificat|
|00002a80| 69 6f 6e 73 20 63 61 6e | 20 66 61 69 6c 20 69 66 |ions can| fail if|
|00002a90| 20 74 68 65 72 65 20 69 | 73 20 61 20 74 72 61 6e | there i|s a tran|
|00002aa0| 73 6d 69 73 73 69 6f 6e | 20 65 72 72 6f 72 2e 0a |smission| error..|
|00002ab0| 80 00 00 01 00 00 00 01 | 00 ab 00 00 00 1e 43 6f |........|......Co|
|00002ac0| 6d 6d 69 74 20 63 68 61 | 6e 67 65 73 20 74 6f 20 |mmit cha|nges to |
|00002ad0| 74 68 65 20 64 61 74 61 | 62 61 73 65 05 00 aa 00 |the data|base....|
|00002ae0| 00 01 00 a9 00 22 43 6f | 6d 6d 69 74 20 74 68 65 |....."Co|mmit the|
|00002af0| 20 72 65 73 75 6c 74 73 | 20 74 6f 20 74 68 65 20 | results| to the |
|00002b00| 64 61 74 61 62 61 73 65 | 05 00 42 54 68 69 73 20 |database|..BThis |
|00002b10| 63 6f 6e 74 72 61 63 74 | 20 73 75 70 70 6f 72 74 |contract| support|
|00002b20| 73 20 63 6f 6d 6d 69 74 | 74 69 6e 67 20 61 63 63 |s commit|ting acc|
|00002b30| 6f 75 6e 74 20 63 68 61 | 6e 67 65 73 20 74 6f 20 |ount cha|nges to |
|00002b40| 74 68 65 20 64 61 74 61 | 62 61 73 65 2e a8 00 00 |the data|base....|
|00002b50| 00 00 00 26 43 6f 6d 6d | 69 74 20 74 68 65 20 74 |...&Comm|it the t|
|00002b60| 72 61 6e 73 61 63 74 69 | 6f 6e 20 74 6f 20 74 68 |ransacti|on to th|
|00002b70| 65 20 64 61 74 61 62 61 | 73 65 18 00 00 00 00 7d |e databa|se.....}|
|00002b80| 00 87 00 61 00 06 80 00 | 00 00 00 00 00 29 52 65 |...a....|.....)Re|
|00002b90| 6d 65 6d 62 65 72 20 64 | 61 74 61 20 72 65 6c 65 |member d|ata rele|
|00002ba0| 76 61 6e 74 20 74 6f 20 | 74 68 65 20 74 72 61 6e |vant to |the tran|
|00002bb0| 73 61 63 74 69 6f 6e 18 | 00 00 00 00 70 00 01 00 |saction.|....p...|
|00002bc0| 7c 00 0b 54 72 61 6e 73 | 61 63 74 69 6f 6e 72 54 ||..Trans|actionrT|
|00002bd0| 68 69 73 20 63 6c 61 73 | 73 20 64 65 66 69 6e 65 |his clas|s define|
|00002be0| 73 20 74 68 65 20 62 65 | 68 61 76 69 6f 72 20 63 |s the be|havior c|
|00002bf0| 6f 6d 6d 6f 6e 20 74 6f | 20 61 6c 6c 20 72 65 71 |ommon to| all req|
|00002c00| 75 65 73 74 73 20 66 72 | 6f 6d 20 61 20 62 61 6e |uests fr|om a ban|
|00002c10| 6b 20 63 75 73 74 6f 6d | 65 72 20 74 6f 20 70 65 |k custom|er to pe|
|00002c20| 72 66 6f 72 6d 20 73 6f | 6d 65 20 66 69 6e 61 6e |rform so|me finan|
|00002c30| 63 69 61 6c 20 74 72 61 | 6e 73 61 63 74 69 6f 6e |cial tra|nsaction|
|00002c40| 2e 01 00 03 00 00 00 01 | 00 16 00 00 00 0f 42 61 |........|......Ba|
|00002c50| 6c 61 6e 63 65 20 49 6e | 71 75 69 72 79 56 54 68 |lance In|quiryVTh|
|00002c60| 69 73 20 63 6c 61 73 73 | 20 72 65 70 72 65 73 65 |is class| represe|
|00002c70| 6e 74 73 20 72 65 71 75 | 65 73 74 73 20 62 79 20 |nts requ|ests by |
|00002c80| 61 20 62 61 6e 6b 20 63 | 75 73 74 6f 6d 65 72 20 |a bank c|ustomer |
|00002c90| 74 6f 20 61 63 63 65 73 | 73 20 74 68 65 20 62 61 |to acces|s the ba|
|00002ca0| 6c 61 6e 63 65 20 6f 66 | 20 61 6e 20 61 63 63 6f |lance of| an acco|
|00002cb0| 75 6e 74 2e 00 00 03 00 | 00 00 00 6d 00 5f 00 73 |unt.....|...m._.s|
|00002cc0| 00 25 41 63 63 65 73 73 | 20 61 6e 64 20 6d 6f 64 |.%Access| and mod|
|00002cd0| 69 66 79 20 74 68 65 20 | 61 63 63 6f 75 6e 74 20 |ify the |account |
|00002ce0| 62 61 6c 61 6e 63 65 05 | 00 46 54 68 69 73 20 63 |balance.|.FThis c|
|00002cf0| 6f 6e 74 72 61 63 74 20 | 64 65 66 69 6e 65 73 20 |ontract |defines |
|00002d00| 74 68 65 20 77 61 79 20 | 61 6e 20 61 63 63 6f 75 |the way |an accou|
|00002d10| 6e 74 20 63 61 6e 20 62 | 65 20 61 63 63 65 73 73 |nt can b|e access|
|00002d20| 65 64 20 61 6e 64 20 6d | 6f 64 69 66 69 65 64 2e |ed and m|odified.|
|00002d30| 00 0e 00 ab 00 11 00 02 | 00 0d 00 aa 00 07 41 63 |........|......Ac|
|00002d40| 63 6f 75 6e 74 ff 1d 01 | 54 68 69 73 20 63 6c 61 |count...|This cla|
|00002d50| 73 73 20 72 65 70 72 65 | 73 65 6e 74 73 20 61 20 |ss repre|sents a |
|00002d60| 63 75 73 74 6f 6d 65 72 | 27 73 20 61 63 63 6f 75 |customer|'s accou|
|00002d70| 6e 74 20 69 6e 20 74 68 | 65 20 62 61 6e 6b 27 73 |nt in th|e bank's|
|00002d80| 20 64 61 74 61 62 61 73 | 65 2e 20 41 6c 6c 20 61 | databas|e. All a|
|00002d90| 63 63 65 73 73 65 73 20 | 74 6f 20 61 6e 64 20 6d |ccesses |to and m|
|00002da0| 6f 64 69 66 69 63 61 74 | 69 6f 6e 73 20 6f 66 20 |odificat|ions of |
|00002db0| 62 61 6e 6b 20 61 63 63 | 6f 75 6e 74 73 20 6d 75 |bank acc|ounts mu|
|00002dc0| 73 74 20 6f 63 63 75 72 | 20 74 68 72 6f 75 67 68 |st occur| through|
|00002dd0| 20 74 68 69 73 20 63 6c | 61 73 73 2e 20 43 72 65 | this cl|ass. Cre|
|00002de0| 61 74 69 6e 67 20 61 6e | 20 69 6e 73 74 61 6e 63 |ating an| instanc|
|00002df0| 65 20 6f 66 20 74 68 69 | 73 20 63 6c 61 73 73 20 |e of thi|s class |
|00002e00| 64 6f 65 73 20 6e 6f 74 | 20 69 6e 73 75 72 65 20 |does not| insure |
|00002e10| 61 67 61 69 6e 73 74 20 | 6d 6f 64 69 66 69 63 61 |against |modifica|
|00002e20| 74 69 6f 6e 73 20 74 6f | 20 74 68 65 20 61 63 63 |tions to| the acc|
|00002e30| 6f 75 6e 74 20 66 72 6f | 6d 20 6f 74 68 65 72 20 |ount fro|m other |
|00002e40| 73 6f 66 74 77 61 72 65 | 20 77 69 74 68 20 61 63 |software| with ac|
|00002e50| 63 65 73 73 20 74 6f 20 | 74 68 65 20 64 61 74 61 |cess to |the data|
|00002e60| 62 61 73 65 2e 00 00 03 | 00 17 00 19 00 5d 00 18 |base....|.....]..|
|00002e70| 00 74 00 01 00 ff ff 00 | 00 09 00 43 48 44 69 61 |.t......|...CHDia|
|00002e80| 67 72 61 6d 0b 54 72 61 | 6e 73 61 63 74 69 6f 6e |gram.Tra|nsaction|
|00002e90| 18 00 03 00 13 46 69 6e | 61 6e 63 69 61 6c 20 53 |.....Fin|ancial S|
|00002ea0| 75 62 73 79 73 74 65 6d | 67 54 68 69 73 20 73 75 |ubsystem|gThis su|
|00002eb0| 62 73 79 73 74 65 6d 20 | 69 6d 70 6c 65 6d 65 6e |bsystem |implemen|
|00002ec0| 74 73 20 74 68 65 20 66 | 69 6e 61 6e 63 69 61 6c |ts the f|inancial|
|00002ed0| 20 61 73 70 65 63 74 73 | 20 6f 66 20 61 20 62 61 | aspects| of a ba|
|00002ee0| 6e 6b 20 63 75 73 74 6f | 6d 65 72 27 73 20 69 6e |nk custo|mer's in|
|00002ef0| 74 65 72 61 63 74 69 6f | 6e 73 20 77 69 74 68 20 |teractio|ns with |
|00002f00| 74 68 65 20 41 54 4d 20 | 6d 61 63 68 69 6e 65 2e |the ATM |machine.|
|00002f10| 02 00 01 00 29 00 04 00 | 79 00 04 80 00 00 00 00 |....)...|y.......|
|00002f20| 00 00 00 00 06 44 65 76 | 69 63 65 00 00 00 02 00 |.....Dev|ice.....|
|00002f30| 04 80 00 00 00 00 01 00 | 06 80 00 00 00 00 00 00 |........|........|
|00002f40| 1b 4b 6e 6f 77 20 69 66 | 20 69 74 20 68 61 73 20 |.Know if| it has |
|00002f50| 62 65 65 6e 20 70 72 65 | 73 73 65 64 b5 00 00 00 |been pre|ssed....|
|00002f60| 00 00 00 03 4b 65 79 00 | 00 00 02 00 04 80 00 00 |....Key.|........|
|00002f70| 00 00 00 00 00 00 11 4e | 75 6d 65 72 69 63 20 49 |.......N|umeric I|
|00002f80| 6e 70 75 74 20 4b 65 79 | 00 00 00 02 00 00 00 0a |nput Key|........|
|00002f90| 3c 54 6f 70 4c 65 76 65 | 6c 3e 00 00 00 00 00 03 |<TopLeve|l>......|
|00002fa0| 00 02 00 03 00 29 00 19 | 00 79 00 05 00 17 00 25 |.....)..|.y.....%|
|00002fb0| 00 2a 00 27 00 19 00 b4 | 00 22 00 21 00 1c 00 5d |.*.'....|.".!...]|
|00002fc0| 00 26 00 b5 00 2c 00 1e | 00 b7 00 24 00 23 00 2d |.&...,..|...$.#.-|
|00002fd0| 00 18 00 1d 00 2e 00 44 | 00 74 00 37 00 28 00 07 |.......D|.t.7.(..|
|00002fe0| 00 0e 00 16 00 3e 00 56 | 00 65 00 ab 00 a8 00 7a |.....>.V|.e.....z|
|00002ff0| 00 6c 00 06 80 00 00 00 | 00 00 00 1f 44 69 73 70 |.l......|....Disp|
|00003000| 6c 61 79 20 63 68 6f 69 | 63 65 20 61 6e 64 20 67 |lay choi|ce and g|
|00003010| 65 74 20 72 65 73 70 6f | 6e 73 65 00 00 00 00 00 |et respo|nse.....|
|00003020| 2f 00 32 00 80 00 82 00 | 84 00 9f 00 9c 00 78 00 |/.2.....|......x.|
|00003030| 7d 00 61 00 06 80 00 00 | 00 00 00 00 14 47 65 74 |}.a.....|.....Get|
|00003040| 20 6e 75 6d 62 65 72 20 | 66 72 6f 6d 20 75 73 65 | number |from use|
|00003050| 72 00 00 00 00 00 41 00 | 6a 00 9d 00 b6 00 a6 00 |r.....A.|j.......|
|00003060| a7 00 51 00 11 00 45 00 | 54 00 06 80 00 00 00 00 |..Q...E.|T.......|
|00003070| 00 00 21 4b 6e 6f 77 20 | 77 68 69 63 68 20 6b 65 |..!Know |which ke|
|00003080| 79 73 20 68 61 76 65 20 | 62 65 65 6e 20 70 72 65 |ys have |been pre|
|00003090| 73 73 65 64 00 00 00 00 | 00 06 80 00 00 00 00 00 |ssed....|........|
|000030a0| 00 11 4d 65 6e 75 20 63 | 6f 6e 73 74 72 75 63 74 |..Menu c|onstruct|
|000030b0| 69 6f 6e 00 00 00 00 00 | 8e 00 06 80 00 00 00 00 |ion.....|........|
|000030c0| 00 00 20 50 72 65 73 65 | 6e 74 20 6d 65 73 73 61 |.. Prese|nt messa|
|000030d0| 67 65 20 61 6e 64 20 67 | 65 74 20 72 65 73 70 6f |ge and g|et respo|
|000030e0| 6e 73 65 00 00 00 00 00 | 1f 00 70 00 06 80 00 00 |nse.....|..p.....|
|000030f0| 00 00 00 00 31 50 72 69 | 6e 74 20 61 63 63 6f 75 |....1Pri|nt accou|
|00003100| 6e 74 20 61 6e 64 20 64 | 65 70 6f 73 69 74 20 69 |nt and d|eposit i|
|00003110| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 6f 6e 20 65 6e |nformati|on on en|
|00003120| 76 65 6c 6f 70 65 00 00 | 00 00 00 9e 00 87 00 75 |velope..|.......u|
|00003130| 00 5c 00 1a 00 89 00 8b | 00 4a 00 9b 00 b1 00 06 |.\......|.J......|
|00003140| 80 00 00 00 00 00 00 0c | 52 65 73 65 74 20 69 74 |........|Reset it|
|00003150| 73 65 6c 66 00 00 00 00 | 00 5e 00 9a 00 72 00 2b |self....|.^...r.+|
|00003160| 00 01 00 b3 00 09 00 0d | 00 aa 00 7c 00 68 00 5a |........|...|.h.Z|
|00003170| 00 31 00 63 00 40 00 8d | 00 01 00 01 00 00 00 64 |.1.c.@..|.......d|
|00003180| 00 0e 00 10 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003190| 00 00 00 2c 01 00 00 00 | 00 00 00 00 00 00 00 05 |...,....|........|
|000031a0| 41 72 69 61 6c 00 00 00 | 00 |Arial...|. |
+--------+-------------------------+-------------------------+--------+--------+