Package com.sun.corba.se.pept.transport
Interface ContactInfoListIterator
- All Superinterfaces:
Iterator
- All Known Subinterfaces:
CorbaContactInfoListIterator
- All Known Implementing Classes:
CorbaContactInfoListIteratorImpl,SocketFactoryContactInfoListIteratorImpl
ContactInfoIterator is used to retrieve individual
ContactInfo.- Author:
- Harold Carr
-
Method Summary
Modifier and TypeMethodDescriptionThe underlying list for this iterator.The exception to report to the presentation block.booleanreportException(ContactInfo contactInfo, RuntimeException exception) Used to report information to the iterator to be used in future invocations.voidreportSuccess(ContactInfo contactInfo) Used to report information to the iterator to be used in future invocations.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
getContactInfoList
ContactInfoList getContactInfoList()The underlying list for this iterator.- Returns:
- The underlying list for this iterator.
-
reportSuccess
Used to report information to the iterator to be used in future invocations.- Parameters:
contactInfo- TheContactInfoobtained from this iterator which resulted in a successful invocation.
-
reportException
Used to report information to the iterator to be used in future invocations.- Parameters:
contactInfo- TheContactInfoin effect when an invocation exception occurs.exception- TheRuntimeException.- Returns:
- Returns true if the request should be retried.
-
getFailureException
RuntimeException getFailureException()The exception to report to the presentation block.- Returns:
- If the iterator reaches the end before the invocation
is successful one returns this exception (previously reported to
the iterator via
reportException(com.sun.corba.se.pept.transport.ContactInfo, java.lang.RuntimeException)).
-