Class Footer
- java.lang.Object
-
- com.swiftmq.amqp.v100.types.AMQPType
-
- com.swiftmq.amqp.v100.types.AMQPMap
-
- com.swiftmq.amqp.v100.generated.messaging.message_format.Annotations
-
- com.swiftmq.amqp.v100.generated.messaging.message_format.Footer
-
- All Implemented Interfaces:
SectionIF
public class Footer extends Annotations implements SectionIF
The footer section is used for details about the message or delivery which can only be calculated or evaluated once the whole bare message has been constructed or seen (for example message hashes, HMACs, signatures and encryption details).
A registry of defined footers and their meanings is maintained [ AMQPFOOTER ].
- Version:
- AMQP Version v100. Generation Date: Wed Apr 18 14:09:32 CEST 2012
- Author:
- IIT Software GmbH, Bremen/Germany, (c) 2012, All Rights Reserved
-
-
Field Summary
Fields Modifier and Type Field Description AMQPDescribedConstructor
codeConstructor
static long
DESCRIPTOR_CODE
static java.lang.String
DESCRIPTOR_NAME
AMQPDescribedConstructor
nameConstructor
-
Constructor Summary
Constructors Constructor Description Footer(java.util.Map initValue)
Constructs a Footer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SectionVisitor visitor)
Accept method for a Section visitor.boolean
hasDescriptor()
Return whether this Footer has a descriptorjava.lang.String
toString()
void
writeContent(java.io.DataOutput out)
Write the content of this type to a DataOutput.-
Methods inherited from class com.swiftmq.amqp.v100.types.AMQPMap
getPredictedSize, getValue, getValueString, readContent, setValue
-
Methods inherited from class com.swiftmq.amqp.v100.types.AMQPType
getCode, getConstructor, getName, isWriteCode, resetConstructor, setCode, setConstructor, setWriteCode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.swiftmq.amqp.v100.generated.messaging.message_format.SectionIF
getPredictedSize, getValueString
-
-
-
-
Field Detail
-
DESCRIPTOR_NAME
public static java.lang.String DESCRIPTOR_NAME
-
DESCRIPTOR_CODE
public static long DESCRIPTOR_CODE
-
codeConstructor
public AMQPDescribedConstructor codeConstructor
-
nameConstructor
public AMQPDescribedConstructor nameConstructor
-
-
Method Detail
-
accept
public void accept(SectionVisitor visitor)
Accept method for a Section visitor.
-
hasDescriptor
public boolean hasDescriptor()
Return whether this Footer has a descriptor- Overrides:
hasDescriptor
in classAMQPType
- Returns:
- true/false
-
writeContent
public void writeContent(java.io.DataOutput out) throws java.io.IOException
Description copied from class:AMQPType
Write the content of this type to a DataOutput.- Overrides:
writeContent
in classAMQPMap
- Parameters:
out
- DataOutput- Throws:
java.io.IOException
- on error
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAnnotations
-
-