Package org.onosproject.net
Class FilteredConnectPoint
- java.lang.Object
-
- org.onosproject.net.FilteredConnectPoint
-
public class FilteredConnectPoint extends java.lang.Object
Connection point with TrafficSelector field.
-
-
Constructor Summary
Constructors Constructor Description FilteredConnectPoint(ConnectPoint connectPoint)
Creates filtered connect point with default traffic selector.FilteredConnectPoint(ConnectPoint connectPoint, TrafficSelector trafficSelector)
Creates new filtered connection point.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectPoint
connectPoint()
Returns the connection point.boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
TrafficSelector
trafficSelector()
Returns the traffic selector for this connect point.
-
-
-
Constructor Detail
-
FilteredConnectPoint
public FilteredConnectPoint(ConnectPoint connectPoint)
Creates filtered connect point with default traffic selector.- Parameters:
connectPoint
- connect point
-
FilteredConnectPoint
public FilteredConnectPoint(ConnectPoint connectPoint, TrafficSelector trafficSelector)
Creates new filtered connection point.- Parameters:
connectPoint
- connect pointtrafficSelector
- traffic selector for this connect point
-
-
Method Detail
-
trafficSelector
public TrafficSelector trafficSelector()
Returns the traffic selector for this connect point.- Returns:
- Traffic selector for this connect point
-
connectPoint
public ConnectPoint connectPoint()
Returns the connection point.- Returns:
- connect point
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-