org.apache.qpid.transport
Class DeliveryProperties
java.lang.Object
org.apache.qpid.transport.Struct
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 |
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
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)
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