SOFARPC provide a method in RpcBindingParam for users to set callback class when users use callback invocation type, but the method accept a String as type:
public void setCallbackClass(String callbackClass) {
}
We should improve this method to a more strong typed method, such as
public void setCallbackClass(Class<? extends SofaResponseCallback> callbackClass) {
}
SOFARPC provide a method in
RpcBindingParam
for users to set callback class when users use callback invocation type, but the method accept aString
as type:We should improve this method to a more strong typed method, such as
so users are less likely to make mistakes.