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