Class AsyncReturnUtil
java.lang.Object
org.eclipse.ecf.remoteservice.asyncproxy.AsyncReturnUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectconvertAsyncToReturn(Object returnObject, Class<?> asyncReturnType, long timeout) static ObjectconvertReturnToAsync(Object returnObject, Class<?> returnType) static ObjectconvertReturnToAsync(Object returnObject, String returnType) static booleanisAsyncType(Class<?> type) static booleanisAsyncType(String className)
-
Constructor Details
-
AsyncReturnUtil
public AsyncReturnUtil()
-
-
Method Details
-
isAsyncType
-
isAsyncType
-
convertAsyncToReturn
public static Object convertAsyncToReturn(Object returnObject, Class<?> asyncReturnType, long timeout) throws InterruptedException, ExecutionException, TimeoutException, InvocationTargetException -
convertReturnToAsync
-
convertReturnToAsync
-