Class AsyncReturnUtil
- java.lang.Object
-
- org.eclipse.ecf.remoteservice.asyncproxy.AsyncReturnUtil
-
public class AsyncReturnUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description AsyncReturnUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
isAsyncType
public static boolean isAsyncType(Class<?> type)
-
isAsyncType
public static boolean isAsyncType(String className)
-
convertAsyncToReturn
public static Object convertAsyncToReturn(Object returnObject, Class<?> asyncReturnType, long timeout) throws InterruptedException, ExecutionException, TimeoutException, InvocationTargetException
-
convertReturnToAsync
public static Object convertReturnToAsync(Object returnObject, Class<?> returnType)
-
-