public static class PDUAddress.PduAddressInformation extends Choice
pduAddressInformation
field.Modifier and Type | Field and Description |
---|---|
static int |
ipv4Address_chosen
Identifies the
ipv4Address alternative. |
static int |
ipv4v6_chosen
Identifies the
ipv4v6 alternative. |
static int |
ipv6InterfaceIdentifier_chosen
Identifies the
ipv6InterfaceIdentifier alternative. |
Constructor and Description |
---|
PduAddressInformation()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
static PDUAddress.PduAddressInformation |
createWithIpv4Address(OctetString ipv4Address)
Creates an instance of the
PduAddressInformation with the ipv4Address
alternative selected. |
static PDUAddress.PduAddressInformation |
createWithIpv4v6(PDUAddress_ipv4v6 ipv4v6)
Creates an instance of the
PduAddressInformation with the ipv4v6
alternative selected. |
static PDUAddress.PduAddressInformation |
createWithIpv6InterfaceIdentifier(OctetString ipv6InterfaceIdentifier)
Creates an instance of the
PduAddressInformation with the ipv6InterfaceIdentifier
alternative selected. |
OctetString |
getIpv4Address()
Returns the value of the
ipv4Address alternative. |
PDUAddress_ipv4v6 |
getIpv4v6()
Returns the value of the
ipv4v6 alternative. |
OctetString |
getIpv6InterfaceIdentifier()
Returns the value of the
ipv6InterfaceIdentifier alternative. |
boolean |
hasIpv4Address()
Reports whether the
ipv4Address alternative is selected. |
boolean |
hasIpv4v6()
Reports whether the
ipv4v6 alternative is selected. |
boolean |
hasIpv6InterfaceIdentifier()
Reports whether the
ipv6InterfaceIdentifier alternative is selected. |
void |
setIpv4Address(OctetString ipv4Address)
Selects the
ipv4Address alternative. |
void |
setIpv4v6(PDUAddress_ipv4v6 ipv4v6)
Selects the
ipv4v6 alternative. |
void |
setIpv6InterfaceIdentifier(OctetString ipv6InterfaceIdentifier)
Selects the
ipv6InterfaceIdentifier alternative. |
clone, equals, getChosenFlag, getChosenValue, hashCode
public static final int ipv4Address_chosen
ipv4Address
alternative.public static final int ipv6InterfaceIdentifier_chosen
ipv6InterfaceIdentifier
alternative.public static final int ipv4v6_chosen
ipv4v6
alternative.public static PDUAddress.PduAddressInformation createWithIpv4Address(OctetString ipv4Address)
PduAddressInformation
with the ipv4Address
alternative selected.ipv4Address
- the value of the ipv4Address
alternative.PduAddressInformation
class.public boolean hasIpv4Address()
ipv4Address
alternative is selected.ipv4Address
alternative is selected.public OctetString getIpv4Address()
ipv4Address
alternative.ipv4Address
alternative or null if the
ipv4Address
alternative is not selected.public void setIpv4Address(OctetString ipv4Address)
ipv4Address
alternative.ipv4Address
- the value of the ipv4Address
alternative.public static PDUAddress.PduAddressInformation createWithIpv6InterfaceIdentifier(OctetString ipv6InterfaceIdentifier)
PduAddressInformation
with the ipv6InterfaceIdentifier
alternative selected.ipv6InterfaceIdentifier
- the value of the ipv6InterfaceIdentifier
alternative.PduAddressInformation
class.public boolean hasIpv6InterfaceIdentifier()
ipv6InterfaceIdentifier
alternative is selected.ipv6InterfaceIdentifier
alternative is selected.public OctetString getIpv6InterfaceIdentifier()
ipv6InterfaceIdentifier
alternative.ipv6InterfaceIdentifier
alternative or null if the
ipv6InterfaceIdentifier
alternative is not selected.public void setIpv6InterfaceIdentifier(OctetString ipv6InterfaceIdentifier)
ipv6InterfaceIdentifier
alternative.ipv6InterfaceIdentifier
- the value of the ipv6InterfaceIdentifier
alternative.public static PDUAddress.PduAddressInformation createWithIpv4v6(PDUAddress_ipv4v6 ipv4v6)
PduAddressInformation
with the ipv4v6
alternative selected.ipv4v6
- the value of the ipv4v6
alternative.PduAddressInformation
class.public boolean hasIpv4v6()
ipv4v6
alternative is selected.ipv4v6
alternative is selected.public PDUAddress_ipv4v6 getIpv4v6()
ipv4v6
alternative.ipv4v6
alternative or null if the
ipv4v6
alternative is not selected.public void setIpv4v6(PDUAddress_ipv4v6 ipv4v6)
ipv4v6
alternative.ipv4v6
- the value of the ipv4v6
alternative.Copyright © 2023 OSS Nokalva, Inc. All rights reserved.
This document is proprietary to OSS Nokalva, Inc., and may be used only by their direct licensees. Distribution is not permitted. This copyright statement must not be removed.