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

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

public class DischargeType
extends AbstractDescribedType<Discharge,List>
implements DescribedTypeConstructor<Discharge>


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

wrap

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

newInstance

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

getTypeClass

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

register

public static void register(Decoder decoder,
                            EncoderImpl encoder)


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