Class FastPathAcceptedType
- java.lang.Object
-
- org.apache.qpid.proton.codec.messaging.FastPathAcceptedType
-
- All Implemented Interfaces:
AMQPType<Accepted>,FastPathDescribedTypeConstructor<Accepted>,TypeConstructor<Accepted>
public class FastPathAcceptedType extends java.lang.Object implements AMQPType<Accepted>, FastPathDescribedTypeConstructor<Accepted>
-
-
Constructor Summary
Constructors Constructor Description FastPathAcceptedType(EncoderImpl encoder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanencodesJavaPrimitive()java.util.Collection<? extends TypeEncoding<Accepted>>getAllEncodings()TypeEncoding<Accepted>getCanonicalEncoding()DecoderImplgetDecoder()EncoderImplgetEncoder()TypeEncoding<Accepted>getEncoding(Accepted accepted)java.lang.Class<Accepted>getTypeClass()AcceptedreadValue()static voidregister(Decoder decoder, EncoderImpl encoder)voidskipValue()voidwrite(Accepted accepted)
-
-
-
Constructor Detail
-
FastPathAcceptedType
public FastPathAcceptedType(EncoderImpl encoder)
-
-
Method Detail
-
getEncoder
public EncoderImpl getEncoder()
-
getDecoder
public DecoderImpl getDecoder()
-
encodesJavaPrimitive
public boolean encodesJavaPrimitive()
- Specified by:
encodesJavaPrimitivein interfaceTypeConstructor<Accepted>
-
getTypeClass
public java.lang.Class<Accepted> getTypeClass()
- Specified by:
getTypeClassin interfaceAMQPType<Accepted>- Specified by:
getTypeClassin interfaceTypeConstructor<Accepted>
-
getEncoding
public TypeEncoding<Accepted> getEncoding(Accepted accepted)
- Specified by:
getEncodingin interfaceAMQPType<Accepted>
-
getCanonicalEncoding
public TypeEncoding<Accepted> getCanonicalEncoding()
- Specified by:
getCanonicalEncodingin interfaceAMQPType<Accepted>
-
getAllEncodings
public java.util.Collection<? extends TypeEncoding<Accepted>> getAllEncodings()
- Specified by:
getAllEncodingsin interfaceAMQPType<Accepted>
-
readValue
public Accepted readValue()
- Specified by:
readValuein interfaceTypeConstructor<Accepted>
-
skipValue
public void skipValue()
- Specified by:
skipValuein interfaceTypeConstructor<Accepted>
-
register
public static void register(Decoder decoder, EncoderImpl encoder)
-
-