@Service(value=McastIntentManager.class) public class McastIntentManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.net.intent.IntentService |
intentService |
| Constructor and Description |
|---|
McastIntentManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Active this component.
|
void |
deactivate()
Deactivate this component.
|
static McastIntentManager |
getInstance()
Get instance of this intentManager.
|
org.onosproject.net.intent.SinglePointToMultiPointIntent |
setIntent(org.onosproject.mfwd.impl.McastRoute mroute)
Install the PointToMultipoint forwarding intent.
|
void |
withdrawAllIntents()
Withdraw all intents.
|
void |
withdrawIntent(org.onosproject.mfwd.impl.McastRoute mroute)
Withdraw the intent represented by this route.
|
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.intent.IntentService intentService
@Activate public void activate()
@Deactivate public void deactivate()
public static McastIntentManager getInstance()
public org.onosproject.net.intent.SinglePointToMultiPointIntent setIntent(org.onosproject.mfwd.impl.McastRoute mroute)
mroute - multicast route entrypublic void withdrawIntent(org.onosproject.mfwd.impl.McastRoute mroute)
mroute - the mcast route whose intent we want to removepublic void withdrawAllIntents()
Copyright © 2015. All rights reserved.