public class EcoMessageProducer extends Object implements Iterator<org.eclipse.californium.elements.RawData>
RawData, i.e. byte arrays. This produces
is rather economic because it creates all 65000 requests (with different
MIDs) once and only changes the port after all requests have been used once.
This producer is able to produce an infinit amount of requests but only needs
the memory for 65000 of them. However, setting the port needs some
computation and might cause worse cache-locality as with
MessageProducer.| Constructor and Description |
|---|
EcoMessageProducer(String targetURI) |
EcoMessageProducer(String targetURI,
int amount) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
org.eclipse.californium.elements.RawData |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingCopyright © 2014 Eclipse Foundation. All rights reserved.