|
|||||||||
Home >> All >> org >> activemq >> [ message overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
org.activemq.message
Class ReceiptHolder

java.lang.Objectorg.activemq.message.ReceiptHolder
- public class ReceiptHolder
- extends java.lang.Object
ReceiptHolder is a utility class used for waiting for receipts from Packets sent to the broker
- Version:
- $Revision: 1.1.1.1 $
Field Summary | |
protected java.lang.Object |
lock
|
protected boolean |
notified
|
protected Receipt |
receipt
|
Constructor Summary | |
ReceiptHolder()
Construct a receipt holder |
Method Summary | |
void |
close()
close this holder |
Receipt |
getReceipt()
Get the Receipt |
Receipt |
getReceipt(int timeout)
wait upto timeout timeout ms to get a receipt |
void |
setReceipt(Receipt r)
Set the Receipt for this holder |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
receipt
protected Receipt receipt
lock
protected java.lang.Object lock
notified
protected boolean notified
Constructor Detail |
ReceiptHolder
public ReceiptHolder()
- Construct a receipt holder
Method Detail |
setReceipt
public void setReceipt(Receipt r)
- Set the Receipt for this holder
getReceipt
public Receipt getReceipt()
- Get the Receipt
getReceipt
public Receipt getReceipt(int timeout)
- wait upto
timeout
timeout ms to get a receipt
close
public void close()
- close this holder
|
|||||||||
Home >> All >> org >> activemq >> [ message overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |