org.apache.qpid.transport
Class DeliveryProperties

java.lang.Object
  extended by org.apache.qpid.transport.Struct
      extended by org.apache.qpid.transport.DeliveryProperties
All Implemented Interfaces:
Encodable

public final class DeliveryProperties
extends Struct


Field Summary
static int TYPE
           
 
Fields inherited from class org.apache.qpid.transport.Struct
dirty
 
Constructor Summary
DeliveryProperties()
           
DeliveryProperties(MessageDeliveryPriority priority, MessageDeliveryMode deliveryMode, long ttl, long timestamp, long expiration, String exchange, String routingKey, String resumeId, long resumeTtl, Option... _options)
           
 
Method Summary
 DeliveryProperties clearDeliveryMode()
           
 DeliveryProperties clearDiscardUnroutable()
           
 DeliveryProperties clearExchange()
           
 DeliveryProperties clearExpiration()
           
 DeliveryProperties clearImmediate()
           
 DeliveryProperties clearPriority()
           
 DeliveryProperties clearRedelivered()
           
 DeliveryProperties clearResumeId()
           
 DeliveryProperties clearResumeTtl()
           
 DeliveryProperties clearRoutingKey()
           
 DeliveryProperties clearTimestamp()
           
 DeliveryProperties clearTtl()
           
 DeliveryProperties deliveryMode(MessageDeliveryMode value)
           
 DeliveryProperties discardUnroutable(boolean value)
           
 DeliveryProperties exchange(String value)
           
 DeliveryProperties expiration(long value)
           
 MessageDeliveryMode getDeliveryMode()
           
 boolean getDiscardUnroutable()
           
 byte getEncodedTrack()
           
 String getExchange()
           
 long getExpiration()
           
 Map<String,Object> getFields()
           
 boolean getImmediate()
           
 int getPackWidth()
           
 MessageDeliveryPriority getPriority()
           
 boolean getRedelivered()
           
 String getResumeId()
           
 long getResumeTtl()
           
 String getRoutingKey()
           
 int getSizeWidth()
           
 int getStructType()
           
 long getTimestamp()
           
 long getTtl()
           
 boolean hasDeliveryMode()
           
 boolean hasDiscardUnroutable()
           
 boolean hasExchange()
           
 boolean hasExpiration()
           
 boolean hasImmediate()
           
 boolean hasPayload()
           
 boolean hasPriority()
           
 boolean hasRedelivered()
           
 boolean hasResumeId()
           
 boolean hasResumeTtl()
           
 boolean hasRoutingKey()
           
 boolean hasTimestamp()
           
 boolean hasTtl()
           
 DeliveryProperties immediate(boolean value)
           
 DeliveryProperties priority(MessageDeliveryPriority value)
           
 void read(Decoder dec)
          Decodes this encodable using the given decoder.
 DeliveryProperties redelivered(boolean value)
           
 DeliveryProperties resumeId(String value)
           
 DeliveryProperties resumeTtl(long value)
           
 DeliveryProperties routingKey(String value)
           
 DeliveryProperties setDeliveryMode(MessageDeliveryMode value)
           
 DeliveryProperties setDiscardUnroutable(boolean value)
           
 DeliveryProperties setExchange(String value)
           
 DeliveryProperties setExpiration(long value)
           
 DeliveryProperties setImmediate(boolean value)
           
 DeliveryProperties setPriority(MessageDeliveryPriority value)
           
 DeliveryProperties setRedelivered(boolean value)
           
 DeliveryProperties setResumeId(String value)
           
 DeliveryProperties setResumeTtl(long value)
           
 DeliveryProperties setRoutingKey(String value)
           
 DeliveryProperties setTimestamp(long value)
           
 DeliveryProperties setTtl(long value)
           
 DeliveryProperties timestamp(long value)
           
 DeliveryProperties ttl(long value)
           
 void write(Encoder enc)
          Encodes this encodable using the given encoder.
 
Methods inherited from class org.apache.qpid.transport.Struct
create, getEncodedType, isDirty, setDirty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final int TYPE
See Also:
Constant Field Values
Constructor Detail

DeliveryProperties

public DeliveryProperties()

DeliveryProperties

public DeliveryProperties(MessageDeliveryPriority priority,
                          MessageDeliveryMode deliveryMode,
                          long ttl,
                          long timestamp,
                          long expiration,
                          String exchange,
                          String routingKey,
                          String resumeId,
                          long resumeTtl,
                          Option... _options)
Method Detail

getStructType

public final int getStructType()
Specified by:
getStructType in class Struct

getSizeWidth

public final int getSizeWidth()
Specified by:
getSizeWidth in class Struct

getPackWidth

public final int getPackWidth()
Specified by:
getPackWidth in class Struct

hasPayload

public final boolean hasPayload()

getEncodedTrack

public final byte getEncodedTrack()

hasDiscardUnroutable

public final boolean hasDiscardUnroutable()

clearDiscardUnroutable

public final DeliveryProperties clearDiscardUnroutable()

getDiscardUnroutable

public final boolean getDiscardUnroutable()

setDiscardUnroutable

public final DeliveryProperties setDiscardUnroutable(boolean value)

discardUnroutable

public final DeliveryProperties discardUnroutable(boolean value)

hasImmediate

public final boolean hasImmediate()

clearImmediate

public final DeliveryProperties clearImmediate()

getImmediate

public final boolean getImmediate()

setImmediate

public final DeliveryProperties setImmediate(boolean value)

immediate

public final DeliveryProperties immediate(boolean value)

hasRedelivered

public final boolean hasRedelivered()

clearRedelivered

public final DeliveryProperties clearRedelivered()

getRedelivered

public final boolean getRedelivered()

setRedelivered

public final DeliveryProperties setRedelivered(boolean value)

redelivered

public final DeliveryProperties redelivered(boolean value)

hasPriority

public final boolean hasPriority()

clearPriority

public final DeliveryProperties clearPriority()

getPriority

public final MessageDeliveryPriority getPriority()

setPriority

public final DeliveryProperties setPriority(MessageDeliveryPriority value)

priority

public final DeliveryProperties priority(MessageDeliveryPriority value)

hasDeliveryMode

public final boolean hasDeliveryMode()

clearDeliveryMode

public final DeliveryProperties clearDeliveryMode()

getDeliveryMode

public final MessageDeliveryMode getDeliveryMode()

setDeliveryMode

public final DeliveryProperties setDeliveryMode(MessageDeliveryMode value)

deliveryMode

public final DeliveryProperties deliveryMode(MessageDeliveryMode value)

hasTtl

public final boolean hasTtl()

clearTtl

public final DeliveryProperties clearTtl()

getTtl

public final long getTtl()

setTtl

public final DeliveryProperties setTtl(long value)

ttl

public final DeliveryProperties ttl(long value)

hasTimestamp

public final boolean hasTimestamp()

clearTimestamp

public final DeliveryProperties clearTimestamp()

getTimestamp

public final long getTimestamp()

setTimestamp

public final DeliveryProperties setTimestamp(long value)

timestamp

public final DeliveryProperties timestamp(long value)

hasExpiration

public final boolean hasExpiration()

clearExpiration

public final DeliveryProperties clearExpiration()

getExpiration

public final long getExpiration()

setExpiration

public final DeliveryProperties setExpiration(long value)

expiration

public final DeliveryProperties expiration(long value)

hasExchange

public final boolean hasExchange()

clearExchange

public final DeliveryProperties clearExchange()

getExchange

public final String getExchange()

setExchange

public final DeliveryProperties setExchange(String value)

exchange

public final DeliveryProperties exchange(String value)

hasRoutingKey

public final boolean hasRoutingKey()

clearRoutingKey

public final DeliveryProperties clearRoutingKey()

getRoutingKey

public final String getRoutingKey()

setRoutingKey

public final DeliveryProperties setRoutingKey(String value)

routingKey

public final DeliveryProperties routingKey(String value)

hasResumeId

public final boolean hasResumeId()

clearResumeId

public final DeliveryProperties clearResumeId()

getResumeId

public final String getResumeId()

setResumeId

public final DeliveryProperties setResumeId(String value)

resumeId

public final DeliveryProperties resumeId(String value)

hasResumeTtl

public final boolean hasResumeTtl()

clearResumeTtl

public final DeliveryProperties clearResumeTtl()

getResumeTtl

public final long getResumeTtl()

setResumeTtl

public final DeliveryProperties setResumeTtl(long value)

resumeTtl

public final DeliveryProperties resumeTtl(long value)

write

public void write(Encoder enc)
Description copied from interface: Encodable
Encodes this encodable using the given encoder.

Specified by:
write in interface Encodable
Specified by:
write in class Struct
Parameters:
enc - the encoder.

read

public void read(Decoder dec)
Description copied from interface: Encodable
Decodes this encodable using the given decoder.

Specified by:
read in interface Encodable
Specified by:
read in class Struct
Parameters:
dec - the decoder.

getFields

public Map<String,Object> getFields()
Specified by:
getFields in class Struct


Licensed to the Apache Software Foundation