public class FastPathAcceptedType extends Object implements AMQPType<Accepted>, FastPathDescribedTypeConstructor<Accepted>
| Constructor and Description |
|---|
FastPathAcceptedType(EncoderImpl encoder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
encodesJavaPrimitive() |
Collection<? extends TypeEncoding<Accepted>> |
getAllEncodings() |
TypeEncoding<Accepted> |
getCanonicalEncoding() |
DecoderImpl |
getDecoder() |
EncoderImpl |
getEncoder() |
TypeEncoding<Accepted> |
getEncoding(Accepted accepted) |
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 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 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)
Copyright © 2020 The Apache Software Foundation. All rights reserved.