Package org.apache.qpid.protonj2.types
Class UnknownDescribedType
java.lang.Object
org.apache.qpid.protonj2.types.UnknownDescribedType
- All Implemented Interfaces:
DescribedType
Generic AMQP Described type wrapper that is used whenever a decode encounters
an Described type encoding for which there is no
DescribedTypeDecoder
registered.-
Constructor Summary
ConstructorsConstructorDescriptionUnknownDescribedType(Object descriptor, Object described) Creates a new wrapper around the type descriptor and the described value. -
Method Summary
-
Constructor Details
-
UnknownDescribedType
Creates a new wrapper around the type descriptor and the described value.- Parameters:
descriptor- The type descriptor that was used for the encoding of this type.described- The value that was encoded into the body of the described type.
-
-
Method Details
-
getDescriptor
Description copied from interface:DescribedTypeReturns the Described Type descriptor that identified this instance.- Specified by:
getDescriptorin interfaceDescribedType- Returns:
- the descriptor that identifies this instance.
-
getDescribed
Description copied from interface:DescribedTypeReturns the described type value that is carried in this instance.- Specified by:
getDescribedin interfaceDescribedType- Returns:
- the value carried inside this described instance.
-
equals
-
hashCode
public int hashCode() -
toString
-