Interface ISOHeader

All Superinterfaces:
Cloneable, Serializable
All Known Implementing Classes:
BASE1Header, BaseHeader

public interface ISOHeader extends Cloneable, Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    Allow object to be cloned.
    Return the destination address in this ISOHeader.
    int
    return the number of bytes in this ISOHeader
    Return the source address in this ISOHeader.
    byte[]
    Return this header as byte array.
    void
    Set the Destination address in this ISOHeader.
    void
    Set the Source address in this ISOHeader.
    void
    Swap the source and destination addresses in this ISOHeader (if they exist).
    int
    unpack(byte[] b)
    Create a new ISOHeader from a byte array.
  • Method Details

    • pack

      byte[] pack()
      Return this header as byte array.
    • unpack

      int unpack(byte[] b)
      Create a new ISOHeader from a byte array.
      Returns:
      The Number of bytes consumed.
    • setDestination

      Set the Destination address in this ISOHeader.
    • getDestination

      Return the destination address in this ISOHeader. returns null if there is no destination address
    • setSource

      void setSource(String src)
      Set the Source address in this ISOHeader.
    • getSource

      Return the source address in this ISOHeader. returns null if there is no source address
    • getLength

      int getLength()
      return the number of bytes in this ISOHeader
    • swapDirection

      Swap the source and destination addresses in this ISOHeader (if they exist).
    • clone

      Allow object to be cloned.