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

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

public final class AcceptedType
extends AbstractDescribedType<Accepted,List>
implements DescribedTypeConstructor<Accepted>


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

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

wrap

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

getTypeClass

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

newInstance

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

register

public static void register(Decoder decoder,
                            EncoderImpl encoder)


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