indent(f_service_) <<
generate_type_term(tfunction->get_returntype(), false) << ";" << endl;
else if (tfunction->is_oneway())
- indent(f_service_) << "async_void;" << endl;
+ indent(f_service_) << "oneway_void;" << endl;
else
indent(f_service_) << "{struct, []}" << ";" << endl;
indent_down();
handle_function_catch(State = #thrift_processor{service = Service},
Function, ErrType, ErrData) ->
- IsOneway = Service:function_info(Function, reply_type) =:= async_void,
+ IsOneway = Service:function_info(Function, reply_type) =:= oneway_void,
case {ErrType, ErrData} of
_ when IsOneway ->
ok when ReplyType == {struct, []} ->
send_reply(OProto, Function, ?tMessageType_REPLY, {ReplyType, {StructName}});
- ok when ReplyType == async_void ->
+ ok when ReplyType == oneway_void ->
%% no reply for oneway void
ok
end.