public class CorbaContactInfoListIteratorImpl extends Object implements CorbaContactInfoListIterator
Modifier and Type | Field and Description |
---|---|
protected CorbaContactInfoList |
contactInfoList |
protected Iterator |
effectiveTargetIORIterator |
protected CorbaContactInfo |
failureContactInfo |
protected RuntimeException |
failureException |
protected boolean |
isAddrDispositionRetry |
protected List |
listOfContactInfos |
protected ORB |
orb |
protected CorbaContactInfo |
previousContactInfo |
protected ContactInfo |
primaryContactInfo |
protected IIOPPrimaryToContactInfo |
primaryToContactInfo |
protected CorbaContactInfo |
successContactInfo |
Constructor and Description |
---|
CorbaContactInfoListIteratorImpl(ORB orb,
CorbaContactInfoList corbaContactInfoList,
ContactInfo primaryContactInfo,
List listOfContactInfos) |
Modifier and Type | Method and Description |
---|---|
ContactInfoList |
getContactInfoList()
The underlying list for this iterator.
|
RuntimeException |
getFailureException()
The exception to report to the presentation block.
|
boolean |
hasNext() |
Object |
next() |
void |
remove() |
void |
reportAddrDispositionRetry(CorbaContactInfo contactInfo,
short disposition) |
boolean |
reportException(ContactInfo contactInfo,
RuntimeException ex)
Used to report information to the iterator to be used
in future invocations.
|
void |
reportRedirect(CorbaContactInfo contactInfo,
IOR forwardedIOR) |
void |
reportSuccess(ContactInfo contactInfo)
Used to report information to the iterator to be used
in future invocations.
|
void |
updateEffectiveTargetIOR(IOR newIOR) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected ORB orb
protected CorbaContactInfoList contactInfoList
protected CorbaContactInfo successContactInfo
protected CorbaContactInfo failureContactInfo
protected RuntimeException failureException
protected Iterator effectiveTargetIORIterator
protected CorbaContactInfo previousContactInfo
protected boolean isAddrDispositionRetry
protected IIOPPrimaryToContactInfo primaryToContactInfo
protected ContactInfo primaryContactInfo
protected List listOfContactInfos
public CorbaContactInfoListIteratorImpl(ORB orb, CorbaContactInfoList corbaContactInfoList, ContactInfo primaryContactInfo, List listOfContactInfos)
public ContactInfoList getContactInfoList()
ContactInfoListIterator
getContactInfoList
in interface ContactInfoListIterator
public void reportSuccess(ContactInfo contactInfo)
ContactInfoListIterator
reportSuccess
in interface ContactInfoListIterator
contactInfo
- The
ContactInfo
obtained from this iterator which resulted in a successful invocation.public boolean reportException(ContactInfo contactInfo, RuntimeException ex)
ContactInfoListIterator
reportException
in interface ContactInfoListIterator
contactInfo
- The
ContactInfo
in effect when an invocation exception occurs.ex
- The
RuntimeException
.public RuntimeException getFailureException()
ContactInfoListIterator
getFailureException
in interface ContactInfoListIterator
ContactInfoListIterator.reportException(com.sun.corba.se.pept.transport.ContactInfo, java.lang.RuntimeException)
).public void reportAddrDispositionRetry(CorbaContactInfo contactInfo, short disposition)
reportAddrDispositionRetry
in interface CorbaContactInfoListIterator
public void reportRedirect(CorbaContactInfo contactInfo, IOR forwardedIOR)
reportRedirect
in interface CorbaContactInfoListIterator
public void updateEffectiveTargetIOR(IOR newIOR)
Copyright © 2020 JBoss by Red Hat. All rights reserved.