Package org.onosproject.net
Class DataPlaneEntity
- java.lang.Object
- 
- org.onosproject.net.DataPlaneEntity
 
- 
 public class DataPlaneEntity extends Object Generic abstraction to hold dataplane entities.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDataPlaneEntity.TypeTypes of entity.
 - 
Constructor SummaryConstructors Constructor Description DataPlaneEntity(FlowEntry flow)Creates a dataplane entity from a flow entry.DataPlaneEntity(Group group)Creates a dataplane entity from a group entry.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)FlowEntrygetFlowEntry()Returns the flow entry.GroupgetGroupEntry()Returns the group entry.DataPlaneEntity.TypegetType()Returns the type of the entry.inthashCode()StringtoString()
 
- 
- 
- 
Constructor Detail- 
DataPlaneEntitypublic DataPlaneEntity(FlowEntry flow) Creates a dataplane entity from a flow entry.- Parameters:
- flow- the inner flow entry
 
 - 
DataPlaneEntitypublic DataPlaneEntity(Group group) Creates a dataplane entity from a group entry.- Parameters:
- group- the inner group entry
 
 
- 
 - 
Method Detail- 
getFlowEntrypublic FlowEntry getFlowEntry() Returns the flow entry.- Returns:
- the flow entry
 
 - 
getGroupEntrypublic Group getGroupEntry() Returns the group entry.- Returns:
- the group entry
 
 - 
getTypepublic DataPlaneEntity.Type getType() Returns the type of the entry.- Returns:
- the type
 
 
- 
 
-