public interface ProxyTrustIterator
TrustVerifier
might be obtained.
ProxyTrustVerifier
obtains such iterators from instances of
classes that have a non-static
member method with signature:
ProxyTrustIterator getProxyTrustIterator();The expectation is that each element produced by the iterator either implements
ProxyTrust
or might have a
getProxyTrustIterator
method that can be used recursively to
obtain further candidates.Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns
true if the iteration has more elements, and
false otherwise. |
Object |
next()
Returns the next element in the iteration.
|
void |
setException(RemoteException e)
Provides the iteration with a
RemoteException thrown from
a remote call made while attempting to obtain a
TrustVerifier from the object
returned by the most recent call to next . |
boolean hasNext()
true
if the iteration has more elements, and
false
otherwise.true
if the iteration has more elements, and
false
otherwiseObject next() throws RemoteException
NoSuchElementException
) without
terminating the iteration.NoSuchElementException
- if the iteration has no more elementsRemoteException
- if a communication-related exception occurs
while producing the next elementRuntimeException
- if a runtime exception occurs while producing
the next elementvoid setException(RemoteException e)
RemoteException
thrown from
a remote call made while attempting to obtain a
TrustVerifier
from the object
returned by the most recent call to next
. Setting an
exception may influence which (if any) elements are subsequently
produced by the iteration. (A RemoteException
thrown
directly by next
should not be passed to this method.)e
- RemoteException
thrown from a remote callNullPointerException
- if the argument is null
IllegalStateException
- if next
has never been
called, or if this method has already been called since the most
recent call to next
, or if hasNext
has been
called since the most recent call to next
, or if the most
recent call to next
threw a RemoteException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.