org.apache.qpid.proton.engine.impl
Class DeliveryImpl

java.lang.Object
  extended by org.apache.qpid.proton.engine.impl.DeliveryImpl
All Implemented Interfaces:
Delivery

public class DeliveryImpl
extends Object
implements Delivery


Constructor Summary
DeliveryImpl(byte[] tag, LinkImpl link, DeliveryImpl previous)
           
 
Method Summary
 void disposition(DeliveryState state)
           
 void free()
           
 Object getContext()
           
 LinkImpl getLink()
           
 DeliveryState getLocalState()
           
 int getMessageFormat()
           
 DeliveryState getRemoteState()
           
 byte[] getTag()
           
 DeliveryImpl getWorkNext()
           
 boolean isReadable()
           
 boolean isSettled()
           
 boolean isUpdated()
           
 boolean isWritable()
           
 boolean remotelySettled()
           
 void setContext(Object context)
           
 void setDataOffset(int arrayOffset)
           
 void settle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeliveryImpl

public DeliveryImpl(byte[] tag,
                    LinkImpl link,
                    DeliveryImpl previous)
Method Detail

getTag

public byte[] getTag()
Specified by:
getTag in interface Delivery

getLink

public LinkImpl getLink()
Specified by:
getLink in interface Delivery

getLocalState

public DeliveryState getLocalState()
Specified by:
getLocalState in interface Delivery

getRemoteState

public DeliveryState getRemoteState()
Specified by:
getRemoteState in interface Delivery

remotelySettled

public boolean remotelySettled()
Specified by:
remotelySettled in interface Delivery

getMessageFormat

public int getMessageFormat()
Specified by:
getMessageFormat in interface Delivery

disposition

public void disposition(DeliveryState state)
Specified by:
disposition in interface Delivery

settle

public void settle()
Specified by:
settle in interface Delivery

free

public void free()
Specified by:
free in interface Delivery

getWorkNext

public DeliveryImpl getWorkNext()
Specified by:
getWorkNext in interface Delivery

isSettled

public boolean isSettled()
Specified by:
isSettled in interface Delivery

setDataOffset

public void setDataOffset(int arrayOffset)

isWritable

public boolean isWritable()
Specified by:
isWritable in interface Delivery

isReadable

public boolean isReadable()
Specified by:
isReadable in interface Delivery

isUpdated

public boolean isUpdated()
Specified by:
isUpdated in interface Delivery

getContext

public Object getContext()
Specified by:
getContext in interface Delivery

setContext

public void setContext(Object context)
Specified by:
setContext in interface Delivery


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.