|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines an object who is responsible for producing Packet
objects to be processed.
| Method Summary | |
void |
close()
Closes any resources held by this PacketProducer. |
Packet |
producePacket()
Produce the next packet for consumption. |
| Method Detail |
public Packet producePacket()
This method will trigger the packet storage mechanism to give the next packet to be processed. This method will block until the next packet becomes available to be processed.
Packet to be processedpublic void close()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||