public interface FacetService
Facet
s as they relate to datapaths.Modifier and Type | Method and Description |
---|---|
<T extends Facet> |
getFacet(DataPathId dpid,
Class<T> facetClass)
Returns an implementation of the specified facet class, or null if that
facet is not supported by this datapath.
|
<T extends Facet> |
getFacet(DeviceId devId,
Class<T> facetClass)
Returns an implementation of the specified facet class, or null if that
facet is not supported by this device.
|
<T extends Facet> T getFacet(DataPathId dpid, Class<T> facetClass)
T
- Facet typedpid
- datapath IDfacetClass
- the class of the required facet<T extends Facet> T getFacet(DeviceId devId, Class<T> facetClass)
T
- Facet typedevId
- device IDfacetClass
- the class of the required facetCopyright © 2015. All Rights Reserved.