Class PDU

  • All Implemented Interfaces:
    Types, java.lang.Iterable<PDU>

    public class PDU
    extends java.lang.Object
    implements Types, java.lang.Iterable<PDU>
    • Constructor Detail

      • PDU

        public PDU​(int id,
                   java.lang.Object payload)
      • PDU

        public PDU​(java.util.Date payload)
      • PDU

        public PDU​(int n)
      • PDU

        public PDU​(boolean value)
      • PDU

        public PDU​(java.lang.String s)
            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • PDU

        public PDU​(byte[] data)
      • PDU

        public PDU​(java.util.BitSet bits)
      • PDU

        public PDU​(int top,
                   int l1,
                   int... remainder)
      • PDU

        public PDU​(int tag,
                   PDU... set)
      • PDU

        public PDU​(PDU... set)
    • Method Detail

      • getTag

        public int getTag()
      • isConstructed

        public boolean isConstructed()
      • getString

        public java.lang.String getString()
      • iterator

        public java.util.Iterator<PDU> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<PDU>
      • getOID

        public int[] getOID()
      • getBoolean

        public java.lang.Boolean getBoolean()
      • getBits

        public java.util.BitSet getBits()
      • getInt

        public int getInt()
      • getBytes

        public byte[] getBytes()
      • getChildren

        public PDU[] getChildren()
      • getDate

        public java.util.Date getDate()