public class SourceType extends AbstractDescribedType<Source,List> implements DescribedTypeConstructor<Source>
Constructor and Description |
---|
SourceType(EncoderImpl encoder) |
Modifier and Type | Method and Description |
---|---|
UnsignedLong |
getDescriptor() |
Class<Source> |
getTypeClass() |
Source |
newInstance(Object described) |
static void |
register(Decoder decoder,
EncoderImpl encoder) |
protected List |
wrap(Source val) |
getAllEncodings, getCanonicalEncoding, getEncoding, write
public SourceType(EncoderImpl encoder)
public UnsignedLong getDescriptor()
getDescriptor
in class AbstractDescribedType<Source,List>
public Source newInstance(Object described)
newInstance
in interface DescribedTypeConstructor<Source>
public Class<Source> getTypeClass()
getTypeClass
in interface AMQPType<Source>
getTypeClass
in interface DescribedTypeConstructor<Source>
public static void register(Decoder decoder, EncoderImpl encoder)
Copyright © 2016 The Apache Software Foundation. All rights reserved.