}
ret = new RemoteSequence(remote, result.getType());
break;
}
case ASYNC_REMOTE_SEQUENCE: {
final RunnableRemoteSequenceProxy remote = new RunnableRemoteSequenceProxy(result, request);
try {
UnicastRemoteObject.exportObject(remote, 0, TimeoutSocketProdiver.createClientSocketFactory(), TimeoutSocketProdiver.createServerSocketFactory());
} catch (RemoteException e) {
throw new IllegalStateException("failed exporting result sequence", e);
}