org.apache.qpid.proton.codec.transaction
Class DeclareType

java.lang.Object
  extended by org.apache.qpid.proton.codec.AbstractDescribedType<Declare,List>
      extended by org.apache.qpid.proton.codec.transaction.DeclareType
All Implemented Interfaces:
AMQPType<Declare>, DescribedTypeConstructor<Declare>

public class DeclareType
extends AbstractDescribedType<Declare,List>
implements DescribedTypeConstructor<Declare>


Method Summary
 UnsignedLong getDescriptor()
           
 Class<Declare> getTypeClass()
           
 Declare newInstance(Object described)
           
static void register(Decoder decoder, EncoderImpl encoder)
           
protected  List wrap(Declare 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
 

Method Detail

getDescriptor

public UnsignedLong getDescriptor()
Specified by:
getDescriptor in class AbstractDescribedType<Declare,List>

wrap

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

newInstance

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

getTypeClass

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

register

public static void register(Decoder decoder,
                            EncoderImpl encoder)


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