public static final class IPHeader.StrictSourceRouteOption extends IPHeader.RouteOption
m_addrsCODE_END_OF_OPTION_LIST, CODE_LOOSE_SOURCE_ROUTE, CODE_ROUTE_RECORD, CODE_STRICT_SOURCE_ROUTE, m_code| Constructor and Description |
|---|
StrictSourceRouteOption(IPv4Address[] addrs)
Constructs a new instance of the class with the passed addresses used
for the routing.
|
StrictSourceRouteOption(List<IPv4Address> addrs)
Constructs a new instance of the class with the passed addresses used
for the routing.
|
iterator, sizegetOptionClass, getOptionNumber, isOptionCopiedpublic StrictSourceRouteOption(IPv4Address[] addrs)
addrs - The list of addresses for the loose source route.IndexOutOfBoundsException - Thrown if the number of addresses is to large for the
optionpublic StrictSourceRouteOption(List<IPv4Address> addrs)
addrs - The list of addresses for the loose source route.IndexOutOfBoundsException - Thrown if the number of addresses is to large for the
optionCopyright © 2002–2023 The OpenNMS Group, Inc.. All rights reserved.