public static interface OFPortDesc.Builder
Modifier and Type | Method and Description |
---|---|
OFPortDesc |
build() |
Set<OFPortFeatures> |
getAdvertised() |
Set<OFPortConfig> |
getConfig() |
Set<OFPortFeatures> |
getCurr() |
long |
getCurrSpeed() |
MacAddress |
getHwAddr() |
long |
getMaxSpeed() |
String |
getName() |
Set<OFPortFeatures> |
getPeer() |
OFPort |
getPortNo() |
Set<OFPortState> |
getState() |
Set<OFPortFeatures> |
getSupported() |
OFVersion |
getVersion() |
OFPortDesc.Builder |
setAdvertised(Set<OFPortFeatures> advertised) |
OFPortDesc.Builder |
setConfig(Set<OFPortConfig> config) |
OFPortDesc.Builder |
setCurr(Set<OFPortFeatures> curr) |
OFPortDesc.Builder |
setCurrSpeed(long currSpeed) |
OFPortDesc.Builder |
setHwAddr(MacAddress hwAddr) |
OFPortDesc.Builder |
setMaxSpeed(long maxSpeed) |
OFPortDesc.Builder |
setName(String name) |
OFPortDesc.Builder |
setPeer(Set<OFPortFeatures> peer) |
OFPortDesc.Builder |
setPortNo(OFPort portNo) |
OFPortDesc.Builder |
setState(Set<OFPortState> state) |
OFPortDesc.Builder |
setSupported(Set<OFPortFeatures> supported) |
OFPortDesc build()
OFPort getPortNo()
OFPortDesc.Builder setPortNo(OFPort portNo)
MacAddress getHwAddr()
OFPortDesc.Builder setHwAddr(MacAddress hwAddr)
String getName()
OFPortDesc.Builder setName(String name)
Set<OFPortConfig> getConfig()
OFPortDesc.Builder setConfig(Set<OFPortConfig> config)
Set<OFPortState> getState()
OFPortDesc.Builder setState(Set<OFPortState> state)
Set<OFPortFeatures> getCurr()
OFPortDesc.Builder setCurr(Set<OFPortFeatures> curr)
Set<OFPortFeatures> getAdvertised()
OFPortDesc.Builder setAdvertised(Set<OFPortFeatures> advertised)
Set<OFPortFeatures> getSupported()
OFPortDesc.Builder setSupported(Set<OFPortFeatures> supported)
Set<OFPortFeatures> getPeer()
OFPortDesc.Builder setPeer(Set<OFPortFeatures> peer)
long getCurrSpeed() throws UnsupportedOperationException
UnsupportedOperationException
OFPortDesc.Builder setCurrSpeed(long currSpeed) throws UnsupportedOperationException
UnsupportedOperationException
long getMaxSpeed() throws UnsupportedOperationException
UnsupportedOperationException
OFPortDesc.Builder setMaxSpeed(long maxSpeed) throws UnsupportedOperationException
UnsupportedOperationException
OFVersion getVersion()
Copyright © 2014. All rights reserved.