public abstract class AbstractDescribedType<T,M> extends Object implements AMQPType<T>
Constructor and Description |
---|
AbstractDescribedType(EncoderImpl encoder) |
Modifier and Type | Method and Description |
---|---|
Collection<TypeEncoding<T>> |
getAllEncodings() |
TypeEncoding<T> |
getCanonicalEncoding() |
protected abstract UnsignedLong |
getDescriptor() |
TypeEncoding<T> |
getEncoding(T val) |
protected abstract M |
wrap(T val) |
void |
write(T val) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTypeClass
public AbstractDescribedType(EncoderImpl encoder)
protected abstract UnsignedLong getDescriptor()
public TypeEncoding<T> getEncoding(T val)
getEncoding
in interface AMQPType<T>
public TypeEncoding<T> getCanonicalEncoding()
getCanonicalEncoding
in interface AMQPType<T>
public Collection<TypeEncoding<T>> getAllEncodings()
getAllEncodings
in interface AMQPType<T>
Copyright © 2016 The Apache Software Foundation. All rights reserved.