com.sentilla.net.rpc
Class RemoteInvoker.ResultIter<T>
java.lang.Object
com.sentilla.net.rpc.RemoteInvoker.ResultIter<T>
- All Implemented Interfaces:
- Result<T>, Iterable<Result<T>>, Iterator<Result<T>>
- Enclosing class:
- RemoteInvoker
protected class RemoteInvoker.ResultIter<T>
- extends Object
- implements Iterable<Result<T>>, Iterator<Result<T>>, Result<T>
RemoteInvoker.ResultIter
public RemoteInvoker.ResultIter(Class<T> result_type,
int maxResults,
int timeoutMilli)
iterator
public Iterator<Result<T>> iterator()
- Specified by:
iterator
in interface Iterable<Result<T>>
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<Result<T>>
next
public Result<T> next()
- Specified by:
next
in interface Iterator<Result<T>>
getResult
public T getResult()
- Description copied from interface:
Result
- Return the result of a Procedure. Rethrow a runtime error locally if one
occurred remotely.
- Specified by:
getResult
in interface Result<T>
remove
public void remove()
- Specified by:
remove
in interface Iterator<Result<T>>
Copyright © 2007 Sentilla Corporation. All Rights Reserved.