public class SynchronizedRemotingCallback extends RemotingCallback
flag, returnType, serializationFormat| 构造器和说明 |
|---|
SynchronizedRemotingCallback() |
| 限定符和类型 | 方法和说明 |
|---|---|
Throwable |
getFailure() |
MethodReturn |
getMethodReturn() |
boolean |
isSucess() |
void |
onException(Throwable exception) |
void |
onMethodReturn(MethodReturn methodReturn) |
void |
waitReturn(int timeout) |
public boolean isSucess()
public Throwable getFailure()
public MethodReturn getMethodReturn()
public void onMethodReturn(MethodReturn methodReturn)
onMethodReturn 在类中 RemotingCallbackpublic void onException(Throwable exception)
onException 在类中 RemotingCallbackpublic void waitReturn(int timeout)
throws RemotingException
Copyright © 2020. All rights reserved.