public static class PIMInterface.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PIMInterface |
build()
Builds the PIM interface.
|
PIMInterface.Builder |
withHelloInterval(int helloInterval)
Users the specified hello interval.
|
PIMInterface.Builder |
withHoldTime(short holdTime)
Uses the specified hold time.
|
PIMInterface.Builder |
withInterface(org.onosproject.incubator.net.intf.Interface intf)
Uses the specified ONOS interface.
|
PIMInterface.Builder |
withOverrideInterval(short overrideInterval)
Uses the specified override interval.
|
PIMInterface.Builder |
withPacketService(org.onosproject.net.packet.PacketService packetService)
Sets the reference to the packet service.
|
PIMInterface.Builder |
withPriority(int priority)
Uses the specified DR priority.
|
PIMInterface.Builder |
withPropagationDelay(short propagationDelay)
Uses the specified propagation delay.
|
public PIMInterface.Builder withInterface(org.onosproject.incubator.net.intf.Interface intf)
intf - ONOS interfacepublic PIMInterface.Builder withPacketService(org.onosproject.net.packet.PacketService packetService)
packetService - packet servicepublic PIMInterface.Builder withHelloInterval(int helloInterval)
helloInterval - hello interval in secondspublic PIMInterface.Builder withHoldTime(short holdTime)
holdTime - hold time in secondspublic PIMInterface.Builder withPriority(int priority)
priority - DR prioritypublic PIMInterface.Builder withPropagationDelay(short propagationDelay)
propagationDelay - propagation delay in mspublic PIMInterface.Builder withOverrideInterval(short overrideInterval)
overrideInterval - override interval in mspublic PIMInterface build()
Copyright © 2016. All rights reserved.