| 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 |  | 
| Todd Lipcon | 53ae9f3 | 2009-12-07 00:42:38 +0000 | [diff] [blame] | 25 | Contains some contributions under the Thrift Software License. | 
|  | 26 | Please see doc/old-thrift-license.txt in the Thrift distribution for | 
|  | 27 | details. | 
|  | 28 |  | 
| Bryan Duxbury | def30a6 | 2009-04-08 00:19:37 +0000 | [diff] [blame] | 29 | Library | 
|  | 30 | ======= | 
|  | 31 |  | 
| Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 32 | To get started, just file in thrift.st with Squeak, run thrift -st | 
|  | 33 | on the tutorial .thrift files (and file in the resulting code), and | 
|  | 34 | then: | 
| Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 35 |  | 
| Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 36 | calc := CalculatorClient binaryOnHost: 'localhost' port: '9090' | 
| Mark Slee | efd37f1 | 2007-11-20 05:13:09 +0000 | [diff] [blame] | 37 | calc addNum1: 10 num2: 15 | 
|  | 38 |  | 
| Mark Slee | bd58822 | 2007-11-21 08:43:35 +0000 | [diff] [blame] | 39 | Tested in Squeak 3.7, but should work fine with anything later. |