org.apache.qpid.proton.codec.messaging
Class HeaderType

java.lang.Object
  extended by org.apache.qpid.proton.codec.AbstractDescribedType<Header,List>
      extended by org.apache.qpid.proton.codec.messaging.HeaderType
All Implemented Interfaces:
AMQPType<Header>, DescribedTypeConstructor<Header>

public class HeaderType
extends AbstractDescribedType<Header,List>
implements DescribedTypeConstructor<Header>


Nested Class Summary
 class HeaderType.HeaderWrapper
           
 
Constructor Summary
HeaderType(EncoderImpl encoder)
           
 
Method Summary
protected  UnsignedLong getDescriptor()
           
 Class<Header> getTypeClass()
           
 Header newInstance(Object described)
           
static void register(Decoder decoder, EncoderImpl encoder)
           
protected  List wrap(Header val)
           
 
Methods inherited from class org.apache.qpid.proton.codec.AbstractDescribedType
getAllEncodings, getCanonicalEncoding, getEncoding, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderType

public HeaderType(EncoderImpl encoder)
Method Detail

getDescriptor

protected UnsignedLong getDescriptor()
Specified by:
getDescriptor in class AbstractDescribedType<Header,List>

wrap

protected List wrap(Header val)
Specified by:
wrap in class AbstractDescribedType<Header,List>

newInstance

public Header newInstance(Object described)
Specified by:
newInstance in interface DescribedTypeConstructor<Header>

getTypeClass

public Class<Header> getTypeClass()
Specified by:
getTypeClass in interface AMQPType<Header>
Specified by:
getTypeClass in interface DescribedTypeConstructor<Header>

register

public static void register(Decoder decoder,
                            EncoderImpl encoder)


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