| 30 |
ashish |
1 |
Thrift SmallTalk Software Library
|
|
|
2 |
|
|
|
3 |
Last updated Nov 2007
|
|
|
4 |
|
|
|
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 |
Contains some contributions under the Thrift Software License.
|
|
|
26 |
Please see doc/old-thrift-license.txt in the Thrift distribution for
|
|
|
27 |
details.
|
|
|
28 |
|
|
|
29 |
Library
|
|
|
30 |
=======
|
|
|
31 |
|
|
|
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:
|
|
|
35 |
|
|
|
36 |
calc := CalculatorClient binaryOnHost: 'localhost' port: '9090'
|
|
|
37 |
calc addNum1: 10 num2: 15
|
|
|
38 |
|
|
|
39 |
Tested in Squeak 3.7, but should work fine with anything later.
|