Package com.oss.asn1

Class AbstractPDU<T extends Enum>

java.lang.Object
com.oss.asn1.AbstractPDU<T>

public class AbstractPDU<T extends Enum> extends Object
The class is an abstract superclass for compiler-generated project PDU classes. An instance of the the project PDU class can be used as an input to the decoder when the expected ASN.1 type of the PDU is not known ahead of time and encoding rules in use allow auto-detecting the PDU type from bits on the wire (BER, XER, JSON/ER).
Since:
ASN.1/Java 7.0
  • Constructor Details

    • AbstractPDU

      public AbstractPDU()
  • Method Details

    • getTypeID

      public T getTypeID()
      Return an Enum instance that identifies type of the decoded value.
      Returns:
      an Enum instance that identifies type of the decoded value.
    • getDecodedValue

      public AbstractData getDecodedValue()
      This function returns the decoded value.
      Returns:
      The decoded value.