| Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 1 | Author: Patrick Collison <patrick@collison.ie> |
| 2 | Last updated Nov 2007 | ||||
| 3 | |||||
| 4 | To get started, just file in thrift.st with Squeak, and run something like: | ||||
| 5 | |||||
| 6 | sock := TSocket new host: 'localhost'; port: 9090; open. | ||||
| 7 | prot := TBinaryProtocol new transport: sock. | ||||
| 8 | calc := CalculatorClient new inProtocol: prot. | ||||
| 9 | calc addNum1: 10 num2: 15 | ||||
| 10 | |||||
| 11 | Tested in Squeak 3.7, but should work fine with anything later. | ||||