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