blob: 5b5fdeefc02580f90bb8ac8735acd76dcd475cd4 [file] [log] [blame]
Bryan Duxburydef30a62009-04-08 00:19:37 +00001Thrift SmallTalk Software Library
2
Mark Sleeefd37f12007-11-20 05:13:09 +00003Last updated Nov 2007
4
Bryan Duxburydef30a62009-04-08 00:19:37 +00005License
6=======
7
8Licensed to the Apache Software Foundation (ASF) under one
9or more contributor license agreements. See the NOTICE file
10distributed with this work for additional information
11regarding copyright ownership. The ASF licenses this file
12to you under the Apache License, Version 2.0 (the
13"License"); you may not use this file except in compliance
14with the License. You may obtain a copy of the License at
15
16 http://www.apache.org/licenses/LICENSE-2.0
17
18Unless required by applicable law or agreed to in writing,
19software distributed under the License is distributed on an
20"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21KIND, either express or implied. See the License for the
22specific language governing permissions and limitations
23under the License.
24
Todd Lipcon53ae9f32009-12-07 00:42:38 +000025Contains some contributions under the Thrift Software License.
26Please see doc/old-thrift-license.txt in the Thrift distribution for
27details.
28
Bryan Duxburydef30a62009-04-08 00:19:37 +000029Library
30=======
31
Mark Sleebd588222007-11-21 08:43:35 +000032To get started, just file in thrift.st with Squeak, run thrift -st
33on the tutorial .thrift files (and file in the resulting code), and
34then:
Mark Sleeefd37f12007-11-20 05:13:09 +000035
Mark Sleebd588222007-11-21 08:43:35 +000036calc := CalculatorClient binaryOnHost: 'localhost' port: '9090'
Mark Sleeefd37f12007-11-20 05:13:09 +000037calc addNum1: 10 num2: 15
38
Mark Sleebd588222007-11-21 08:43:35 +000039Tested in Squeak 3.7, but should work fine with anything later.