Class EncapData

    • Field Detail

      • interfaceHandle

        protected int interfaceHandle
      • timeout

        protected short timeout
    • Constructor Detail

      • EncapData

        protected EncapData()
      • EncapData

        public EncapData​(short cmd,
                         int sess,
                         int stat,
                         int opt,
                         int ifchnd,
                         short timeout,
                         CommonPacketFormat... cpfitems)
      • EncapData

        public EncapData​(short cmd,
                         int sess,
                         int stat,
                         int opt,
                         int ifchnd,
                         short timeout,
                         java.util.List<CommonPacketFormat> cpfitems)
    • Method Detail

      • putPayload

        public void putPayload​(java.nio.ByteBuffer dest)
        Overrides:
        putPayload in class EncapList
      • setPayload

        public void setPayload​(java.nio.ByteBuffer source)
        Overrides:
        setPayload in class EncapList
      • getInterfaceHandle

        public int getInterfaceHandle()
      • setInterfaceHandle

        public void setInterfaceHandle​(int interfaceHandle)
      • getTimeout

        public short getTimeout()
      • setTimeout

        public void setTimeout​(short timeout)
      • getDataItem

        public DataCPF getDataItem()
        Description copied from interface: CpfWrapper
        Obtain the packet's Data CPF item, if present and in the first or second position.
        Specified by:
        getDataItem in interface CpfWrapper
        Overrides:
        getDataItem in class Encap
        Returns:
      • getT2Osocket

        public java.net.InetSocketAddress getT2Osocket()
      • getO2Tsocket

        public java.net.InetSocketAddress getO2Tsocket()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class EncapList