Package com.blackhillsoftware.smf.smf6
Class FileTransferSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf6.FileTransferSection
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FileTransferSection
create
(byte[] Data, int offset, int length) create is intended for internal use only.smf6acct()
SMF6ACCT value.int
smf6actl()
SMF6ACTL value.long
smf6bytd()
SMF6BYTD value, throws exception if SMF6BYTD overflows 64 bit signed integer.SMF6BYTD value as a BigInteger.long
smf6byte()
SMF6BYTE value.int
smf6ftl()
SMF6FTL value.long
smf6hwrd()
SMF6HWRD value.int
smf6ip1()
SMF6IP1 value.int
smf6ip2()
SMF6IP2 value.int
smf6ip3()
SMF6IP3 value.int
smf6ip4()
SMF6IP4 value.smf6ipv4()
SMF6IPV4 value.SMF6IPV4 raw value.smf6ipv6()
SMF6IPV6 value.SMF6IPV6 raw value.int
smf6ln6()
SMF6LN6 value.long
smf6lwrd()
SMF6LWRD value.int
smf6port()
SMF6PORT value.int
smf6pqln()
SMF6PQLN value.smf6prtq()
SMF6PRTQ value.smf6uri()
SMF6URI value.int
smf6uril()
SMF6URIL value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF6FTL1
public static final int SMF6FTL1Constant: 0x01 = 1- See Also:
-
SMF6FTL2
public static final int SMF6FTL2Constant: 0x02 = 2- See Also:
-
SMF6FTL3
public static final int SMF6FTL3Constant: 0x03 = 3- See Also:
-
-
Method Details
-
smf6ln6
public int smf6ln6()SMF6LN6 value.- Returns:
- int SMF6LN6 value
-
smf6byte
public long smf6byte()SMF6BYTE value.- Returns:
- long SMF6BYTE value
-
smf6ipv4
SMF6IPV4 value.- Returns:
- InetAddress SMF6IPV4 value
- Throws:
UnknownHostException
- if a DNS lookup is attempted and fails (should not happen)
-
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
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). Usesmf6bytdAsBigInteger()
if this is possible.
-
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
SMF6IPV6 value.- Returns:
- InetAddress SMF6IPV6 value
- Throws:
UnknownHostException
- if a DNS lookup is attempted and fails (should not happen)
-
smf6ipv6RawValue
SMF6IPV6 raw value.- Returns:
- BigInteger SMF6IPV6 value
-
smf6uril
public int smf6uril()SMF6URIL value.- Returns:
- int SMF6URIL value
-
smf6uri
SMF6URI value.- Returns:
- String SMF6URI value
-
smf6actl
public int smf6actl()SMF6ACTL value.- Returns:
- int SMF6ACTL value
-
smf6acct
SMF6ACCT value.- Returns:
- String SMF6ACCT value
-
create
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 sectionoffset
- Offset of this section in the datalength
- length of the section
-