Module rthrift_tutorial::tutorial
[−]
[src]
Structs
CalculatorSyncClient | |
CalculatorSyncProcessor | |
ConstMAPCONSTANT | |
InvalidOperation |
Structs can also be exceptions, if they are nasty. |
TCalculatorProcessFunctions | |
Work |
Structs are the basic complex data structures. They are comprised of fields which each have an integer identifier, a type, a symbolic name, and an optional default value. |
Enums
Operation |
You can define enums, which are just 32 bit integers. Values are optional and start at 1 if not supplied, C style again. |
Constants
I_N_T32_C_O_N_S_T_A_N_T |
Traits
CalculatorSyncHandler |
Ahh, now onto the cool part, defining a service. Services just need a name and can optionally inherit from another service using the extends keyword. |
TCalculatorSyncClient |
Ahh, now onto the cool part, defining a service. Services just need a name and can optionally inherit from another service using the extends keyword. |
TCalculatorSyncClientMarker |
Type Definitions
MyInteger |