Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 1 | Last updated Nov 2007 |
| 2 | |
Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 3 | To get started, just file in thrift.st with Squeak, run thrift -st |
| 4 | on the tutorial .thrift files (and file in the resulting code), and |
| 5 | then: |
Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 6 | |
Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 7 | calc := CalculatorClient binaryOnHost: 'localhost' port: '9090' |
Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 8 | calc addNum1: 10 num2: 15 |
| 9 | |
Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 10 | Tested in Squeak 3.7, but should work fine with anything later. |