public final class FileTransferSection extends SmfData
Modifier and Type | Field and Description |
---|---|
static int |
SMF6FTL1
Constant: 0x01 = 1
|
static int |
SMF6FTL2
Constant: 0x02 = 2
|
static int |
SMF6FTL3
Constant: 0x03 = 3
|
Modifier and Type | Method and Description |
---|---|
static FileTransferSection |
create(byte[] Data,
int offset,
int length)
create is intended for internal use only.
|
String |
smf6acct()
SMF6ACCT value.
|
int |
smf6actl()
SMF6ACTL value.
|
long |
smf6bytd()
SMF6BYTD value, throws exception if SMF6BYTD overflows 64 bit signed integer.
|
BigInteger |
smf6bytdAsBigInteger()
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.
|
InetAddress |
smf6ipv4()
SMF6IPV4 value.
|
BigInteger |
smf6ipv4RawValue()
SMF6IPV4 raw value.
|
InetAddress |
smf6ipv6()
SMF6IPV6 value.
|
BigInteger |
smf6ipv6RawValue()
SMF6IPV6 raw value.
|
int |
smf6ln6()
SMF6LN6 value.
|
long |
smf6lwrd()
SMF6LWRD value.
|
int |
smf6port()
SMF6PORT value.
|
int |
smf6pqln()
SMF6PQLN value.
|
String |
smf6prtq()
SMF6PRTQ value.
|
String |
smf6uri()
SMF6URI value.
|
int |
smf6uril()
SMF6URIL value.
|
createSection, dump, dump, dump, dump, equals, getBytes, getBytes, getDataArray, getTriplet, hashCode, toString
public static final int SMF6FTL1
public static final int SMF6FTL2
public static final int SMF6FTL3
public int smf6ln6()
public long smf6byte()
public InetAddress smf6ipv4() throws UnknownHostException
UnknownHostException
public BigInteger smf6ipv4RawValue()
public int smf6ip1()
public int smf6ip2()
public int smf6ip3()
public int smf6ip4()
public int smf6ftl()
public int smf6port()
public int smf6pqln()
public String smf6prtq()
public long smf6bytd()
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.public BigInteger smf6bytdAsBigInteger()
smf6bytd()
may provide better performance
if the value will not exceed the maximum value for a signed long.
public long smf6hwrd()
public long smf6lwrd()
public InetAddress smf6ipv6() throws UnknownHostException
UnknownHostException
public BigInteger smf6ipv6RawValue()
public int smf6uril()
public String smf6uri()
public int smf6actl()
public String smf6acct()
public static FileTransferSection create(byte[] Data, int offset, int length)
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the sectionCopyright © 2020 Black Hill Software Pty Ltd. All rights reserved.