org.jboss.messaging.core.impl
Class SimpleDelivery
java.lang.Object
org.jboss.messaging.core.impl.SimpleDelivery
- All Implemented Interfaces:
- Delivery
public class SimpleDelivery
- extends java.lang.Object
- implements Delivery
A simple Delivery implementation.
- Version:
- $Revision: 2925 $
$Id: SimpleDelivery.java 2925 2007-07-25 10:43:58Z timfox $
- Author:
- Ovidiu Feodorov, Tim Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleDelivery
public SimpleDelivery()
SimpleDelivery
public SimpleDelivery(DeliveryObserver observer,
MessageReference reference)
SimpleDelivery
public SimpleDelivery(DeliveryObserver observer,
MessageReference reference,
boolean selectorAccepted,
boolean recovered)
getReference
public MessageReference getReference()
- Specified by:
getReference
in interface Delivery
isSelectorAccepted
public boolean isSelectorAccepted()
- Specified by:
isSelectorAccepted
in interface Delivery
getObserver
public DeliveryObserver getObserver()
- Specified by:
getObserver
in interface Delivery
acknowledge
public void acknowledge(Transaction tx)
throws java.lang.Throwable
- Specified by:
acknowledge
in interface Delivery
- Throws:
java.lang.Throwable
cancel
public void cancel()
throws java.lang.Throwable
- Specified by:
cancel
in interface Delivery
- Throws:
java.lang.Throwable
isRecovered
public boolean isRecovered()
- Specified by:
isRecovered
in interface Delivery
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2006 JBoss Inc. All Rights Reserved.