| Bryan Duxbury | def30a6 | 2009-04-08 00:19:37 +0000 | [diff] [blame] | 1 | Thrift SmallTalk Software Library | 
 | 2 |  | 
| Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 3 | Last updated Nov 2007 | 
 | 4 |  | 
| Bryan Duxbury | def30a6 | 2009-04-08 00:19:37 +0000 | [diff] [blame] | 5 | License | 
 | 6 | ======= | 
 | 7 |  | 
 | 8 | Licensed to the Apache Software Foundation (ASF) under one | 
 | 9 | or more contributor license agreements. See the NOTICE file | 
 | 10 | distributed with this work for additional information | 
 | 11 | regarding copyright ownership. The ASF licenses this file | 
 | 12 | to you under the Apache License, Version 2.0 (the | 
 | 13 | "License"); you may not use this file except in compliance | 
 | 14 | with the License. You may obtain a copy of the License at | 
 | 15 |  | 
 | 16 |   http://www.apache.org/licenses/LICENSE-2.0 | 
 | 17 |  | 
 | 18 | Unless required by applicable law or agreed to in writing, | 
 | 19 | software distributed under the License is distributed on an | 
 | 20 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | 
 | 21 | KIND, either express or implied. See the License for the | 
 | 22 | specific language governing permissions and limitations | 
 | 23 | under the License. | 
 | 24 |  | 
 | 25 | Library | 
 | 26 | ======= | 
 | 27 |  | 
| Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 28 | To get started, just file in thrift.st with Squeak, run thrift -st | 
 | 29 | on the tutorial .thrift files (and file in the resulting code), and | 
 | 30 | then: | 
| Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 31 |  | 
| Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 32 | calc := CalculatorClient binaryOnHost: 'localhost' port: '9090' | 
| Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 33 | calc addNum1: 10 num2: 15 | 
 | 34 |  | 
| Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 35 | Tested in Squeak 3.7, but should work fine with anything later. |