public interface EncodeIterator
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns
true if this iterator has additional encoders, or
false otherwise. |
DatagramPacket[] |
next()
Performs a single multicast encode operation using the next encoder
provider of a
Discovery instance, returning the resulting
datagram packets or throwing the resulting exception. |
DatagramPacket[] next() throws IOException
Discovery
instance, returning the resulting
datagram packets or throwing the resulting exception.IOException
- if the encode operation failedUnsupportedConstraintException
- if the encode
operation is unable to satisfy its constraintsNoSuchElementException
- if there are no more encoders
for this iteratorboolean hasNext()
true
if this iterator has additional encoders, or
false
otherwise.true
if this iterator has additional encoders, or
false
otherwiseCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.