public class McastRouteGroup extends McastRouteBase
dirty, egressPoints, gaddr, ingressPoint, intentKey, isGroup, saddr| Constructor and Description |
|---|
McastRouteGroup(org.onlab.packet.IpPrefix gpfx)
Create a multicast group.
|
McastRouteGroup(String gaddr)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSource(McastRouteSource src)
Add a new McastRouteSource to this group.
|
McastRouteSource |
findSource(org.onlab.packet.IpPrefix saddr)
Find a specific multicast source address for this group.
|
HashMap<org.onlab.packet.IpPrefix,McastRouteSource> |
getSources()
Return the entire set of multicast sources for this group.
|
McastRouteSource |
removeSource(org.onlab.packet.IpPrefix spfx)
Remove the source with this specific IpPrefix from this group entry.
|
void |
removeSources()
Remove all sources from this.
|
addEgressPoint, addEgressPoint, addEgressPoint, addEgressPoint, addIngressPoint, addIngressPoint, findEgressConnectPoint, getDirty, getEgressConnectPoints, getEgressPoints, getGaddr, getIngressPoint, getIntentKey, getPuntCount, getSaddr, incrementPuntCount, isGroup, isIp4, isIp6, isSource, removeEgressPoint, removeEgressPoint, removeInterest, setDirty, setIntent, setIntent, toString, withdrawIntentpublic McastRouteGroup(String gaddr)
gaddr - - String representation of group address.public McastRouteGroup(org.onlab.packet.IpPrefix gpfx)
gpfx - - Group addresspublic McastRouteSource findSource(org.onlab.packet.IpPrefix saddr)
saddr - the source addresspublic HashMap<org.onlab.packet.IpPrefix,McastRouteSource> getSources()
public void addSource(McastRouteSource src)
src - the multicast sourcepublic McastRouteSource removeSource(org.onlab.packet.IpPrefix spfx)
spfx - IP Prefix of the source to be removedpublic void removeSources()
Copyright © 2015. All rights reserved.