public class FastPathAcceptedType extends java.lang.Object implements AMQPType<Accepted>, FastPathDescribedTypeConstructor<Accepted>
Constructor and Description |
---|
FastPathAcceptedType(EncoderImpl encoder) |
Modifier and Type | Method and Description |
---|---|
boolean |
encodesJavaPrimitive() |
java.util.Collection<? extends TypeEncoding<Accepted>> |
getAllEncodings() |
TypeEncoding<Accepted> |
getCanonicalEncoding() |
DecoderImpl |
getDecoder() |
EncoderImpl |
getEncoder() |
TypeEncoding<Accepted> |
getEncoding(Accepted accepted) |
java.lang.Class<Accepted> |
getTypeClass() |
Accepted |
readValue() |
static void |
register(Decoder decoder,
EncoderImpl encoder) |
void |
skipValue() |
void |
write(Accepted accepted) |
public FastPathAcceptedType(EncoderImpl encoder)
public EncoderImpl getEncoder()
public DecoderImpl getDecoder()
public boolean encodesJavaPrimitive()
encodesJavaPrimitive
in interface TypeConstructor<Accepted>
public java.lang.Class<Accepted> getTypeClass()
getTypeClass
in interface AMQPType<Accepted>
getTypeClass
in interface TypeConstructor<Accepted>
public TypeEncoding<Accepted> getEncoding(Accepted accepted)
getEncoding
in interface AMQPType<Accepted>
public TypeEncoding<Accepted> getCanonicalEncoding()
getCanonicalEncoding
in interface AMQPType<Accepted>
public java.util.Collection<? extends TypeEncoding<Accepted>> getAllEncodings()
getAllEncodings
in interface AMQPType<Accepted>
public Accepted readValue()
readValue
in interface TypeConstructor<Accepted>
public void skipValue()
skipValue
in interface TypeConstructor<Accepted>
public static void register(Decoder decoder, EncoderImpl encoder)