Skip to content

Commit

Permalink
Merge pull request #17 from BryantDavidDavis/patch-1
Browse files Browse the repository at this point in the history
fix typo in word "Importand"
  • Loading branch information
strat0sphere committed May 23, 2017
2 parents 396f3ca + 2d1fa1f commit d19d306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thriftDocumentation/source/usage-example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The only thing worth messioning about the server implementation is the usage of
Java Multiplication Client
^^^^^^^^^^^^^^^^^^^^^^^^^^

Importand things to notice on the client code is the use of the TBinaryProtocol for the serializitaion and deserialization part. I could also use the compact, the JSON protocol or any other protocol supported by thrift. For more details on the protocols you can use please refer to the :doc:`thrift-stack` section of this tutorial.
Important things to notice on the client code is the use of the TBinaryProtocol for the serializitaion and deserialization part. I could also use the compact, the JSON protocol or any other protocol supported by thrift. For more details on the protocols you can use please refer to the :doc:`thrift-stack` section of this tutorial.
Another importand thing to notice is the use of the client and the coresponding client.multiply() method provided to us by the auto-generated thrift code. This call behind the scenes calls the TServiceClient.sendBase() method that will write the data to the wire.

.. literalinclude:: code_examples/MultiplicationClient.java
Expand Down

0 comments on commit d19d306

Please sign in to comment.