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 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.