Class FileTransferSection

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf6.FileTransferSection

public final class FileTransferSection extends SmfData
  • Field Details

  • Method Details

    • smf6ln6

      public int smf6ln6()
      SMF6LN6 value.
      Returns:
      int SMF6LN6 value
    • smf6byte

      public long smf6byte()
      SMF6BYTE value.
      Returns:
      long SMF6BYTE value
    • smf6ipv4

      public InetAddress smf6ipv4() throws UnknownHostException
      SMF6IPV4 value.
      Returns:
      InetAddress SMF6IPV4 value
      Throws:
      UnknownHostException - if a DNS lookup is attempted and fails (should not happen)
    • smf6ipv4RawValue

      public BigInteger smf6ipv4RawValue()
      SMF6IPV4 raw value.
      Returns:
      BigInteger SMF6IPV4 value
    • smf6ip1

      public int smf6ip1()
      SMF6IP1 value.
      Returns:
      int SMF6IP1 value
    • smf6ip2

      public int smf6ip2()
      SMF6IP2 value.
      Returns:
      int SMF6IP2 value
    • smf6ip3

      public int smf6ip3()
      SMF6IP3 value.
      Returns:
      int SMF6IP3 value
    • smf6ip4

      public int smf6ip4()
      SMF6IP4 value.
      Returns:
      int SMF6IP4 value
    • smf6ftl

      public int smf6ftl()
      SMF6FTL value.
      Returns:
      int SMF6FTL value
    • smf6port

      public int smf6port()
      SMF6PORT value.
      Returns:
      int SMF6PORT value
    • smf6pqln

      public int smf6pqln()
      SMF6PQLN value.
      Returns:
      int SMF6PQLN value
    • smf6prtq

      public String smf6prtq()
      SMF6PRTQ value.
      Returns:
      String SMF6PRTQ value
    • smf6bytd

      public long smf6bytd()
      SMF6BYTD value, throws exception if SMF6BYTD overflows 64 bit signed integer.
      Returns:
      long SMF6BYTD
      Throws:
      IllegalArgumentException - If the value of SMF6BYTD exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF6BYTD). Use smf6bytdAsBigInteger() if this is possible.
    • smf6bytdAsBigInteger

      public BigInteger smf6bytdAsBigInteger()
      SMF6BYTD value as a BigInteger.

      smf6bytd() may provide better performance if the value will not exceed the maximum value for a signed long.

      Returns:
      BigInteger SMF6BYTD
    • smf6hwrd

      public long smf6hwrd()
      SMF6HWRD value.
      Returns:
      long SMF6HWRD value
    • smf6lwrd

      public long smf6lwrd()
      SMF6LWRD value.
      Returns:
      long SMF6LWRD value
    • smf6ipv6

      public InetAddress smf6ipv6() throws UnknownHostException
      SMF6IPV6 value.
      Returns:
      InetAddress SMF6IPV6 value
      Throws:
      UnknownHostException - if a DNS lookup is attempted and fails (should not happen)
    • smf6ipv6RawValue

      public BigInteger smf6ipv6RawValue()
      SMF6IPV6 raw value.
      Returns:
      BigInteger SMF6IPV6 value
    • smf6uril

      public int smf6uril()
      SMF6URIL value.
      Returns:
      int SMF6URIL value
    • smf6uri

      public String smf6uri()
      SMF6URI value.
      Returns:
      String SMF6URI value
    • smf6actl

      public int smf6actl()
      SMF6ACTL value.
      Returns:
      int SMF6ACTL value
    • smf6acct

      public String smf6acct()
      SMF6ACCT value.
      Returns:
      String SMF6ACCT value
    • create

      public static FileTransferSection create(byte[] Data, int offset, int length)
      create is intended for internal use only. Instances of this section are created by the parent record or section.
      Parameters:
      Data - Array of bytes containing data for this section
      offset - Offset of this section in the data
      length - length of the section