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