Interface CpfWrapper

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      CpfAddress getAddressItem()
      Obtain the packet's Address CPF item, if present and in the first position.
      DataCPF getDataItem()
      Obtain the packet's Data CPF item, if present and in the first or second position.
      CommonPacketFormat getItem​(int idx)
      Given the index of an item in this packet's list of CPF items, return that item.
      int getItemCount()
      Obtain the number of CPF items wrapped in this packet.
      void putBytes​(java.nio.ByteBuffer dest)
      Given an output buffer, write the entire packet.
    • Method Detail

      • getAddressItem

        CpfAddress getAddressItem()
        Obtain the packet's Address CPF item, if present and in the first position.
        Returns:
      • getDataItem

        DataCPF getDataItem()
        Obtain the packet's Data CPF item, if present and in the first or second position.
        Returns:
      • getItemCount

        int getItemCount()
        Obtain the number of CPF items wrapped in this packet.
        Returns:
      • getItem

        CommonPacketFormat getItem​(int idx)
        Given the index of an item in this packet's list of CPF items, return that item.
        Parameters:
        idx -
        Returns:
      • putBytes

        void putBytes​(java.nio.ByteBuffer dest)
        Given an output buffer, write the entire packet.
        Parameters:
        dest -