Class SocketFactoryContactInfoListIteratorImpl
java.lang.Object
com.sun.corba.se.impl.transport.CorbaContactInfoListIteratorImpl
com.sun.corba.se.impl.legacy.connection.SocketFactoryContactInfoListIteratorImpl
- All Implemented Interfaces:
ContactInfoListIterator,CorbaContactInfoListIterator,Iterator
-
Field Summary
Fields inherited from class com.sun.corba.se.impl.transport.CorbaContactInfoListIteratorImpl
contactInfoList, effectiveTargetIORIterator, failureContactInfo, failureException, isAddrDispositionRetry, listOfContactInfos, orb, previousContactInfo, primaryContactInfo, primaryToContactInfo, successContactInfo -
Constructor Summary
ConstructorsConstructorDescriptionSocketFactoryContactInfoListIteratorImpl(ORB orb, CorbaContactInfoList corbaContactInfoList) -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()next()booleanreportException(ContactInfo contactInfo, RuntimeException ex) Used to report information to the iterator to be used in future invocations.Methods inherited from class com.sun.corba.se.impl.transport.CorbaContactInfoListIteratorImpl
getContactInfoList, getFailureException, remove, reportAddrDispositionRetry, reportRedirect, reportSuccess, updateEffectiveTargetIORMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
SocketFactoryContactInfoListIteratorImpl
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator- Overrides:
hasNextin classCorbaContactInfoListIteratorImpl
-
next
- Specified by:
nextin interfaceIterator- Overrides:
nextin classCorbaContactInfoListIteratorImpl
-
reportException
Description copied from interface:ContactInfoListIteratorUsed to report information to the iterator to be used in future invocations.- Specified by:
reportExceptionin interfaceContactInfoListIterator- Overrides:
reportExceptionin classCorbaContactInfoListIteratorImpl- Parameters:
contactInfo- TheContactInfoin effect when an invocation exception occurs.ex- TheRuntimeException.- Returns:
- Returns true if the request should be retried.
-