public class FramedAppleTalkLinkAttribute extends Attribute
Modifier and Type | Field and Description |
---|---|
static int |
UN_NUMBERED
The special link value that indicates an unnumbered link.
|
MAX_ATTRIBUTE_LENGTH, MAX_ATTRIBUTE_VALUE_LENGTH
Constructor and Description |
---|
FramedAppleTalkLinkAttribute(byte[] octets)
Constructs a new instance from the on-the-wire bytes for this attribute including the prefixing attribute-type
code octet and length octet.
|
FramedAppleTalkLinkAttribute(int networkNumber)
Construct a new instance from the network number it should represent between 0 and 65535 notwithstanding use
of an integer.
|
Modifier and Type | Method and Description |
---|---|
int |
getNetworkNumber()
Returns the apple talk network number between 0 and 65535.
|
boolean |
isUnumberedLink()
Indicates if this is for an unnumbered serial link.
|
String |
toStringImpl()
Used by super class to log the attribute's contents when packet logging is enabled.
|
public static final int UN_NUMBERED
public FramedAppleTalkLinkAttribute(int networkNumber)
networkNumber
- the network number that should be between 0 and 65535 inclusive.public FramedAppleTalkLinkAttribute(byte[] octets)
octets
- the on-the-wire bytes from which to construct this instancepublic int getNetworkNumber()
public boolean isUnumberedLink()
public String toStringImpl()
toStringImpl
in class Attribute
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.