Class AsyncReturnUtil
java.lang.Object
org.eclipse.ecf.remoteservice.asyncproxy.AsyncReturnUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
convertAsyncToReturn
(Object returnObject, Class<?> asyncReturnType, long timeout) static Object
convertReturnToAsync
(Object returnObject, Class<?> returnType) static Object
convertReturnToAsync
(Object returnObject, String returnType) static boolean
isAsyncType
(Class<?> type) static boolean
isAsyncType
(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
-