public static interface OFPortMod.Builder extends OFMessage.Builder
Modifier and Type | Method and Description |
---|---|
OFPortMod |
build() |
long |
getAdvertise() |
Set<OFPortConfig> |
getConfig() |
MacAddress |
getHwAddr() |
Set<OFPortConfig> |
getMask() |
OFPort |
getPortNo() |
List<OFPortModProp> |
getProperties() |
OFType |
getType() |
OFVersion |
getVersion() |
long |
getXid() |
OFPortMod.Builder |
setAdvertise(long advertise) |
OFPortMod.Builder |
setConfig(Set<OFPortConfig> config) |
OFPortMod.Builder |
setHwAddr(MacAddress hwAddr) |
OFPortMod.Builder |
setMask(Set<OFPortConfig> mask) |
OFPortMod.Builder |
setPortNo(OFPort portNo) |
OFPortMod.Builder |
setProperties(List<OFPortModProp> properties) |
OFPortMod.Builder |
setXid(long xid) |
OFPortMod build()
build
in interface OFMessage.Builder
OFVersion getVersion()
getVersion
in interface OFMessage.Builder
OFType getType()
getType
in interface OFMessage.Builder
long getXid()
getXid
in interface OFMessage.Builder
OFPortMod.Builder setXid(long xid)
setXid
in interface OFMessage.Builder
OFPort getPortNo()
OFPortMod.Builder setPortNo(OFPort portNo)
MacAddress getHwAddr()
OFPortMod.Builder setHwAddr(MacAddress hwAddr)
Set<OFPortConfig> getConfig()
OFPortMod.Builder setConfig(Set<OFPortConfig> config)
Set<OFPortConfig> getMask()
OFPortMod.Builder setMask(Set<OFPortConfig> mask)
long getAdvertise() throws UnsupportedOperationException
UnsupportedOperationException
OFPortMod.Builder setAdvertise(long advertise) throws UnsupportedOperationException
UnsupportedOperationException
List<OFPortModProp> getProperties() throws UnsupportedOperationException
UnsupportedOperationException
OFPortMod.Builder setProperties(List<OFPortModProp> properties) throws UnsupportedOperationException
UnsupportedOperationException
Copyright © 2017. All rights reserved.