concept call in category apache thrift

appears as: calls, calls, call, The call, call, A call
Programmer's Guide to Apache Thrift

This is an excerpt from Manning's book Programmer's Guide to Apache Thrift.

The next block of code implements the HelloSvc service itself through the Hello-Handler class. This class is called a handler in Apache Thrift because is handles all of the calls made to the service. All the service methods must be represented in the Handler class; in our case this is the hello_func() method 3. In real projects, almost all of your time and effort is spent here, implementing services. Apache Thrift takes care of the wiring and boilerplate code.

Next we create an instance of our handler and use it to initialize a processor for our service. The processor is the server-side stub generated by the IDL compiler that turns network service requests into calls to the appropriate handler function 4.

Default values have no meaning and are effectively ignored in the context of required parameters. Required parameters must always be passed by the client and received by the server, so any initial default value is always overwritten by the value passed in the call. If no value is found in a call for a required parameter, an exception is raised, again making the default value of little use.