Interface ContactInfoListIterator

All Superinterfaces:
Iterator
All Known Subinterfaces:
CorbaContactInfoListIterator
All Known Implementing Classes:
CorbaContactInfoListIteratorImpl, SocketFactoryContactInfoListIteratorImpl

public interface ContactInfoListIterator extends Iterator
ContactInfoIterator is used to retrieve individual ContactInfo.
Author:
Harold Carr
  • Method Details

    • getContactInfoList

      ContactInfoList getContactInfoList()
      The underlying list for this iterator.
      Returns:
      The underlying list for this iterator.
    • reportSuccess

      void reportSuccess(ContactInfo contactInfo)
      Used to report information to the iterator to be used in future invocations.
      Parameters:
      contactInfo - The ContactInfo obtained from this iterator which resulted in a successful invocation.
    • reportException

      boolean reportException(ContactInfo contactInfo, RuntimeException exception)
      Used to report information to the iterator to be used in future invocations.
      Parameters:
      contactInfo - The ContactInfo in effect when an invocation exception occurs.
      exception - The RuntimeException.
      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)).