We will be working on a relatively simple application, but it will allow us to use all the skills we need. You can use this example idea, or you might want a little bit of a challenge and invent your own. This time, we will implement our methods in full so that the application is entirely functional.
We will use the following things that we learned throughout the book:
Structs passed as arguments and the return values of functions
Exceptions and how to handle them in the service and client
Custom consts
Enums
Different types of functions: those that return some values and others that don't return any
Including external IDL documents to our original Apache Thrift document
Substituting type names using the
typedef
statementThe service inheritance model
Our example will cover most of these elements and some others as well.