public abstract class AbstractDescribedType<T,M> extends java.lang.Object implements AMQPType<T>
Constructor and Description |
---|
AbstractDescribedType(EncoderImpl encoder) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<TypeEncoding<T>> |
getAllEncodings() |
TypeEncoding<T> |
getCanonicalEncoding() |
DecoderImpl |
getDecoder() |
protected abstract UnsignedLong |
getDescriptor() |
EncoderImpl |
getEncoder() |
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 EncoderImpl getEncoder()
public DecoderImpl getDecoder()
public TypeEncoding<T> getEncoding(T val)
getEncoding
in interface AMQPType<T>
public TypeEncoding<T> getCanonicalEncoding()
getCanonicalEncoding
in interface AMQPType<T>
public java.util.Collection<TypeEncoding<T>> getAllEncodings()
getAllEncodings
in interface AMQPType<T>